Documentation
¶
Index ¶
Constants ¶
View Source
const SEPARATOR = "+"
SEPARATOR used while creating resourceNames to store in etcd
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigMap ¶
type ConfigMap struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
MetaData MetaData `yaml:"metadata"`
Data map[string]string `yaml:"data,omitempty"`
}
ConfigMap holds the configuration data for pods to consume
type MetaData ¶
type MetaData struct {
Name string `yaml:"name"`
Namespace string `yaml:"namespace,omitempty"`
Annotations map[string]string `yaml:"annotations,omitempty"`
}
MetaData holds the object Name, Namespace and Annotations
type Secret ¶
type Secret struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
MetaData MetaData `yaml:"metadata"`
Type string `yaml:"type"`
Data map[string]string `yaml:"data"`
}
Secret holds secret data of a certain type
type UpdateOptions ¶
type UpdateOptions struct {
Customization module.Customization
CustomizationContent module.CustomizationContent
ObjectKind string
Resource module.Resource
// contains filtered or unexported fields
}
UpdateOptions
func (*UpdateOptions) MergePatch ¶
func (o *UpdateOptions) MergePatch(original []byte) ([]byte, error)
MergePatch merge the original document with the patch content based on the patch type
Click to show internal directories.
Click to hide internal directories.