Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the compute v1alpha1 API group +kubebuilder:object:generate=true +groupName=compute.onmetal.de
Index ¶
- Constants
- Variables
- type AvailabilityZoneQuantity
- type Capability
- type Hash
- type HashStatus
- type Image
- type ImageList
- type ImageSpec
- type ImageStatus
- type Machine
- type MachineClass
- type MachineClassList
- type MachineClassQuantity
- type MachineClassSpec
- type MachineClassStatus
- type MachineList
- type MachinePool
- type MachinePoolList
- type MachinePoolSpec
- type MachinePoolStatus
- type MachineSpec
- type MachineStatus
- type RegionState
- type RetainPolicy
- type SSHPublicKey
- type SSHPublicKeyEntry
- type SSHPublicKeyList
- type SSHPublicKeySpec
- type SSHPublicKeyStatus
- type SourceAttribute
- type VolumeClaim
Constants ¶
const ( ImageStateValid = "Valid" ImageStateInvalid = "Invalid" RegionStateReady = "Ready" RegionStatePending = "Pending" RegionStateError = "Error" )
const ( RetainPolicyDeleteOnTermination RetainPolicy = "DeleteOnTermination" RetainPolicyPersistent RetainPolicy = "Persistent" MachineStateRunning = "Running" MachineStateShutdown = "Shutdown" MachineStateError = "Error" MachineStateInitial = "Initial" )
const ( PrivacyHypervisor = "hypervisor" PrivacyCluster = "cluster" )
const ( MachinePoolStateReady = "Ready" MachinePoolStatePending = "Pending" MachinePoolStateError = "Error" MachinePoolStateOffline = "Offline" )
Variables ¶
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
func (in *AvailabilityZoneQuantity) DeepCopy() *AvailabilityZoneQuantity
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 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hash.
func (*Hash) DeepCopyInto ¶ added in v0.0.4
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HashStatus ¶ added in v0.0.4
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.
func (*ImageList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageSpec ¶
type ImageSpec struct {
// Type specifies the type of the image
Type string `json:"type,omitempty"`
// Maturity defines the manutiry 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
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"`
}
ImageSpec defines the desired state of Image
func (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.
func (*Machine) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Machine) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineClass ¶ 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
func (in *MachineClassQuantity) DeepCopy() *MachineClassQuantity
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.ScopeReference `json:"machineClass"`
// MachinePool defines the compute pool of the machine
MachinePool common.ScopeReference `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.ScopeReference `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
// TODO: define interfaces/network references
// SecurityGroups is a list of security groups of a machine
SecurityGroups []common.ScopeReference `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 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 {
// SSHPublicKey is the SSH public key string
SSHPublicKey string `json:"sshPublicKey"`
// Description describes the purpose of the ssh key
Description string `json:"description,omitempty"`
// ExpirationDate indicates until when this public key is valid
ExpirationDate metav1.Time `json:"expirationDate,omitempty"`
}
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 {
common.StateFields `json:",inline"`
// FingerPrint is the finger print 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"`
// Algorithm is the algorithm used to generate the ssh key
Algorithm string `json:"algorithm,omitempty"`
// PublicKey is the PEM encoded public key
PublicKey string `json:"publicKey,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"`
// ImageName defines the name of a referred image
ImageName string `json:"imageName,omitempty"`
// URL defines the location of the image artefact
URL string `json:"url,omitempty"`
// CmdLine defines a Kernel boot command
CmdLine string `json:"cmdLine,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.ScopeReference `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.ScopeReference `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.