Documentation
¶
Overview ¶
Package lint contains tools for linting charts.
Linting is the process of testing charts for errors or warnings regarding formatting, compilation, or standards compliance.
Index ¶
Constants ¶
View Source
const ( // UnknownSev indicates that the severity of the error is unknown, and should not stop processing. UnknownSev = iota // InfoSev indicates information, for example missing values.toml file InfoSev // WarningSev indicates that something does not meet code standards, but will likely function. WarningSev // ErrorSev indicates that something will not likely function. ErrorSev )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
// Severity is one of the *Sev constants
Severity int
// Text contains the message text
Text string
}
Message is a linting output message
func All ¶
All runs all of the available linters on the given base directory.
func Chartfile ¶
Chartfile checks the Chart.yaml file for errors and warnings.
func Templates ¶
Templates lints a chart's templates.
func Values ¶
Values lints a chart's values.toml file.
Source Files
¶
- chartfile.go
- doc.go
- lint.go
- message.go
- template.go
- values.go
Click to show internal directories.
Click to hide internal directories.