Documentation
¶
Index ¶
Constants ¶
View Source
const ( MachineUIDLabel = "machinepoollet.ironcore.dev/machine-uid" MachineNamespaceLabel = "machinepoollet.ironcore.dev/machine-namespace" MachineNameLabel = "machinepoollet.ironcore.dev/machine-name" NetworkInterfaceUIDLabel = "machinepoollet.ironcore.dev/nic-uid" NetworkInterfaceNamespaceLabel = "machinepoollet.ironcore.dev/nic-namespace" NetworkInterfaceNameLabel = "machinepoollet.ironcore.dev/nic-name" NetworkUIDLabel = "machinepoollet.ironcore.dev/network-uid" NetworkNamespaceLabel = "machinepoollet.ironcore.dev/network-namespace" NetworkNameLabel = "machinepoollet.ironcore.dev/network-name" NICLabelsAttributeKey = "rawNICLabels" NetworkLabelsAttributeKey = "rawNetworkLabels" MachineGenerationAnnotation = "machinepoollet.ironcore.dev/machine-generation" IRIMachineGenerationAnnotation = "machinepoollet.ironcore.dev/irimachine-generation" NetworkInterfaceMappingAnnotation = "machinepoollet.ironcore.dev/networkinterfacemapping" FieldOwner = "machinepoollet.ironcore.dev/field-owner" MachineFinalizer = "machinepoollet.ironcore.dev/machine" // MachineDownwardAPIPrefix is the prefix for any downward label. MachineDownwardAPIPrefix = "downward-api.machinepoollet.ironcore.dev/" )
Variables ¶
This section is empty.
Functions ¶
func DecodeNetworkInterfaceMapping ¶
func DecodeNetworkInterfaceMapping(nicMappingString string) (map[string]ObjectUIDRef, error)
func EncodeNetworkInterfaceMapping ¶
func EncodeNetworkInterfaceMapping(nicMapping map[string]ObjectUIDRef) (string, error)
EncodeNetworkInterfaceMapping encodes the given network interface mapping to be used as an annotation.
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.