Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { APIVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata Metadata `json:"metadata"` Spec Spec `json:"spec"` }
Config holds the configuration variables for config version v1alpha1 ApiVersion and Kind are currently unused, this may change in the future.
type ExpectVersions ¶ added in v0.12.0
type ExpectVersions struct {
Tanka string `json:"tanka,omitempty"`
}
ExpectVersions holds semantic version constraints TODO: extend this to handle more than Tanka
type Metadata ¶
type Metadata struct { Name string `json:"name,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
Metadata is meant for humans and not parsed
type ResourceDefaults ¶ added in v0.12.0
type ResourceDefaults struct { Annotations map[string]string `json:"annotations,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
ResourceDefaults will be inserted in any manifests that tanka processes.
type Spec ¶
type Spec struct { APIServer string `json:"apiServer"` Namespace string `json:"namespace"` DiffStrategy string `json:"diffStrategy,omitempty"` InjectLabels bool `json:"injectLabels,omitempty"` ResourceDefaults ResourceDefaults `json:"resourceDefaults"` ExpectVersions ExpectVersions `json:"expectVersions"` }
Spec defines Kubernetes properties
Click to show internal directories.
Click to hide internal directories.