Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotations ¶ added in v1.7.1
Annotations are annotations
func (Annotations) ApplyToObjectMeta ¶ added in v1.7.1
func (a Annotations) ApplyToObjectMeta(t *metav1.ObjectMeta)
ApplyToObjectMeta adds annotations to object meta unless the keys are already defined.
func (Annotations) Merge ¶ added in v1.7.1
func (a Annotations) Merge(with map[string]string) Annotations
Merge returns an Annotations which results from merging the attributes of the original Annotations with the attributes of the supplied one. The supplied Placement's attributes will override the original ones if defined.
type Labels ¶ added in v1.7.1
Labels are label for a given daemons
func (Labels) ApplyToObjectMeta ¶ added in v1.7.1
func (a Labels) ApplyToObjectMeta(t *metav1.ObjectMeta)
ApplyToObjectMeta adds labels to object meta unless the keys are already defined.
func (Labels) Merge ¶ added in v1.7.1
Merge returns a Labels which results from merging the attributes of the original Labels with the attributes of the supplied one. The supplied Labels attributes will override the original ones if defined.
func (Labels) OverwriteApplyToObjectMeta ¶ added in v1.7.9
func (a Labels) OverwriteApplyToObjectMeta(t *metav1.ObjectMeta)
OverwriteApplyToObjectMeta adds labels to object meta, overwriting keys that are already defined.