v1alpha1

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

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

Index

Constants

View Source
const DefaultIgnitionKey = "ignition.yaml"

DefaultIgnitionKey is the default key for MachineSpec.UserData.

Variables

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

	// 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
)
View Source
var (
	// MachineClassFinalizer is the finalizer for MachineClass.
	MachineClassFinalizer = SchemeGroupVersion.Group + "/machineclass"
)

Functions

func Convert_compute_EFIVar_To_v1alpha1_EFIVar added in v0.0.10

func Convert_compute_EFIVar_To_v1alpha1_EFIVar(in *compute.EFIVar, out *EFIVar, s conversion.Scope) error

Convert_compute_EFIVar_To_v1alpha1_EFIVar is an autogenerated conversion function.

func Convert_compute_EmptyDiskVolumeSource_To_v1alpha1_EmptyDiskVolumeSource added in v0.0.11

func Convert_compute_EmptyDiskVolumeSource_To_v1alpha1_EmptyDiskVolumeSource(in *compute.EmptyDiskVolumeSource, out *EmptyDiskVolumeSource, s conversion.Scope) error

Convert_compute_EmptyDiskVolumeSource_To_v1alpha1_EmptyDiskVolumeSource is an autogenerated conversion function.

func Convert_compute_EphemeralNetworkInterfaceSource_To_v1alpha1_EphemeralNetworkInterfaceSource added in v0.0.10

func Convert_compute_EphemeralNetworkInterfaceSource_To_v1alpha1_EphemeralNetworkInterfaceSource(in *compute.EphemeralNetworkInterfaceSource, out *EphemeralNetworkInterfaceSource, s conversion.Scope) error

Convert_compute_EphemeralNetworkInterfaceSource_To_v1alpha1_EphemeralNetworkInterfaceSource is an autogenerated conversion function.

func Convert_compute_EphemeralVolumeSource_To_v1alpha1_EphemeralVolumeSource added in v0.0.12

func Convert_compute_EphemeralVolumeSource_To_v1alpha1_EphemeralVolumeSource(in *compute.EphemeralVolumeSource, out *EphemeralVolumeSource, s conversion.Scope) error

Convert_compute_EphemeralVolumeSource_To_v1alpha1_EphemeralVolumeSource is an autogenerated conversion function.

func Convert_compute_MachineClassList_To_v1alpha1_MachineClassList added in v0.0.10

func Convert_compute_MachineClassList_To_v1alpha1_MachineClassList(in *compute.MachineClassList, out *MachineClassList, s conversion.Scope) error

Convert_compute_MachineClassList_To_v1alpha1_MachineClassList is an autogenerated conversion function.

func Convert_compute_MachineClass_To_v1alpha1_MachineClass added in v0.0.10

func Convert_compute_MachineClass_To_v1alpha1_MachineClass(in *compute.MachineClass, out *MachineClass, s conversion.Scope) error

Convert_compute_MachineClass_To_v1alpha1_MachineClass is an autogenerated conversion function.

func Convert_compute_MachineCondition_To_v1alpha1_MachineCondition added in v0.0.10

func Convert_compute_MachineCondition_To_v1alpha1_MachineCondition(in *compute.MachineCondition, out *MachineCondition, s conversion.Scope) error

Convert_compute_MachineCondition_To_v1alpha1_MachineCondition is an autogenerated conversion function.

func Convert_compute_MachineList_To_v1alpha1_MachineList added in v0.0.10

func Convert_compute_MachineList_To_v1alpha1_MachineList(in *compute.MachineList, out *MachineList, s conversion.Scope) error

Convert_compute_MachineList_To_v1alpha1_MachineList is an autogenerated conversion function.

func Convert_compute_MachinePoolCondition_To_v1alpha1_MachinePoolCondition added in v0.0.10

func Convert_compute_MachinePoolCondition_To_v1alpha1_MachinePoolCondition(in *compute.MachinePoolCondition, out *MachinePoolCondition, s conversion.Scope) error

Convert_compute_MachinePoolCondition_To_v1alpha1_MachinePoolCondition is an autogenerated conversion function.

func Convert_compute_MachinePoolList_To_v1alpha1_MachinePoolList added in v0.0.10

func Convert_compute_MachinePoolList_To_v1alpha1_MachinePoolList(in *compute.MachinePoolList, out *MachinePoolList, s conversion.Scope) error

Convert_compute_MachinePoolList_To_v1alpha1_MachinePoolList is an autogenerated conversion function.

func Convert_compute_MachinePoolSpec_To_v1alpha1_MachinePoolSpec added in v0.0.10

func Convert_compute_MachinePoolSpec_To_v1alpha1_MachinePoolSpec(in *compute.MachinePoolSpec, out *MachinePoolSpec, s conversion.Scope) error

Convert_compute_MachinePoolSpec_To_v1alpha1_MachinePoolSpec is an autogenerated conversion function.

func Convert_compute_MachinePoolStatus_To_v1alpha1_MachinePoolStatus added in v0.0.10

func Convert_compute_MachinePoolStatus_To_v1alpha1_MachinePoolStatus(in *compute.MachinePoolStatus, out *MachinePoolStatus, s conversion.Scope) error

Convert_compute_MachinePoolStatus_To_v1alpha1_MachinePoolStatus is an autogenerated conversion function.

func Convert_compute_MachinePool_To_v1alpha1_MachinePool added in v0.0.10

func Convert_compute_MachinePool_To_v1alpha1_MachinePool(in *compute.MachinePool, out *MachinePool, s conversion.Scope) error

Convert_compute_MachinePool_To_v1alpha1_MachinePool is an autogenerated conversion function.

func Convert_compute_MachineSpec_To_v1alpha1_MachineSpec added in v0.0.10

func Convert_compute_MachineSpec_To_v1alpha1_MachineSpec(in *compute.MachineSpec, out *MachineSpec, s conversion.Scope) error

Convert_compute_MachineSpec_To_v1alpha1_MachineSpec is an autogenerated conversion function.

func Convert_compute_MachineStatus_To_v1alpha1_MachineStatus added in v0.0.10

func Convert_compute_MachineStatus_To_v1alpha1_MachineStatus(in *compute.MachineStatus, out *MachineStatus, s conversion.Scope) error

Convert_compute_MachineStatus_To_v1alpha1_MachineStatus is an autogenerated conversion function.

func Convert_compute_Machine_To_v1alpha1_Machine added in v0.0.10

func Convert_compute_Machine_To_v1alpha1_Machine(in *compute.Machine, out *Machine, s conversion.Scope) error

Convert_compute_Machine_To_v1alpha1_Machine is an autogenerated conversion function.

func Convert_compute_NetworkInterfaceSource_To_v1alpha1_NetworkInterfaceSource added in v0.0.10

func Convert_compute_NetworkInterfaceSource_To_v1alpha1_NetworkInterfaceSource(in *compute.NetworkInterfaceSource, out *NetworkInterfaceSource, s conversion.Scope) error

Convert_compute_NetworkInterfaceSource_To_v1alpha1_NetworkInterfaceSource is an autogenerated conversion function.

func Convert_compute_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus added in v0.0.10

func Convert_compute_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus(in *compute.NetworkInterfaceStatus, out *NetworkInterfaceStatus, s conversion.Scope) error

Convert_compute_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus is an autogenerated conversion function.

func Convert_compute_NetworkInterface_To_v1alpha1_NetworkInterface added in v0.0.10

func Convert_compute_NetworkInterface_To_v1alpha1_NetworkInterface(in *compute.NetworkInterface, out *NetworkInterface, s conversion.Scope) error

Convert_compute_NetworkInterface_To_v1alpha1_NetworkInterface is an autogenerated conversion function.

func Convert_compute_VolumeSource_To_v1alpha1_VolumeSource added in v0.0.10

func Convert_compute_VolumeSource_To_v1alpha1_VolumeSource(in *compute.VolumeSource, out *VolumeSource, s conversion.Scope) error

Convert_compute_VolumeSource_To_v1alpha1_VolumeSource is an autogenerated conversion function.

func Convert_compute_VolumeStatus_To_v1alpha1_VolumeStatus added in v0.0.10

func Convert_compute_VolumeStatus_To_v1alpha1_VolumeStatus(in *compute.VolumeStatus, out *VolumeStatus, s conversion.Scope) error

Convert_compute_VolumeStatus_To_v1alpha1_VolumeStatus is an autogenerated conversion function.

func Convert_compute_Volume_To_v1alpha1_Volume added in v0.0.10

func Convert_compute_Volume_To_v1alpha1_Volume(in *compute.Volume, out *Volume, s conversion.Scope) error

Convert_compute_Volume_To_v1alpha1_Volume is an autogenerated conversion function.

func Convert_v1alpha1_EFIVar_To_compute_EFIVar added in v0.0.10

func Convert_v1alpha1_EFIVar_To_compute_EFIVar(in *EFIVar, out *compute.EFIVar, s conversion.Scope) error

Convert_v1alpha1_EFIVar_To_compute_EFIVar is an autogenerated conversion function.

func Convert_v1alpha1_EmptyDiskVolumeSource_To_compute_EmptyDiskVolumeSource added in v0.0.11

func Convert_v1alpha1_EmptyDiskVolumeSource_To_compute_EmptyDiskVolumeSource(in *EmptyDiskVolumeSource, out *compute.EmptyDiskVolumeSource, s conversion.Scope) error

Convert_v1alpha1_EmptyDiskVolumeSource_To_compute_EmptyDiskVolumeSource is an autogenerated conversion function.

func Convert_v1alpha1_EphemeralNetworkInterfaceSource_To_compute_EphemeralNetworkInterfaceSource added in v0.0.10

func Convert_v1alpha1_EphemeralNetworkInterfaceSource_To_compute_EphemeralNetworkInterfaceSource(in *EphemeralNetworkInterfaceSource, out *compute.EphemeralNetworkInterfaceSource, s conversion.Scope) error

Convert_v1alpha1_EphemeralNetworkInterfaceSource_To_compute_EphemeralNetworkInterfaceSource is an autogenerated conversion function.

func Convert_v1alpha1_EphemeralVolumeSource_To_compute_EphemeralVolumeSource added in v0.0.12

func Convert_v1alpha1_EphemeralVolumeSource_To_compute_EphemeralVolumeSource(in *EphemeralVolumeSource, out *compute.EphemeralVolumeSource, s conversion.Scope) error

Convert_v1alpha1_EphemeralVolumeSource_To_compute_EphemeralVolumeSource is an autogenerated conversion function.

func Convert_v1alpha1_MachineClassList_To_compute_MachineClassList added in v0.0.10

func Convert_v1alpha1_MachineClassList_To_compute_MachineClassList(in *MachineClassList, out *compute.MachineClassList, s conversion.Scope) error

Convert_v1alpha1_MachineClassList_To_compute_MachineClassList is an autogenerated conversion function.

func Convert_v1alpha1_MachineClass_To_compute_MachineClass added in v0.0.10

func Convert_v1alpha1_MachineClass_To_compute_MachineClass(in *MachineClass, out *compute.MachineClass, s conversion.Scope) error

Convert_v1alpha1_MachineClass_To_compute_MachineClass is an autogenerated conversion function.

func Convert_v1alpha1_MachineCondition_To_compute_MachineCondition added in v0.0.10

func Convert_v1alpha1_MachineCondition_To_compute_MachineCondition(in *MachineCondition, out *compute.MachineCondition, s conversion.Scope) error

Convert_v1alpha1_MachineCondition_To_compute_MachineCondition is an autogenerated conversion function.

func Convert_v1alpha1_MachineList_To_compute_MachineList added in v0.0.10

func Convert_v1alpha1_MachineList_To_compute_MachineList(in *MachineList, out *compute.MachineList, s conversion.Scope) error

Convert_v1alpha1_MachineList_To_compute_MachineList is an autogenerated conversion function.

func Convert_v1alpha1_MachinePoolCondition_To_compute_MachinePoolCondition added in v0.0.10

func Convert_v1alpha1_MachinePoolCondition_To_compute_MachinePoolCondition(in *MachinePoolCondition, out *compute.MachinePoolCondition, s conversion.Scope) error

Convert_v1alpha1_MachinePoolCondition_To_compute_MachinePoolCondition is an autogenerated conversion function.

func Convert_v1alpha1_MachinePoolList_To_compute_MachinePoolList added in v0.0.10

func Convert_v1alpha1_MachinePoolList_To_compute_MachinePoolList(in *MachinePoolList, out *compute.MachinePoolList, s conversion.Scope) error

Convert_v1alpha1_MachinePoolList_To_compute_MachinePoolList is an autogenerated conversion function.

func Convert_v1alpha1_MachinePoolSpec_To_compute_MachinePoolSpec added in v0.0.10

func Convert_v1alpha1_MachinePoolSpec_To_compute_MachinePoolSpec(in *MachinePoolSpec, out *compute.MachinePoolSpec, s conversion.Scope) error

Convert_v1alpha1_MachinePoolSpec_To_compute_MachinePoolSpec is an autogenerated conversion function.

func Convert_v1alpha1_MachinePoolStatus_To_compute_MachinePoolStatus added in v0.0.10

func Convert_v1alpha1_MachinePoolStatus_To_compute_MachinePoolStatus(in *MachinePoolStatus, out *compute.MachinePoolStatus, s conversion.Scope) error

Convert_v1alpha1_MachinePoolStatus_To_compute_MachinePoolStatus is an autogenerated conversion function.

func Convert_v1alpha1_MachinePool_To_compute_MachinePool added in v0.0.10

func Convert_v1alpha1_MachinePool_To_compute_MachinePool(in *MachinePool, out *compute.MachinePool, s conversion.Scope) error

Convert_v1alpha1_MachinePool_To_compute_MachinePool is an autogenerated conversion function.

func Convert_v1alpha1_MachineSpec_To_compute_MachineSpec added in v0.0.10

func Convert_v1alpha1_MachineSpec_To_compute_MachineSpec(in *MachineSpec, out *compute.MachineSpec, s conversion.Scope) error

Convert_v1alpha1_MachineSpec_To_compute_MachineSpec is an autogenerated conversion function.

func Convert_v1alpha1_MachineStatus_To_compute_MachineStatus added in v0.0.10

func Convert_v1alpha1_MachineStatus_To_compute_MachineStatus(in *MachineStatus, out *compute.MachineStatus, s conversion.Scope) error

Convert_v1alpha1_MachineStatus_To_compute_MachineStatus is an autogenerated conversion function.

func Convert_v1alpha1_Machine_To_compute_Machine added in v0.0.10

func Convert_v1alpha1_Machine_To_compute_Machine(in *Machine, out *compute.Machine, s conversion.Scope) error

Convert_v1alpha1_Machine_To_compute_Machine is an autogenerated conversion function.

func Convert_v1alpha1_NetworkInterfaceSource_To_compute_NetworkInterfaceSource added in v0.0.10

func Convert_v1alpha1_NetworkInterfaceSource_To_compute_NetworkInterfaceSource(in *NetworkInterfaceSource, out *compute.NetworkInterfaceSource, s conversion.Scope) error

Convert_v1alpha1_NetworkInterfaceSource_To_compute_NetworkInterfaceSource is an autogenerated conversion function.

func Convert_v1alpha1_NetworkInterfaceStatus_To_compute_NetworkInterfaceStatus added in v0.0.10

func Convert_v1alpha1_NetworkInterfaceStatus_To_compute_NetworkInterfaceStatus(in *NetworkInterfaceStatus, out *compute.NetworkInterfaceStatus, s conversion.Scope) error

Convert_v1alpha1_NetworkInterfaceStatus_To_compute_NetworkInterfaceStatus is an autogenerated conversion function.

func Convert_v1alpha1_NetworkInterface_To_compute_NetworkInterface added in v0.0.10

func Convert_v1alpha1_NetworkInterface_To_compute_NetworkInterface(in *NetworkInterface, out *compute.NetworkInterface, s conversion.Scope) error

Convert_v1alpha1_NetworkInterface_To_compute_NetworkInterface is an autogenerated conversion function.

func Convert_v1alpha1_VolumeSource_To_compute_VolumeSource added in v0.0.10

func Convert_v1alpha1_VolumeSource_To_compute_VolumeSource(in *VolumeSource, out *compute.VolumeSource, s conversion.Scope) error

Convert_v1alpha1_VolumeSource_To_compute_VolumeSource is an autogenerated conversion function.

func Convert_v1alpha1_VolumeStatus_To_compute_VolumeStatus added in v0.0.10

func Convert_v1alpha1_VolumeStatus_To_compute_VolumeStatus(in *VolumeStatus, out *compute.VolumeStatus, s conversion.Scope) error

Convert_v1alpha1_VolumeStatus_To_compute_VolumeStatus is an autogenerated conversion function.

func Convert_v1alpha1_Volume_To_compute_Volume added in v0.0.10

func Convert_v1alpha1_Volume_To_compute_Volume(in *Volume, out *compute.Volume, s conversion.Scope) error

Convert_v1alpha1_Volume_To_compute_Volume is an autogenerated conversion function.

func RegisterConversions added in v0.0.10

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults added in v0.0.10

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource added in v0.0.10

func Resource(resource string) schema.GroupResource

Types

type EFIVar added in v0.0.9

type EFIVar struct {
	// Name is the name of the EFIVar.
	Name string `json:"name"`
	// UUID is the uuid of the EFIVar.
	UUID string `json:"uuid"`
	// Value is the value of the EFIVar.
	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 EmptyDiskVolumeSource added in v0.0.11

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 `json:"sizeLimit,omitempty"`
}

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

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

func (*EmptyDiskVolumeSource) DeepCopyInto added in v0.0.11

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

type EphemeralNetworkInterfaceSource struct {
	// NetworkInterfaceTemplate is the template definition of the networking.NetworkInterface.
	NetworkInterfaceTemplate *networkingv1alpha1.NetworkInterfaceTemplateSpec `json:"networkInterfaceTemplate,omitempty"`
}

EphemeralNetworkInterfaceSource is a definition for an ephemeral (i.e. coupled to the lifetime of the surrounding object) networking.NetworkInterface.

func (*EphemeralNetworkInterfaceSource) DeepCopy added in v0.0.10

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

func (*EphemeralNetworkInterfaceSource) DeepCopyInto added in v0.0.10

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

type EphemeralVolumeSource added in v0.0.12

type EphemeralVolumeSource struct {
	// VolumeTemplate is the template definition of the storage.Volume.
	VolumeTemplate *storagev1alpha1.VolumeTemplateSpec `json:"volumeTemplate,omitempty"`
}

EphemeralVolumeSource is a definition for an ephemeral (i.e. coupled to the lifetime of the surrounding object) storage.Volume.

func (*EphemeralVolumeSource) DeepCopy added in v0.0.12

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

func (*EphemeralVolumeSource) DeepCopyInto added in v0.0.12

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   `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.

type MachineClass added in v0.0.4

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

	Capabilities corev1.ResourceList `json:"capabilities,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 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,omitempty"`
	// Message is a human-readable explanation of why the condition has a certain reason / state.
	Message string `json:"message,omitempty"`
	// ObservedGeneration represents the .metadata.generation that the condition was set based upon.
	ObservedGeneration int64 `json:"observedGeneration,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"`
	// 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. +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 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 {
	// MachineClassRef is a reference to the machine class/flavor of the machine.
	MachineClassRef corev1.LocalObjectReference `json:"machineClassRef"`
	// MachinePoolSelector selects a suitable MachinePoolRef by the given labels.
	MachinePoolSelector map[string]string `json:"machinePoolSelector,omitempty"`
	// 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 `json:"machinePoolRef,omitempty"`
	// Image is the URL providing the operating system image of the machine.
	Image string `json:"image"`
	// ImagePullSecretRef is an optional secret for pulling the image of a machine.
	ImagePullSecretRef *corev1.LocalObjectReference `json:"imagePullSecret,omitempty"`
	// NetworkInterfaces define a list of network interfaces present on the machine
	NetworkInterfaces []NetworkInterface `json:"networkInterfaces,omitempty"`
	// Volumes are volumes attached to this machine.
	Volumes []Volume `json:"volumes,omitempty"`
	// IgnitionRef 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.
	IgnitionRef *commonv1alpha1.ConfigMapKeySelector `json:"ignitionRef,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

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"
	// MachineStateError means the machine is in an error state.
	MachineStateError MachineState = "Error"
)

type MachineStatus

type MachineStatus struct {
	// State is the state of the machine.
	State MachineState `json:"state,omitempty"`
	// Conditions are the conditions of the machines.
	Conditions []MachineCondition `json:"conditions,omitempty"`
	// NetworkInterfaces is the list of network interface states for the machine.
	NetworkInterfaces []NetworkInterfaceStatus `json:"networkInterfaces,omitempty"`
	// Volumes is the list of volume states for the machine.
	Volumes []VolumeStatus `json:"volumes,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 NetworkInterface added in v0.0.10

type NetworkInterface struct {
	// Name is the name of the network interface.
	Name string `json:"name"`
	// NetworkInterfaceSource is where to obtain the interface from.
	NetworkInterfaceSource `json:",inline"`
}

NetworkInterface is the definition of a single interface

func (*NetworkInterface) DeepCopy added in v0.0.10

func (in *NetworkInterface) DeepCopy() *NetworkInterface

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

func (*NetworkInterface) DeepCopyInto added in v0.0.10

func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface)

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

type NetworkInterfacePhase added in v0.0.12

type NetworkInterfacePhase string

NetworkInterfacePhase represents the binding phase a NetworkInterface can be in.

const (
	// NetworkInterfacePhasePending is used for a NetworkInterface that is not yet bound.
	NetworkInterfacePhasePending NetworkInterfacePhase = "Pending"
	// NetworkInterfacePhaseBound is used for a NetworkInterface that is bound.
	NetworkInterfacePhaseBound NetworkInterfacePhase = "Bound"
)

type NetworkInterfaceSource added in v0.0.10

type NetworkInterfaceSource struct {
	// NetworkInterfaceRef instructs to use the NetworkInterface at the target reference.
	NetworkInterfaceRef *corev1.LocalObjectReference `json:"networkInterfaceRef,omitempty"`
	// Ephemeral instructs to create an ephemeral (i.e. coupled to the lifetime of the surrounding object)
	// NetworkInterface to use.
	Ephemeral *EphemeralNetworkInterfaceSource `json:"ephemeral,omitempty"`
}

func (*NetworkInterfaceSource) DeepCopy added in v0.0.10

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

func (*NetworkInterfaceSource) DeepCopyInto added in v0.0.10

func (in *NetworkInterfaceSource) DeepCopyInto(out *NetworkInterfaceSource)

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

type NetworkInterfaceStatus added in v0.0.10

type NetworkInterfaceStatus struct {
	// Name is the name of the NetworkInterface to whom the status belongs to.
	Name string `json:"name"`
	// Phase is the NetworkInterface binding phase of the NetworkInterface.
	Phase NetworkInterfacePhase `json:"phase,omitempty"`
	// IPs are the ips allocated for the network interface.
	IPs []commonv1alpha1.IP `json:"ips,omitempty"`
	// VirtualIP is the virtual ip allocated for the network interface.
	VirtualIP *commonv1alpha1.IP `json:"virtualIP,omitempty"`
}

NetworkInterfaceStatus reports the status of an NetworkInterfaceSource.

func (*NetworkInterfaceStatus) DeepCopy added in v0.0.10

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

func (*NetworkInterfaceStatus) DeepCopyInto added in v0.0.10

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

type Volume struct {
	// Name is the name of the Volume
	Name string `json:"name"`
	// VolumeSource is the source where the storage for the Volume resides at.
	VolumeSource `json:",inline"`
}

Volume defines a volume attachment of a machine

func (*Volume) DeepCopy added in v0.0.10

func (in *Volume) DeepCopy() *Volume

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

func (*Volume) DeepCopyInto added in v0.0.10

func (in *Volume) DeepCopyInto(out *Volume)

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

type VolumePhase added in v0.0.12

type VolumePhase string

VolumePhase represents the binding phase a Volume can be in.

const (
	// VolumePhasePending is used for a Volume that is not yet bound.
	VolumePhasePending VolumePhase = "Pending"
	// VolumePhaseBound is used for a Volume that is bound.
	VolumePhaseBound VolumePhase = "Bound"
)

type VolumeSource added in v0.0.10

type VolumeSource struct {
	// VolumeRef instructs to use the specified Volume as source for the attachment.
	VolumeRef *corev1.LocalObjectReference `json:"volumeRef,omitempty"`
	// EmptyDisk instructs to use a Volume offered by the machine pool provider.
	EmptyDisk *EmptyDiskVolumeSource `json:"emptyDisk,omitempty"`
	// Ephemeral instructs to create an ephemeral (i.e. coupled to the lifetime of the surrounding object)
	// Volume to use.
	Ephemeral *EphemeralVolumeSource `json:"ephemeral,omitempty"`
}

VolumeSource specifies the source to use for a Volume.

func (*VolumeSource) DeepCopy added in v0.0.10

func (in *VolumeSource) DeepCopy() *VolumeSource

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

func (*VolumeSource) DeepCopyInto added in v0.0.10

func (in *VolumeSource) DeepCopyInto(out *VolumeSource)

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

type VolumeStatus added in v0.0.10

type VolumeStatus struct {
	// Name is the name of a volume attachment.
	Name string `json:"name"`
	// Phase represents the binding phase of a Volume.
	Phase VolumePhase `json:"phase,omitempty"`
	// DeviceID is the disk device ID on the host.
	DeviceID string `json:"deviceID,omitempty"`
}

VolumeStatus is the status of a Volume.

func (*VolumeStatus) DeepCopy added in v0.0.10

func (in *VolumeStatus) DeepCopy() *VolumeStatus

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

func (*VolumeStatus) DeepCopyInto added in v0.0.10

func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)

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