Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IS_YAEGI = false
IS_YAEGI controls whether Main runs. We don't want that in interpreted mode, but do what it in "native Go" mode
Levels provides human readable values for the Level enu,
Functions ¶
Types ¶
type Finding ¶
type Finding struct { // Level of the finding Level Level // Field that is offending Field string // Message in human readable format what happened, and possibly how to fix it Message string // contains filtered or unexported fields }
Finding describes a single thing the Rule found required to be mentioned
type Got ¶
type Got struct {
// contains filtered or unexported fields
}
Got is the result of a manifest.Get call
func GetField ¶
Get returns any nested field of the manifest. It is invoked as m.Get("metadata", "name")
type Klint ¶
type Klint struct {
Rules Rules
}
Klint lints Kubernetes manifests using runtime-loaded rules.
Click to show internal directories.
Click to hide internal directories.