Documentation ¶
Index ¶
- func Chartfile(linter *support.Linter)
- func Dependencies(linter *support.Linter)
- func Templates(linter *support.Linter, values map[string]interface{}, namespace string, ...)
- func Values(linter *support.Linter)
- func ValuesWithOverrides(linter *support.Linter, values map[string]interface{})
- type K8sYamlStruct
- type MetadataError
- type YAMLToJSONParseError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dependencies ¶
Dependencies runs lints against a chart's dependencies
func Templates ¶
func Templates(linter *support.Linter, values map[string]interface{}, namespace string, strict bool)
Templates lints the templates in the Linter.
func Values ¶
Values lints a chart's values.yaml file.
This function is deprecated and will be removed in Helm 4.
func ValuesWithOverrides ¶
ValuesWithOverrides tests the values.yaml file.
If a schema is present in the chart, values are tested against that. Otherwise, they are only tested for well-formedness.
If additional values are supplied, they are coalesced into the values in values.yaml.
Types ¶
type K8sYamlStruct ¶
type K8sYamlStruct struct { APIVersion string `json:"apiVersion"` Kind string Metadata k8sYamlMetadata }
K8sYamlStruct stubs a Kubernetes YAML file.
DEPRECATED: In Helm 4, this will be made a private type, as it is for use only within the rules package.
type MetadataError ¶
type MetadataError struct {
// contains filtered or unexported fields
}
func (*MetadataError) Details ¶
func (err *MetadataError) Details() error
func (*MetadataError) Error ¶
func (err *MetadataError) Error() string
type YAMLToJSONParseError ¶
type YAMLToJSONParseError struct { Line int // contains filtered or unexported fields }
func (*YAMLToJSONParseError) Error ¶
func (err *YAMLToJSONParseError) Error() string
Click to show internal directories.
Click to hide internal directories.