Documentation ¶
Overview ¶
Package compute is the internal version of the API.
Package compute contains API Schema definitions for the compute internal API group +groupName=compute.ironcore.dev
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func MachineEphemeralNetworkInterfaceName(machineName, machineNicName string) string
- func MachineEphemeralVolumeName(machineName, machineVolumeName string) string
- func MachineNetworkInterfaceName(machineName string, networkInterface NetworkInterface) string
- func MachinePoolCommonName(name string) string
- func MachineSecretNames(machine *Machine) []string
- func MachineVolumeName(machineName string, volume Volume) string
- func MachineVolumeNames(machine *Machine) []string
- func Resource(resource string) schema.GroupResource
- type DaemonEndpoint
- type EFIVar
- type EmptyDiskVolumeSource
- type EphemeralNetworkInterfaceSource
- type EphemeralVolumeSource
- type Machine
- type MachineClass
- type MachineClassList
- type MachineExecOptions
- type MachineList
- type MachinePool
- type MachinePoolAddress
- type MachinePoolAddressType
- type MachinePoolCondition
- type MachinePoolConditionType
- type MachinePoolDaemonEndpoints
- type MachinePoolList
- type MachinePoolSpec
- type MachinePoolState
- type MachinePoolStatus
- type MachineSpec
- type MachineState
- type MachineStatus
- type NetworkInterface
- type NetworkInterfaceSource
- type NetworkInterfaceState
- type NetworkInterfaceStatus
- type Power
- type Volume
- type VolumeSource
- type VolumeState
- type VolumeStatus
Constants ¶
const ( MachineMachinePoolRefNameField = "spec.machinePoolRef.name" MachineMachineClassRefNameField = "spec.machineClassRef.name" // MachinePoolsGroup is the system rbac group all machine pools are in. MachinePoolsGroup = "compute.ironcore.dev:system:machinepools" // MachinePoolUserNamePrefix is the prefix all machine pool users should have. MachinePoolUserNamePrefix = "compute.ironcore.dev:system:machinepool:" )
const DefaultIgnitionKey = "ignition.yaml"
DefaultIgnitionKey is the default key for MachineSpec.UserData.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "compute.ironcore.dev", Version: runtime.APIVersionInternal} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func MachineEphemeralNetworkInterfaceName ¶
MachineEphemeralNetworkInterfaceName returns the name of a NetworkInterface for an ephemeral machine network interface.
func MachineEphemeralVolumeName ¶
MachineEphemeralVolumeName returns the name of a Volume for an ephemeral machine volume.
func MachineNetworkInterfaceName ¶
func MachineNetworkInterfaceName(machineName string, networkInterface NetworkInterface) string
MachineNetworkInterfaceName returns the name of the NetworkInterface for a machine network interface.
func MachinePoolCommonName ¶
MachinePoolCommonName constructs the common name for a certificate of a machine pool user.
func MachineSecretNames ¶
MachineSecretNames returns all secret names of a machine.
func MachineVolumeName ¶
MachineVolumeName returns the name of the Volume for a machine volume.
func MachineVolumeNames ¶
MachineVolumeNames returns all Volume names of a machine.
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type DaemonEndpoint ¶
type DaemonEndpoint struct { // Port number of the given endpoint. Port int32 }
DaemonEndpoint contains information about a single Daemon endpoint.
func (*DaemonEndpoint) DeepCopy ¶
func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint.
func (*DaemonEndpoint) DeepCopyInto ¶
func (in *DaemonEndpoint) DeepCopyInto(out *DaemonEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EFIVar ¶
type EFIVar struct { // Name is the name of the EFIVar. Name string // UUID is the uuid of the EFIVar. UUID string // Value is the value of the EFIVar. Value string }
EFIVar is a variable to pass to EFI while booting up.
func (*EFIVar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFIVar.
func (*EFIVar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmptyDiskVolumeSource ¶
type EmptyDiskVolumeSource struct { // SizeLimit is the total amount of local storage required for this EmptyDisk volume. // The default is nil which means that the limit is undefined. SizeLimit *resource.Quantity }
EmptyDiskVolumeSource is a volume that's offered by the machine pool provider. Usually ephemeral (i.e. deleted when the surrounding entity is deleted), with varying performance characteristics. Potentially not recoverable.
func (*EmptyDiskVolumeSource) DeepCopy ¶
func (in *EmptyDiskVolumeSource) DeepCopy() *EmptyDiskVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDiskVolumeSource.
func (*EmptyDiskVolumeSource) DeepCopyInto ¶
func (in *EmptyDiskVolumeSource) DeepCopyInto(out *EmptyDiskVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EphemeralNetworkInterfaceSource ¶
type EphemeralNetworkInterfaceSource struct { // NetworkInterfaceTemplate is the template definition of the networking.NetworkInterface. NetworkInterfaceTemplate *networking.NetworkInterfaceTemplateSpec }
EphemeralNetworkInterfaceSource is a definition for an ephemeral (i.e. coupled to the lifetime of the surrounding object) networking.NetworkInterface.
func (*EphemeralNetworkInterfaceSource) DeepCopy ¶
func (in *EphemeralNetworkInterfaceSource) DeepCopy() *EphemeralNetworkInterfaceSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralNetworkInterfaceSource.
func (*EphemeralNetworkInterfaceSource) DeepCopyInto ¶
func (in *EphemeralNetworkInterfaceSource) DeepCopyInto(out *EphemeralNetworkInterfaceSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EphemeralVolumeSource ¶
type EphemeralVolumeSource struct { // VolumeTemplate is the template definition of the storage.Volume. VolumeTemplate *storage.VolumeTemplateSpec }
EphemeralVolumeSource is a definition for an ephemeral (i.e. coupled to the lifetime of the surrounding object) storage.Volume.
func (*EphemeralVolumeSource) DeepCopy ¶
func (in *EphemeralVolumeSource) DeepCopy() *EphemeralVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralVolumeSource.
func (*EphemeralVolumeSource) DeepCopyInto ¶
func (in *EphemeralVolumeSource) DeepCopyInto(out *EphemeralVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Machine ¶
type Machine struct { metav1.TypeMeta metav1.ObjectMeta Spec MachineSpec Status MachineStatus }
Machine is the Schema for the machines API
func (*Machine) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.
func (*Machine) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Machine) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineClass ¶
type MachineClass struct { metav1.TypeMeta metav1.ObjectMeta // Capabilities describes the resources a machine class can provide. Capabilities core.ResourceList }
MachineClass is the Schema for the machineclasses API
func (*MachineClass) DeepCopy ¶
func (in *MachineClass) DeepCopy() *MachineClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClass.
func (*MachineClass) DeepCopyInto ¶
func (in *MachineClass) DeepCopyInto(out *MachineClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineClass) DeepCopyObject ¶
func (in *MachineClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineClassList ¶
type MachineClassList struct { metav1.TypeMeta metav1.ListMeta Items []MachineClass }
MachineClassList contains a list of MachineClass
func (*MachineClassList) DeepCopy ¶
func (in *MachineClassList) DeepCopy() *MachineClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClassList.
func (*MachineClassList) DeepCopyInto ¶
func (in *MachineClassList) DeepCopyInto(out *MachineClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineClassList) DeepCopyObject ¶
func (in *MachineClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineExecOptions ¶
MachineExecOptions is the query options to a Machine's remote exec call
func (*MachineExecOptions) DeepCopy ¶
func (in *MachineExecOptions) DeepCopy() *MachineExecOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineExecOptions.
func (*MachineExecOptions) DeepCopyInto ¶
func (in *MachineExecOptions) DeepCopyInto(out *MachineExecOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineExecOptions) DeepCopyObject ¶
func (in *MachineExecOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineList ¶
MachineList contains a list of Machine
func (*MachineList) DeepCopy ¶
func (in *MachineList) DeepCopy() *MachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList.
func (*MachineList) DeepCopyInto ¶
func (in *MachineList) DeepCopyInto(out *MachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineList) DeepCopyObject ¶
func (in *MachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachinePool ¶
type MachinePool struct { metav1.TypeMeta metav1.ObjectMeta Spec MachinePoolSpec Status MachinePoolStatus }
MachinePool is the Schema for the machinepools API
func (*MachinePool) DeepCopy ¶
func (in *MachinePool) DeepCopy() *MachinePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePool.
func (*MachinePool) DeepCopyInto ¶
func (in *MachinePool) DeepCopyInto(out *MachinePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachinePool) DeepCopyObject ¶
func (in *MachinePool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachinePoolAddress ¶
type MachinePoolAddress struct { Type MachinePoolAddressType Address string }
func (*MachinePoolAddress) DeepCopy ¶
func (in *MachinePoolAddress) DeepCopy() *MachinePoolAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolAddress.
func (*MachinePoolAddress) DeepCopyInto ¶
func (in *MachinePoolAddress) DeepCopyInto(out *MachinePoolAddress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachinePoolAddressType ¶
type MachinePoolAddressType string
const ( // MachinePoolHostName identifies a name of the machine pool. Although every machine pool can be assumed // to have a MachinePoolAddress of this type, its exact syntax and semantics are not // defined, and are not consistent between different clusters. MachinePoolHostName MachinePoolAddressType = "Hostname" // MachinePoolInternalIP identifies an IP address which may not be visible to hosts outside the cluster. // By default, it is assumed that ironcore-apiserver can reach machine pool internal IPs, though it is possible // to configure clusters where this is not the case. // // MachinePoolInternalIP is the default type of machine pool IP, and does not necessarily imply // that the IP is ONLY reachable internally. If a machine pool has multiple internal IPs, // no specific semantics are assigned to the additional IPs. MachinePoolInternalIP MachinePoolAddressType = "InternalIP" // MachinePoolExternalIP identifies an IP address which is, in some way, intended to be more usable from outside // the cluster than an internal IP, though no specific semantics are defined. MachinePoolExternalIP MachinePoolAddressType = "ExternalIP" // MachinePoolInternalDNS identifies a DNS name which resolves to an IP address which has // the characteristics of a MachinePoolInternalIP. The IP it resolves to may or may not // be a listed MachinePoolInternalIP address. MachinePoolInternalDNS MachinePoolAddressType = "InternalDNS" // MachinePoolExternalDNS identifies a DNS name which resolves to an IP address which has the characteristics // of MachinePoolExternalIP. The IP it resolves to may or may not be a listed MachineExternalIP address. MachinePoolExternalDNS MachinePoolAddressType = "ExternalDNS" )
type MachinePoolCondition ¶
type MachinePoolCondition struct { // Type is the type of the condition. Type MachinePoolConditionType // Status is the status of the condition. Status corev1.ConditionStatus // Reason is a machine-readable indication of why the condition is in a certain state. Reason string // Message is a human-readable explanation of why the condition has a certain reason / state. Message string // ObservedGeneration represents the .metadata.generation that the condition was set based upon. ObservedGeneration int64 // LastTransitionTime is the last time the status of a condition has transitioned from one state to another. LastTransitionTime metav1.Time }
MachinePoolCondition is one of the conditions of a volume.
func (*MachinePoolCondition) DeepCopy ¶
func (in *MachinePoolCondition) DeepCopy() *MachinePoolCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolCondition.
func (*MachinePoolCondition) DeepCopyInto ¶
func (in *MachinePoolCondition) DeepCopyInto(out *MachinePoolCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachinePoolConditionType ¶
type MachinePoolConditionType string
MachinePoolConditionType is a type a MachinePoolCondition can have.
type MachinePoolDaemonEndpoints ¶
type MachinePoolDaemonEndpoints struct { // Endpoint on which machinepoollet is listening. // +optional MachinepoolletEndpoint DaemonEndpoint }
MachinePoolDaemonEndpoints lists ports opened by daemons running on the MachinePool.
func (*MachinePoolDaemonEndpoints) DeepCopy ¶
func (in *MachinePoolDaemonEndpoints) DeepCopy() *MachinePoolDaemonEndpoints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolDaemonEndpoints.
func (*MachinePoolDaemonEndpoints) DeepCopyInto ¶
func (in *MachinePoolDaemonEndpoints) DeepCopyInto(out *MachinePoolDaemonEndpoints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachinePoolList ¶
type MachinePoolList struct { metav1.TypeMeta metav1.ListMeta Items []MachinePool }
MachinePoolList contains a list of MachinePool
func (*MachinePoolList) DeepCopy ¶
func (in *MachinePoolList) DeepCopy() *MachinePoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolList.
func (*MachinePoolList) DeepCopyInto ¶
func (in *MachinePoolList) DeepCopyInto(out *MachinePoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachinePoolList) DeepCopyObject ¶
func (in *MachinePoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachinePoolSpec ¶
type MachinePoolSpec struct { // ProviderID identifies the MachinePool on provider side. ProviderID string // Taints of the MachinePool. Only Machines who tolerate all the taints // will land in the MachinePool. Taints []commonv1alpha1.Taint }
MachinePoolSpec defines the desired state of MachinePool
func (*MachinePoolSpec) DeepCopy ¶
func (in *MachinePoolSpec) DeepCopy() *MachinePoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolSpec.
func (*MachinePoolSpec) DeepCopyInto ¶
func (in *MachinePoolSpec) DeepCopyInto(out *MachinePoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachinePoolState ¶
type MachinePoolState string
MachinePoolState is a state a MachinePool can be in. +enum
const ( // MachinePoolStateReady marks a MachinePool as ready for accepting a Machine. MachinePoolStateReady MachinePoolState = "Ready" // MachinePoolStatePending marks a MachinePool as pending readiness. MachinePoolStatePending MachinePoolState = "Pending" // MachinePoolStateError marks a MachinePool in an error state. MachinePoolStateError MachinePoolState = "Error" // MachinePoolStateOffline marks a MachinePool as offline. MachinePoolStateOffline MachinePoolState = "Offline" )
type MachinePoolStatus ¶
type MachinePoolStatus struct { State MachinePoolState Conditions []MachinePoolCondition AvailableMachineClasses []corev1.LocalObjectReference Addresses []MachinePoolAddress DaemonEndpoints MachinePoolDaemonEndpoints // Capacity represents the total resources of a machine pool. Capacity core.ResourceList // Allocatable represents the resources of a machine pool that are available for scheduling. Allocatable core.ResourceList }
MachinePoolStatus defines the observed state of MachinePool
func (*MachinePoolStatus) DeepCopy ¶
func (in *MachinePoolStatus) DeepCopy() *MachinePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolStatus.
func (*MachinePoolStatus) DeepCopyInto ¶
func (in *MachinePoolStatus) DeepCopyInto(out *MachinePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpec ¶
type MachineSpec struct { // MachineClassRef is a reference to the machine class/flavor of the machine. MachineClassRef corev1.LocalObjectReference // MachinePoolSelector selects a suitable MachinePoolRef by the given labels. MachinePoolSelector map[string]string // MachinePoolRef defines machine pool to run the machine in. // If empty, a scheduler will figure out an appropriate pool to run the machine in. MachinePoolRef *corev1.LocalObjectReference // Power is the desired machine power state. // Defaults to PowerOn. Power Power // Image is the optional URL providing the operating system image of the machine. Image string // ImagePullSecretRef is an optional secret for pulling the image of a machine. ImagePullSecretRef *corev1.LocalObjectReference // NetworkInterfaces define a list of network interfaces present on the machine NetworkInterfaces []NetworkInterface // Volumes are volumes attached to this machine. Volumes []Volume // IgnitionRef is a reference to a secret containing the ignition YAML for the machine to boot up. // If key is empty, DefaultIgnitionKey will be used as fallback. IgnitionRef *commonv1alpha1.SecretKeySelector // EFIVars are variables to pass to EFI while booting up. EFIVars []EFIVar // Tolerations define tolerations the Machine has. Only MachinePools whose taints // covered by Tolerations will be considered to run the Machine. Tolerations []commonv1alpha1.Toleration }
MachineSpec defines the desired state of Machine
func (*MachineSpec) DeepCopy ¶
func (in *MachineSpec) DeepCopy() *MachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.
func (*MachineSpec) DeepCopyInto ¶
func (in *MachineSpec) DeepCopyInto(out *MachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineState ¶
type MachineState string
MachineState is the state of a machine. +enum
const ( // MachineStatePending means the Machine has been accepted by the system, but not yet completely started. // This includes time before being bound to a MachinePool, as well as time spent setting up the Machine on that // MachinePool. MachineStatePending MachineState = "Pending" // MachineStateRunning means the machine is running on a MachinePool. MachineStateRunning MachineState = "Running" // MachineStateShutdown means the machine is shut down. MachineStateShutdown MachineState = "Shutdown" // MachineStateTerminated means the machine has been permanently stopped and cannot be started. MachineStateTerminated MachineState = "Terminated" // MachineStateTerminating means the machine that is terminating. MachineStateTerminating MachineState = "Terminating" )
type MachineStatus ¶
type MachineStatus struct { // MachineID is the provider specific machine ID in the format '<type>://<machine_id>'. MachineID string // ObservedGeneration is the last generation the MachinePool observed of the Machine. ObservedGeneration int64 // State is the infrastructure state of the machine. State MachineState // NetworkInterfaces is the list of network interface states for the machine. NetworkInterfaces []NetworkInterfaceStatus // Volumes is the list of volume states for the machine. Volumes []VolumeStatus }
MachineStatus defines the observed state of Machine
func (*MachineStatus) DeepCopy ¶
func (in *MachineStatus) DeepCopy() *MachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus.
func (*MachineStatus) DeepCopyInto ¶
func (in *MachineStatus) DeepCopyInto(out *MachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterface ¶
type NetworkInterface struct { // Name is the name of the network interface. Name string // NetworkInterfaceSource is where to obtain the interface from. NetworkInterfaceSource }
NetworkInterface is the definition of a single interface
func (*NetworkInterface) DeepCopy ¶
func (in *NetworkInterface) DeepCopy() *NetworkInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterface.
func (*NetworkInterface) DeepCopyInto ¶
func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterfaceSource ¶
type NetworkInterfaceSource struct { // NetworkInterfaceRef instructs to use the NetworkInterface at the target reference. NetworkInterfaceRef *corev1.LocalObjectReference // Ephemeral instructs to create an ephemeral (i.e. coupled to the lifetime of the surrounding object) // NetworkInterface to use. Ephemeral *EphemeralNetworkInterfaceSource }
func (*NetworkInterfaceSource) DeepCopy ¶
func (in *NetworkInterfaceSource) DeepCopy() *NetworkInterfaceSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSource.
func (*NetworkInterfaceSource) DeepCopyInto ¶
func (in *NetworkInterfaceSource) DeepCopyInto(out *NetworkInterfaceSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterfaceState ¶
type NetworkInterfaceState string
NetworkInterfaceState is the infrastructure attachment state a NetworkInterface can be in.
const ( // NetworkInterfaceStatePending indicates that the attachment of a network interface is pending. NetworkInterfaceStatePending NetworkInterfaceState = "Pending" // NetworkInterfaceStateAttached indicates that a network interface has been successfully attached. NetworkInterfaceStateAttached NetworkInterfaceState = "Attached" )
type NetworkInterfaceStatus ¶
type NetworkInterfaceStatus struct { // Name is the name of the NetworkInterface to whom the status belongs to. Name string // Handle is the MachinePool internal handle of the NetworkInterface. Handle string // IPs are the ips allocated for the network interface. IPs []commonv1alpha1.IP // VirtualIP is the virtual ip allocated for the network interface. VirtualIP *commonv1alpha1.IP // State represents the attachment state of a NetworkInterface. State NetworkInterfaceState // networkInterfaceRef is the reference to the networkinterface attached to the machine NetworkInterfaceRef corev1.LocalObjectReference `json:"networkInterfaceRef,omitempty"` // LastStateTransitionTime is the last time the State transitioned. LastStateTransitionTime *metav1.Time }
NetworkInterfaceStatus reports the status of an NetworkInterfaceSource.
func (*NetworkInterfaceStatus) DeepCopy ¶
func (in *NetworkInterfaceStatus) DeepCopy() *NetworkInterfaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceStatus.
func (*NetworkInterfaceStatus) DeepCopyInto ¶
func (in *NetworkInterfaceStatus) DeepCopyInto(out *NetworkInterfaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Volume ¶
type Volume struct { // Name is the name of the Volume Name string // Device is the device name where the volume should be attached. // Pointer to distinguish between explicit zero and not specified. // If empty, an unused device name will be determined if possible. Device string // VolumeSource is the source where the storage for the Volume resides at. VolumeSource }
Volume defines a volume attachment of a machine
func (*Volume) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSource ¶
type VolumeSource struct { // VolumeRef instructs to use the specified Volume as source for the attachment. VolumeRef *corev1.LocalObjectReference // EmptyDisk instructs to use a Volume offered by the machine pool provider. EmptyDisk *EmptyDiskVolumeSource // Ephemeral instructs to create an ephemeral (i.e. coupled to the lifetime of the surrounding object) // Volume to use. Ephemeral *EphemeralVolumeSource }
VolumeSource specifies the source to use for a Volume.
func (*VolumeSource) DeepCopy ¶
func (in *VolumeSource) DeepCopy() *VolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource.
func (*VolumeSource) DeepCopyInto ¶
func (in *VolumeSource) DeepCopyInto(out *VolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeState ¶
type VolumeState string
VolumeState is the infrastructure attachment state a Volume can be in.
const ( // VolumeStatePending indicates that the attachment of a volume is pending. VolumeStatePending VolumeState = "Pending" // VolumeStateAttached indicates that a volume has been successfully attached. VolumeStateAttached VolumeState = "Attached" )
type VolumeStatus ¶
type VolumeStatus struct { // Name is the name of a volume attachment. Name string // Handle is the MachinePool internal handle of the volume. Handle string // State represents the attachment state of a Volume. State VolumeState // LastStateTransitionTime is the last time the State transitioned. LastStateTransitionTime *metav1.Time //VolumeRef reference to the claimed Volume VolumeRef corev1.LocalObjectReference }
VolumeStatus is the status of a Volume.
func (*VolumeStatus) DeepCopy ¶
func (in *VolumeStatus) DeepCopy() *VolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatus.
func (*VolumeStatus) DeepCopyInto ¶
func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package v1alpha1 is the v1alpha1 version of the API.
|
Package v1alpha1 is the v1alpha1 version of the API. |