v1alpha1

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 3 Imported by: 2 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	MachineUIDLabel       = "machinepoollet.ironcore.dev/machine-uid"
	MachineNamespaceLabel = "machinepoollet.ironcore.dev/machine-namespace"
	MachineNameLabel      = "machinepoollet.ironcore.dev/machine-name"

	VolumeUIDLabel       = "machinepoollet.ironcore.dev/volume-uid"
	VolumeNamespaceLabel = "machinepoollet.ironcore.dev/volume-namespace"
	VolumeNameLabel      = "machinepoollet.ironcore.dev/volume-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"
	VolumeLabelsAttributeKey  = "rawVolumeLabels"

	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

type ObjectUIDRef struct {
	Name string    `json:"name"`
	UID  types.UID `json:"uid"`
}

ObjectUIDRef is a name-uid-reference to an object.

func ObjUID

func ObjUID(obj client.Object) ObjectUIDRef

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL