v1alpha1

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 7 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 (
	ImageStateValid    = "Valid"
	ImageStateInvalid  = "Invalid"
	RegionStateReady   = "Ready"
	RegionStatePending = "Pending"
	RegionStateError   = "Error"
)
View Source
const (
	RetainPolicyDeleteOnTermination RetainPolicy = "DeleteOnTermination"
	RetainPolicyPersistent          RetainPolicy = "Persistent"
	MachineStateRunning                          = "Running"
	MachineStateShutdown                         = "Shutdown"
	MachineStateError                            = "Error"
	MachineStateInitial                          = "Initial"
)
View Source
const (
	PrivacyShared     = "shared"
	PrivacyHypervisor = "hypervisor"
	PrivacyCluster    = "cluster"
)
View Source
const (
	MachinePoolStateReady   = "Ready"
	MachinePoolStatePending = "Pending"
	MachinePoolStateError   = "Error"
	MachinePoolStateOffline = "Offline"
)
View Source
const DefaultSSHPublicKeyDataKey = "id_rsa.pub"

DefaultSSHPublicKeyDataKey is the default data key for the common.ConfigMapKeySelector in an SSHPublicKeySpec.

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
)

Functions

This section is empty.

Types

type AvailabilityZoneQuantity added in v0.0.4

type AvailabilityZoneQuantity struct {
	// AvailabilityZone is the name of the availability zone
	AvailabilityZone string `json:"availabilityZone"`
	// Classes defines a list of machine classes and their corresponding quantities
	Classes []MachineClassQuantity `json:"classes"`
}

AvailabilityZoneQuantity defines the quantity of available MachineClasses in a given AZ

func (*AvailabilityZoneQuantity) DeepCopy added in v0.0.4

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

func (*AvailabilityZoneQuantity) DeepCopyInto added in v0.0.4

func (in *AvailabilityZoneQuantity) DeepCopyInto(out *AvailabilityZoneQuantity)

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

type Capability added in v0.0.4

type Capability struct {
	// Name is the name of the capability
	Name string `json:"name"`
	// Type defines the type of the capability
	Type string `json:"type"`
	// Value is the effective value of the capability
	Value string `json:"value"`
}

Capability describes a single feature of a MachineClass

func (*Capability) DeepCopy added in v0.0.4

func (in *Capability) DeepCopy() *Capability

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

func (*Capability) DeepCopyInto added in v0.0.4

func (in *Capability) DeepCopyInto(out *Capability)

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

type Flag added in v0.0.7

type Flag struct {
	// Key is the key name
	Key string `json:"key"`
	// Value contains the value for a key
	Value string `json:"value"`
}

Flag is a single value pair

func (*Flag) DeepCopy added in v0.0.7

func (in *Flag) DeepCopy() *Flag

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

func (*Flag) DeepCopyInto added in v0.0.7

func (in *Flag) DeepCopyInto(out *Flag)

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

type Hash added in v0.0.4

type Hash struct {
	// Algorithm indicates the algorithm with which the hash should be computed
	Algorithm string `json:"algorithm"`
	// Value is the computed hash value
	Value string `json:"value"`
}

Hash describes a hash value and it's corresponding algorithm

func (*Hash) DeepCopy added in v0.0.4

func (in *Hash) DeepCopy() *Hash

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

func (*Hash) DeepCopyInto added in v0.0.4

func (in *Hash) DeepCopyInto(out *Hash)

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

type HashStatus added in v0.0.4

type HashStatus struct {
	Name string `json:"name"`
	Hash string `json:"hash"`
}

func (*HashStatus) DeepCopy added in v0.0.4

func (in *HashStatus) DeepCopy() *HashStatus

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

func (*HashStatus) DeepCopyInto added in v0.0.4

func (in *HashStatus) DeepCopyInto(out *HashStatus)

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

type Image

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

	Spec   ImageSpec   `json:"spec,omitempty"`
	Status ImageStatus `json:"status,omitempty"`
}

Image is the Schema for the images API

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

func (*Image) DeepCopyObject

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

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

type ImageList

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

ImageList contains a list of Image

func (*ImageList) DeepCopy

func (in *ImageList) DeepCopy() *ImageList

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

func (*ImageList) DeepCopyInto

func (in *ImageList) DeepCopyInto(out *ImageList)

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

func (*ImageList) DeepCopyObject

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

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

type ImageSpec

type ImageSpec struct {
	// Arch describes the architecture the Image is built for
	Arch string `json:"arch"`
	// Maturity defines the maturity of an Image. It indicates whether this Image is e.g. a stable or preview version.
	Maturity string `json:"maturity"`
	// ExpirationTime defines when the support for this image will expire
	//+kubebuilder:validation:Format:=date-time
	//+kubebuilder:validation:Type:=string
	ExpirationTime metav1.Time `json:"expirationTime,omitempty"`
	// OS defines the operating system name of the image
	OS string `json:"os"`
	// Version defines the operating system version
	Version string `json:"version"`
	// Source defines the source artefacts and their corresponding location
	Source []SourceAttribute `json:"source"`
	// ImageRef is a scoped reference to an existing Image
	ImageRef common.ScopedReference `json:"imageRef,omitempty"`
	// Flags is a generic key value pair used for defining Image hints
	Flags []Flag `json:"flags,omitempty"`
}

ImageSpec defines the desired state of Image

Either a Source or an ImageRef should be defined to describe the content of an Image

func (*ImageSpec) DeepCopy

func (in *ImageSpec) DeepCopy() *ImageSpec

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

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

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

type ImageStatus

type ImageStatus struct {
	common.StateFields `json:",inline"`
	// Hashes lists all hashes for all included artefacts
	Hashes []HashStatus `json:"hashes,omitempty"`
	// Regions indicates the availability of the image in the corresponding regions
	Regions []RegionState `json:"regions,omitempty"`
}

ImageStatus defines the observed state of Image

func (*ImageStatus) DeepCopy

func (in *ImageStatus) DeepCopy() *ImageStatus

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

func (*ImageStatus) DeepCopyInto

func (in *ImageStatus) DeepCopyInto(out *ImageStatus)

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 common.ScopedKindReference `json:"target"`
	// Priority is the priority level of this interface
	Priority int `json:"priority,omitempty"`
	// IP specifies a concrete IP address which should be allocated from a Subnet
	IP string `json:"ip,omitempty"`
	// RoutingOnly is a routing hint for this interface
	RoutingOnly bool `json:"routingOnly,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 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"`

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

type MachineClassQuantity struct {
	// Name is the name of the machine class quantity
	Name string `json:"name"`
	// Quantity is an absolut number of the available machine class
	// +kubebuilder:validation:Minimum:=0
	Quantity int `json:"quantity"`
}

MachineClassQuantity defines the quantity of a given MachineClass

func (*MachineClassQuantity) DeepCopy added in v0.0.4

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

func (*MachineClassQuantity) DeepCopyInto added in v0.0.4

func (in *MachineClassQuantity) DeepCopyInto(out *MachineClassQuantity)

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

type MachineClassSpec added in v0.0.4

type MachineClassSpec struct {
	// Capabilities describes the features of the MachineClass
	Capabilities []Capability `json:"capabilities"`
}

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 {
	// Availability describes the regions and zones where this MachineClass is available
	Availability common.Availability `json:"availability,omitempty"`
}

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 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 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 {
	// Region defines the region where this machine pool is available
	Region string `json:"region,omitempty"`
	// Privacy indicates the privacy scope of the machine pool
	Privacy string `json:"privacy"`
	// Capacity defines the quantity of this machine pool per availability zone
	Capacity []AvailabilityZoneQuantity `json:"capacity"`
}

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

type MachinePoolStatus struct {
	common.StateFields `json:",inline"`
	Used               AvailabilityZoneQuantity `json:"used"`
}

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 the machine class/flavor of the machine
	MachineClass common.ScopedReference `json:"machineClass"`
	// MachinePool defines the compute pool of the machine
	MachinePool common.ScopedReference `json:"machinePool,omitempty"`
	// Location is the physical location of the machine
	Location common.Location `json:"location"`
	// Image is the operating system image of the machine
	Image common.ScopedReference `json:"image"`
	// SSHPublicKeys is a list of SSH public keys of a machine
	SSHPublicKeys []SSHPublicKeyEntry `json:"sshPublicKeys"`
	// 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 []common.ScopedReference `json:"securityGroups"`
	// VolumeClaims
	VolumeClaims []VolumeClaim `json:"volumeClaims"`
	// UserData defines the ignition file
	UserData string `json:"userData,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 MachineStatus

type MachineStatus struct {
	common.StateFields `json:",inline"`
}

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

type RegionState struct {
	Name               string `json:"name"`
	common.StateFields `json:",inline"`
}

func (*RegionState) DeepCopy added in v0.0.4

func (in *RegionState) DeepCopy() *RegionState

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

func (*RegionState) DeepCopyInto added in v0.0.4

func (in *RegionState) DeepCopyInto(out *RegionState)

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

type SSHPublicKey added in v0.0.4

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

	Spec   SSHPublicKeySpec   `json:"spec,omitempty"`
	Status SSHPublicKeyStatus `json:"status,omitempty"`
}

SSHPublicKey is the Schema for the sshpublickeys API

func (*SSHPublicKey) DeepCopy added in v0.0.4

func (in *SSHPublicKey) DeepCopy() *SSHPublicKey

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

func (*SSHPublicKey) DeepCopyInto added in v0.0.4

func (in *SSHPublicKey) DeepCopyInto(out *SSHPublicKey)

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

func (*SSHPublicKey) DeepCopyObject added in v0.0.4

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

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

type SSHPublicKeyCondition added in v0.0.8

type SSHPublicKeyCondition struct {
	// Type is the SSHPublicKeyConditionType of the condition.
	Type SSHPublicKeyConditionType `json:"type"`
	// Status is the corev1.ConditionStatus 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"`
}

SSHPublicKeyCondition is a condition of an SSHPublicKey.

func (*SSHPublicKeyCondition) DeepCopy added in v0.0.8

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

func (*SSHPublicKeyCondition) DeepCopyInto added in v0.0.8

func (in *SSHPublicKeyCondition) DeepCopyInto(out *SSHPublicKeyCondition)

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

type SSHPublicKeyConditionType added in v0.0.8

type SSHPublicKeyConditionType string

SSHPublicKeyConditionType is a possible type of SSHPublicKeyCondition.

const (
	SSHPublicKeyAvailable SSHPublicKeyConditionType = "Available"
)

type SSHPublicKeyEntry added in v0.0.5

type SSHPublicKeyEntry struct {
	// Scope is the scope of a SSH public key
	Scope string `json:"scope,omitempty"`
	// Name is the name of the SSH public key
	Name string `json:"name,omitempty"`
	// Selector defines a LabelSelector to filter for a public key
	Selector metav1.LabelSelector `json:"selector,omitempty"`
}

SSHPublicKeyEntry describes either a reference to a SSH public key or a selector to filter for a public key

func (*SSHPublicKeyEntry) DeepCopy added in v0.0.5

func (in *SSHPublicKeyEntry) DeepCopy() *SSHPublicKeyEntry

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

func (*SSHPublicKeyEntry) DeepCopyInto added in v0.0.5

func (in *SSHPublicKeyEntry) DeepCopyInto(out *SSHPublicKeyEntry)

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

type SSHPublicKeyList added in v0.0.4

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

SSHPublicKeyList contains a list of SSHPublicKey

func (*SSHPublicKeyList) DeepCopy added in v0.0.4

func (in *SSHPublicKeyList) DeepCopy() *SSHPublicKeyList

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

func (*SSHPublicKeyList) DeepCopyInto added in v0.0.4

func (in *SSHPublicKeyList) DeepCopyInto(out *SSHPublicKeyList)

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

func (*SSHPublicKeyList) DeepCopyObject added in v0.0.4

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

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

type SSHPublicKeySpec added in v0.0.4

type SSHPublicKeySpec struct {
	// ConfigMapRef is the reference to a key in a ConfigMap resource
	// containing the public key data. If key is not specified, it defaults to 'id_rsa.pub'.
	ConfigMapRef common.ConfigMapKeySelector `json:"configMapRef"`
}

SSHPublicKeySpec defines the desired state of SSHPublicKey

func (*SSHPublicKeySpec) DeepCopy added in v0.0.4

func (in *SSHPublicKeySpec) DeepCopy() *SSHPublicKeySpec

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

func (*SSHPublicKeySpec) DeepCopyInto added in v0.0.4

func (in *SSHPublicKeySpec) DeepCopyInto(out *SSHPublicKeySpec)

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

type SSHPublicKeyStatus added in v0.0.4

type SSHPublicKeyStatus struct {
	// Conditions are a list of elements indicating the status of various properties of an SSHPublicKey.
	Conditions []SSHPublicKeyCondition `json:"conditions,omitempty"`
	// Algorithm is the algorithm used for the public key.
	Algorithm string `json:"algorithm,omitempty"`
	// Fingerprint is the fingerprint of the ssh public key.
	Fingerprint string `json:"fingerprint,omitempty"`
	// KeyLength is the byte length of the ssh key.
	// +kubebuilder:validation:Minimum:=0
	KeyLength int `json:"keyLength,omitempty"`
}

SSHPublicKeyStatus defines the observed state of SSHPublicKey

func (*SSHPublicKeyStatus) DeepCopy added in v0.0.4

func (in *SSHPublicKeyStatus) DeepCopy() *SSHPublicKeyStatus

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

func (*SSHPublicKeyStatus) DeepCopyInto added in v0.0.4

func (in *SSHPublicKeyStatus) DeepCopyInto(out *SSHPublicKeyStatus)

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

type SourceAttribute added in v0.0.4

type SourceAttribute struct {
	// Name defines the name of a source element
	Name string `json:"name"`
	// URL defines the location of the image artefact
	URL string `json:"url,omitempty"`
	// Hash is the computed hash value of the artefacts content
	Hash *Hash `json:"hash,omitempty"`
}

SourceAttribute describes the source components of an Image

func (*SourceAttribute) DeepCopy added in v0.0.4

func (in *SourceAttribute) DeepCopy() *SourceAttribute

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

func (*SourceAttribute) DeepCopyInto added in v0.0.4

func (in *SourceAttribute) DeepCopyInto(out *SourceAttribute)

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

type VolumeClaim added in v0.0.5

type VolumeClaim struct {
	// Name is the name of the VolumeClaim
	Name string `json:"name"`
	// RetainPolicy defines what should happen when the machine is being deleted
	RetainPolicy RetainPolicy `json:"retainPolicy"`
	// Device defines the device for a volume on the machine
	Device string `json:"device"`
	// StorageClass describes the storage class of the volumes
	StorageClass common.ScopedReference `json:"storageClass"`
	// Size defines the size of the volume
	Size *resource.Quantity `json:"size,omitempty"`
	// Volume is a reference to an existing volume
	Volume common.ScopedReference `json:"volume,omitempty"`
}

VolumeClaim defines a volume claim of a machine

func (*VolumeClaim) DeepCopy added in v0.0.5

func (in *VolumeClaim) DeepCopy() *VolumeClaim

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

func (*VolumeClaim) DeepCopyInto added in v0.0.5

func (in *VolumeClaim) DeepCopyInto(out *VolumeClaim)

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