Documentation ¶
Overview ¶
Package alongside provides a mechanism for recording the fact that one object was installed alongside another object as part of the installation of the same operator version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotatable ¶
type Annotator ¶
type Annotator struct{}
Annotator translates installed-alongside references to and from object annotations.
func (Annotator) FromObject ¶
func (a Annotator) FromObject(o Annotatable) []NamespacedName
FromObject returns a slice containing each namespaced name referenced by an alongside annotation on the provided Object.
func (Annotator) ToObject ¶
func (a Annotator) ToObject(o Annotatable, nns []NamespacedName)
ToObject removes all existing alongside annotations on the provided Object and adds one new annotation per entry in the provided slice of namespaced names.
type NamespacedName ¶
NamespacedName is a reference to an object by namespace and name.
Click to show internal directories.
Click to hide internal directories.