Documentation ¶
Index ¶
Constants ¶
View Source
const ( InstanceUIDLabel = "spherelet.spheric.cloud/instance-uid" InstanceNamespaceLabel = "spherelet.spheric.cloud/instance-namespace" InstanceNameLabel = "spherelet.spheric.cloud/instance-name" InstanceGenerationAnnotation = "spherelet.spheric.cloud/instance-generation" IRIInstanceGenerationAnnotation = "spherelet.spheric.cloud/iriinstance-generation" FieldOwner = "spherelet.spheric.cloud/field-owner" InstanceFinalizer = "spherelet.spheric.cloud/instance" // DownwardAPIPrefix is the prefix for any downward label. DownwardAPIPrefix = "downward-api.spherelet.spheric.cloud/" )
Variables ¶
This section is empty.
Functions ¶
func DownwardAPIAnnotation ¶
DownwardAPIAnnotation makes a downward api annotation name from the given name.
func DownwardAPILabel ¶
DownwardAPILabel makes a downward api label name from the given name.
Types ¶
type ObjectUIDRef ¶
ObjectUIDRef is a name-uid-reference to an object.
func ObjUID ¶
func ObjUID(obj client.Object) ObjectUIDRef
Click to show internal directories.
Click to hide internal directories.