Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var YAMLSeparator = regexp.MustCompile("---\n")
Functions ¶
Types ¶
type Manifest ¶
type Manifest struct {
// YAML is the original YAML string
YAML string
// Parsed is the YAML string parsed as a map
Parsed map[string]any
// Name is the name of the manifest
Name string
// Namespace is the Kubernetes namespace this manifest is defined in.
Namespace string
// Kind is the kind of the manifest
Kind string
}
Manifest represents a Kubernetes manifest YAML file
Click to show internal directories.
Click to hide internal directories.