Documentation ¶
Index ¶
- func AreConfigMapsEqual(configMap corev1.ConfigMap, other corev1.ConfigMap) bool
- func CreateConfigMap(scheme *runtime.Scheme, owner metav1.Object, mods ...configMapModifier) (*corev1.ConfigMap, error)
- type DataModifier
- type Modifier
- type NamespaceModifier
- type Query
- func (query Query) Create(configMap corev1.ConfigMap) error
- func (query Query) CreateOrUpdate(configMap corev1.ConfigMap) error
- func (query Query) Delete(configMap corev1.ConfigMap) error
- func (query Query) Get(objectKey client.ObjectKey) (corev1.ConfigMap, error)
- func (query Query) Update(configMap corev1.ConfigMap) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreConfigMapsEqual ¶
Types ¶
type DataModifier ¶
type DataModifier struct {
// contains filtered or unexported fields
}
func NewConfigMapDataModifier ¶
func NewConfigMapDataModifier(data map[string]string) DataModifier
func (DataModifier) Enabled ¶
func (mod DataModifier) Enabled() bool
type Modifier ¶
type Modifier struct {
// contains filtered or unexported fields
}
func NewModifier ¶
type NamespaceModifier ¶
type NamespaceModifier struct {
// contains filtered or unexported fields
}
func NewNamespaceModifier ¶
func NewNamespaceModifier(namespaceName string) NamespaceModifier
func (NamespaceModifier) Enabled ¶
func (mod NamespaceModifier) Enabled() bool
Click to show internal directories.
Click to hide internal directories.