Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kuber ¶
type Kuber struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata map[string]string `yaml:"metadata"` Spec Spec `yaml:"spec"` }
Kuber defines struct for generation k3s (kubernetes) file
type MatchLabels ¶
type MatchLabels struct {
App string `yaml:"app"`
}
type Selector ¶
type Selector struct {
MatchLabels MatchLabels `yaml:"matchLabels"`
}
type SpecContainers ¶
type SpecContainers struct {
Containers []Container `yaml:"containers"`
}
type Template ¶
type Template struct { Metadata Metadata `yaml:"metadata"` Spec SpecContainers `yaml:"spec"` }
Click to show internal directories.
Click to hide internal directories.