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.
helm/pkg/ignore
Daniel J. Pritchett 9e6a329545
Adds HIP0019 readme, consolidates on main.debug()
2 years ago
..
testdata Make the `ignore` pkg public again 3 years ago
README.md Adds HIP0019 readme, consolidates on main.debug() 2 years ago
doc.go Make the `ignore` pkg public again 3 years ago
rules.go Fixing all the linting errors 3 years ago
rules_test.go Make the `ignore` pkg public again 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