Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotator ¶
type Annotator interface { // Set the annotation to the object Set(ctx context.Context, val string) error }
Annotator describes somewhich which can add or remove a particular annotation to a kubernetes object.
func NodeAnnotator ¶
func NodeAnnotator(k v1.NodeInterface, nodeName, key string) Annotator
NodeAnnotator returns a new Annotator for a given node and annotation
Click to show internal directories.
Click to hide internal directories.