Documentation ¶
Overview ¶
Package annotations implements utilites for working with annotatoins
Index ¶
- func AddOrUpdateAnnotation(node *v1.Node, annotations map[string]string) (*v1.Node, bool, error)
- func DeleteAnnotation(nodeAnnotations map[string]string, annotations map[string]string) (map[string]string, bool)
- func RemoveAnnotation(node *v1.Node, annotations map[string]string) (*v1.Node, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOrUpdateAnnotation ¶
AddOrUpdateAnnotation tries to add an annotation. Returns a new copy of updated Node and true if something was updated false otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.