mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 years ago | |
|---|---|---|
| .. | ||
| testdata | 3 years ago | |
| README.md | 2 years ago | |
| doc.go | 3 years ago | |
| rules.go | 3 years ago | |
| rules_test.go | 3 years ago | |
README.md
HIP-0019 helm lint ignore file
manual test
go run ./cmd/helm lint ~/repositories/gitlab/chart/ --lint-ignore-file ~/repositories/gitlab/chart/.helmlintignore --with-subcharts --debug
go run ./cmd/helm lint ../gitlab/chart/ --lint-ignore-file ../gitlab/chart/.helmlintignore --with-subcharts --debug
code flow diagram
flowchart LR
classDef lintIgnores fill:#f9f,stroke:#333,stroke-width:4px;
subgraph main["package main"]
Filter:::lintIgnores
root --> cmdHelmLint
cmdHelmLint[cmd/helm/lint.go] --> action
cmdHelmLint[cmd/helm/lint.go] --> lint/rules
cmdHelmLint[cmd/helm/lint.go] --> lint/support
cmdHelmLint --> Filter["FilterIgnoredMessages()"]
cmdHelmLint --> action
end
subgraph action["package action"]
action --> aNewLint["action.NewLint()"]
action --> typeLint["type action.Lint"]
action --> typeLintResult["type action.LintResult"]
end
subgraph lint["package lint"]
subgraph support["package lint/support"]
lint/support
lint/support --> Message["type support.Message"]
end
subgraph rules
parseIgnore:::lintIgnores
lint/rules
lint/rules --> parseIgnore["rules.ParseIgnoreFile()"]
end
end