v1alpha1

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the compute v1alpha1 API group +kubebuilder:object:generate=true +groupName=compute.onmetal.de

Index

Constants

View Source
const DefaultIgnitionKey = "ignition.yaml"

DefaultIgnitionKey is the default key for MachineSpec.UserData.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "compute.onmetal.de", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	// MachineClassFinalizer
	MachineClassFinalizer = GroupVersion.Group + "/machineclass"
)

Functions

func MachineInterfaceIPAMRangeName added in v0.0.9

func MachineInterfaceIPAMRangeName(machineName, ifaceName string) string

Types

type Console added in v0.0.9

type Console struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ConsoleSpec   `json:"spec,omitempty"`
	Status ConsoleStatus `json:"status,omitempty"`
}

Console is the Schema for the consoles API

func (*Console) DeepCopy added in v0.0.9

func (in *Console) DeepCopy() *Console

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Console.

func (*Console) DeepCopyInto added in v0.0.9

func (in *Console) DeepCopyInto(out *Console)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Console) DeepCopyObject added in v0.0.9

func (in *Console) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ConsoleClientConfig added in v0.0.9

type ConsoleClientConfig struct {
	// Service is the service to connect to.
	Service ServiceReference `json:"service"`
}

func (*ConsoleClientConfig) DeepCopy added in v0.0.9

func (in *ConsoleClientConfig) DeepCopy() *ConsoleClientConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleClientConfig.

func (*ConsoleClientConfig) DeepCopyInto added in v0.0.9

func (in *ConsoleClientConfig) DeepCopyInto(out *ConsoleClientConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConsoleList added in v0.0.9

type ConsoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Console `json:"items"`
}

ConsoleList contains a list of Console

func (*ConsoleList) DeepCopy added in v0.0.9

func (in *ConsoleList) DeepCopy() *ConsoleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleList.

func (*ConsoleList) DeepCopyInto added in v0.0.9

func (in *ConsoleList) DeepCopyInto(out *ConsoleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConsoleList) DeepCopyObject added in v0.0.9

func (in *ConsoleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ConsoleSpec added in v0.0.9

type ConsoleSpec struct {
	// MachineRef references the machine to open a console to.
	MachineRef corev1.LocalObjectReference `json:"machineRef"`
}

ConsoleSpec defines the desired state of Console

func (*ConsoleSpec) DeepCopy added in v0.0.9

func (in *ConsoleSpec) DeepCopy() *ConsoleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleSpec.

func (*ConsoleSpec) DeepCopyInto added in v0.0.9

func (in *ConsoleSpec) DeepCopyInto(out *ConsoleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConsoleState added in v0.0.9

type ConsoleState string

ConsoleState is a state a Console can be in.

const (
	ConsoleStatePending ConsoleState = "Pending"
	ConsoleStateReady   ConsoleState = "Ready"
	ConsoleStateError   ConsoleState = "Error"
)

type ConsoleStatus added in v0.0.9

type ConsoleStatus struct {
	// State is the state of a Console.
	State ConsoleState `json:"state,omitempty"`
	// ClientConfig is the client configuration to connect to a console.
	// Only usable if the ConsoleStatus.State is ConsoleStateReady.
	ClientConfig *ConsoleClientConfig `json:"clientConfig,omitempty"`
}

ConsoleStatus defines the observed state of Console

func (*ConsoleStatus) DeepCopy added in v0.0.9

func (in *ConsoleStatus) DeepCopy() *ConsoleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleStatus.

func (*ConsoleStatus) DeepCopyInto added in v0.0.9

func (in *ConsoleStatus) DeepCopyInto(out *ConsoleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EFIVar added in v0.0.9

type EFIVar struct {
	Name  string `json:"name,omitempty"`
	UUID  string `json:"uuid,omitempty"`
	Value string `json:"value"`
}

EFIVar is a variable to pass to EFI while booting up.

func (*EFIVar) DeepCopy added in v0.0.9

func (in *EFIVar) DeepCopy() *EFIVar

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFIVar.

func (*EFIVar) DeepCopyInto added in v0.0.9

func (in *EFIVar) DeepCopyInto(out *EFIVar)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Interface added in v0.0.7

type Interface struct {
	// Name is the name of the interface
	Name string `json:"name"`
	// Target is the referenced resource of this interface.
	Target corev1.LocalObjectReference `json:"target"`
	// Priority is the priority level of this interface
	Priority int32 `json:"priority,omitempty"`
	// IP specifies a concrete IP address which should be allocated from a Subnet
	IP *commonv1alpha1.IP `json:"ip,omitempty"`
}

Interface is the definition of a single interface

func (*Interface) DeepCopy added in v0.0.7

func (in *Interface) DeepCopy() *Interface

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interface.

func (*Interface) DeepCopyInto added in v0.0.7

func (in *Interface) DeepCopyInto(out *Interface)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InterfaceStatus added in v0.0.9

type InterfaceStatus struct {
	// Name is the name of an interface.
	Name string `json:"name"`
	// IP is the IP allocated for an interface.
	IP commonv1alpha1.IP `json:"ip"`
	// Priority is the OS priority of the interface.
	Priority int32 `json:"priority,omitempty"`
}

InterfaceStatus reports the status of an Interface.

func (*InterfaceStatus) DeepCopy added in v0.0.9

func (in *InterfaceStatus) DeepCopy() *InterfaceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceStatus.

func (*InterfaceStatus) DeepCopyInto added in v0.0.9

func (in *InterfaceStatus) DeepCopyInto(out *InterfaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Machine

type Machine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MachineSpec   `json:"spec,omitempty"`
	Status MachineStatus `json:"status,omitempty"`
}

Machine is the Schema for the machines API

func (*Machine) DeepCopy

func (in *Machine) DeepCopy() *Machine

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.

func (*Machine) DeepCopyInto

func (in *Machine) DeepCopyInto(out *Machine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Machine) DeepCopyObject

func (in *Machine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Machine) SetupWebhookWithManager added in v0.0.9

func (m *Machine) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager creates a new webhook which will be started by mgr

func (*Machine) ValidateCreate added in v0.0.9

func (m *Machine) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type Satisfy the interface, thus empty

func (*Machine) ValidateDelete added in v0.0.9

func (r *Machine) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type Satisfy the interface, thus empty

func (*Machine) ValidateUpdate added in v0.0.9

func (m *Machine) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type MachineClass added in v0.0.4

type MachineClass struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MachineClassSpec   `json:"spec,omitempty"`
	Status MachineClassStatus `json:"status,omitempty"`
}

MachineClass is the Schema for the machineclasses API

func (*MachineClass) DeepCopy added in v0.0.4

func (in *MachineClass) DeepCopy() *MachineClass

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClass.

func (*MachineClass) DeepCopyInto added in v0.0.4

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 added in v0.0.4

func (in *MachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineClassList added in v0.0.4

type MachineClassList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MachineClass `json:"items"`
}

MachineClassList contains a list of MachineClass

func (*MachineClassList) DeepCopy added in v0.0.4

func (in *MachineClassList) DeepCopy() *MachineClassList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClassList.

func (*MachineClassList) DeepCopyInto added in v0.0.4

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 added in v0.0.4

func (in *MachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineClassSpec added in v0.0.4

type MachineClassSpec struct {
	// Capabilities describes the resources a machine class can provide.
	Capabilities corev1.ResourceList `json:"capabilities,omitempty"`
}

MachineClassSpec defines the desired state of MachineClass

func (*MachineClassSpec) DeepCopy added in v0.0.4

func (in *MachineClassSpec) DeepCopy() *MachineClassSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClassSpec.

func (*MachineClassSpec) DeepCopyInto added in v0.0.4

func (in *MachineClassSpec) DeepCopyInto(out *MachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineClassStatus added in v0.0.4

type MachineClassStatus struct {
}

MachineClassStatus defines the observed state of MachineClass

func (*MachineClassStatus) DeepCopy added in v0.0.4

func (in *MachineClassStatus) DeepCopy() *MachineClassStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClassStatus.

func (*MachineClassStatus) DeepCopyInto added in v0.0.4

func (in *MachineClassStatus) DeepCopyInto(out *MachineClassStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineCondition added in v0.0.9

type MachineCondition struct {
	// Type is the type of the condition.
	Type MachineConditionType `json:"type"`
	// Status is the status of the condition.
	Status corev1.ConditionStatus `json:"status"`
	// Reason is a machine-readable indication of why the condition is in a certain state.
	Reason string `json:"reason"`
	// Message is a human-readable explanation of why the condition has a certain reason / state.
	Message string `json:"message"`
	// ObservedGeneration represents the .metadata.generation that the condition was set based upon.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// LastUpdateTime is the last time a condition has been updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`
	// LastTransitionTime is the last time the status of a condition has transitioned from one state to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}

MachineCondition is one of the conditions of a volume.

func (*MachineCondition) DeepCopy added in v0.0.9

func (in *MachineCondition) DeepCopy() *MachineCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineCondition.

func (*MachineCondition) DeepCopyInto added in v0.0.9

func (in *MachineCondition) DeepCopyInto(out *MachineCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineConditionType added in v0.0.9

type MachineConditionType string

MachineConditionType is a type a MachineCondition can have.

const (
	// MachineSynced represents the condition of a machine being synced with its backing resources
	MachineSynced MachineConditionType = "Synced"
)

type MachineList

type MachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Machine `json:"items"`
}

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 added in v0.0.4

type MachinePool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MachinePoolSpec   `json:"spec,omitempty"`
	Status MachinePoolStatus `json:"status,omitempty"`
}

MachinePool is the Schema for the machinepools API

func (*MachinePool) DeepCopy added in v0.0.4

func (in *MachinePool) DeepCopy() *MachinePool

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePool.

func (*MachinePool) DeepCopyInto added in v0.0.4

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 added in v0.0.4

func (in *MachinePool) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachinePoolCondition added in v0.0.9

type MachinePoolCondition struct {
	// Type is the type of the condition.
	Type MachinePoolConditionType `json:"type"`
	// Status is the status of the condition.
	Status corev1.ConditionStatus `json:"status"`
	// Reason is a machine-readable indication of why the condition is in a certain state.
	Reason string `json:"reason"`
	// Message is a human-readable explanation of why the condition has a certain reason / state.
	Message string `json:"message"`
	// ObservedGeneration represents the .metadata.generation that the condition was set based upon.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// LastUpdateTime is the last time a condition has been updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`
	// LastTransitionTime is the last time the status of a condition has transitioned from one state to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}

MachinePoolCondition is one of the conditions of a volume.

func (*MachinePoolCondition) DeepCopy added in v0.0.9

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolCondition.

func (*MachinePoolCondition) DeepCopyInto added in v0.0.9

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 added in v0.0.9

type MachinePoolConditionType string

MachinePoolConditionType is a type a MachinePoolCondition can have.

type MachinePoolList added in v0.0.4

type MachinePoolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MachinePool `json:"items"`
}

MachinePoolList contains a list of MachinePool

func (*MachinePoolList) DeepCopy added in v0.0.4

func (in *MachinePoolList) DeepCopy() *MachinePoolList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolList.

func (*MachinePoolList) DeepCopyInto added in v0.0.4

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 added in v0.0.4

func (in *MachinePoolList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachinePoolSpec added in v0.0.4

type MachinePoolSpec struct {
	// ProviderID identifies the MachinePool on provider side.
	ProviderID string `json:"providerID"`
	// Taints of the MachinePool. Only Machines who tolerate all the taints
	// will land in the MachinePool.
	Taints []commonv1alpha1.Taint `json:"taints,omitempty"`
}

MachinePoolSpec defines the desired state of MachinePool

func (*MachinePoolSpec) DeepCopy added in v0.0.4

func (in *MachinePoolSpec) DeepCopy() *MachinePoolSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolSpec.

func (*MachinePoolSpec) DeepCopyInto added in v0.0.4

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 added in v0.0.9

type MachinePoolState string

MachinePoolState is a state a MachinePool can be in.

const (
	MachinePoolStateReady   MachinePoolState = "Ready"
	MachinePoolStatePending MachinePoolState = "Pending"
	MachinePoolStateError   MachinePoolState = "Error"
	MachinePoolStateOffline MachinePoolState = "Offline"
)

type MachinePoolStatus added in v0.0.4

type MachinePoolStatus struct {
	State                   MachinePoolState              `json:"state,omitempty"`
	Conditions              []MachinePoolCondition        `json:"conditions,omitempty"`
	AvailableMachineClasses []corev1.LocalObjectReference `json:"availableMachineClasses,omitempty"`
}

MachinePoolStatus defines the observed state of MachinePool

func (*MachinePoolStatus) DeepCopy added in v0.0.4

func (in *MachinePoolStatus) DeepCopy() *MachinePoolStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolStatus.

func (*MachinePoolStatus) DeepCopyInto added in v0.0.4

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 {
	// Hostname is the hostname of the machine
	Hostname string `json:"hostname"`
	// MachineClass is a reference to the machine class/flavor of the machine.
	MachineClass corev1.LocalObjectReference `json:"machineClass"`
	// MachinePoolSelector selects a suitable MachinePool by the given labels.
	MachinePoolSelector map[string]string `json:"machinePoolSelector,omitempty"`
	// MachinePool defines machine pool to run the machine in.
	// If empty, a scheduler will figure out an appropriate pool to run the machine in.
	MachinePool corev1.LocalObjectReference `json:"machinePool,omitempty"`
	// Image is the URL providing the operating system image of the machine.
	Image string `json:"image"`
	// SSHPublicKeys is a list of SSH public key secret references of a machine.
	SSHPublicKeys []commonv1alpha1.SecretKeySelector `json:"sshPublicKeys,omitempty"`
	// Interfaces define a list of network interfaces present on the machine
	Interfaces []Interface `json:"interfaces,omitempty"`
	// SecurityGroups is a list of security groups of a machine
	SecurityGroups []corev1.LocalObjectReference `json:"securityGroups,omitempty"`
	// VolumeAttachments are volumes attached to this machine.
	VolumeAttachments []VolumeAttachment `json:"volumeAttachments,omitempty"`
	// Ignition is a reference to a config map containing the ignition YAML for the machine to boot up.
	// If key is empty, DefaultIgnitionKey will be used as fallback.
	Ignition *commonv1alpha1.ConfigMapKeySelector `json:"ignition,omitempty"`
	// EFIVars are variables to pass to EFI while booting up.
	EFIVars []EFIVar `json:"efiVars,omitempty"`
	// Tolerations define tolerations the Machine has. Only MachinePools whose taints
	// covered by Tolerations will be considered to run the Machine.
	Tolerations []commonv1alpha1.Toleration `json:"tolerations,omitempty"`
}

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 added in v0.0.9

type MachineState string
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  MachineState = "Running"
	MachineStateShutdown MachineState = "Shutdown"
	MachineStateError    MachineState = "Error"
	MachineStateInitial  MachineState = "Initial"
)

type MachineStatus

type MachineStatus struct {
	State             MachineState             `json:"state,omitempty"`
	Conditions        []MachineCondition       `json:"conditions,omitempty"`
	Interfaces        []InterfaceStatus        `json:"interfaces,omitempty"`
	VolumeAttachments []VolumeAttachmentStatus `json:"volumeAttachments,omitempty"`
}

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 RetainPolicy added in v0.0.5

type RetainPolicy string
const (
	RetainPolicyDeleteOnTermination RetainPolicy = "DeleteOnTermination"
	RetainPolicyPersistent          RetainPolicy = "Persistent"
)

type ServiceReference added in v0.0.9

type ServiceReference struct {
	// Name of the referenced service.
	Name string `json:"name"`
	// `path` is an optional URL path which will be sent in any request to
	// this service.
	// +optional
	Path *string `json:"path,omitempty"`
	// Port on the service hosting the console.
	// Defaults to 443 for backward compatibility.
	// `port` should be a valid port number (1-65535, inclusive).
	Port *int32 `json:"port,omitempty"`
}

ServiceReference is a reference to a Service in the same namespace as the referent.

func (*ServiceReference) DeepCopy added in v0.0.9

func (in *ServiceReference) DeepCopy() *ServiceReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.

func (*ServiceReference) DeepCopyInto added in v0.0.9

func (in *ServiceReference) DeepCopyInto(out *ServiceReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeAttachment added in v0.0.9

type VolumeAttachment struct {
	// Name is the name of the VolumeAttachment
	Name string `json:"name"`
	// Priority is the OS priority of the volume.
	Priority int32 `json:"priority,omitempty"`
	// VolumeRef is a reference to an existing volume
	VolumeRef corev1.LocalObjectReference `json:"volumeRef,omitempty"`
}

VolumeAttachment defines a volume attachment of a machine

func (*VolumeAttachment) DeepCopy added in v0.0.9

func (in *VolumeAttachment) DeepCopy() *VolumeAttachment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.

func (*VolumeAttachment) DeepCopyInto added in v0.0.9

func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeAttachmentStatus added in v0.0.9

type VolumeAttachmentStatus struct {
	// Name is the name of a volume attachment.
	Name string `json:"name"`
	// Priority is the OS priority of the volume.
	Priority int32 `json:"priority,omitempty"`
}

VolumeAttachmentStatus is the status of a VolumeAttachment.

func (*VolumeAttachmentStatus) DeepCopy added in v0.0.9

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.

func (*VolumeAttachmentStatus) DeepCopyInto added in v0.0.9

func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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