Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the metadata v1alpha1 API group +kubebuilder:object:generate=true +groupName=metadata.undistro.io
Index ¶
Constants ¶
const ( ProviderCore = ProviderCategory("core") ProviderInfra = ProviderCategory("infra") )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "metadata.undistro.io", 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 AWSMachine ¶
type AWSMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AWSMachineSpec `json:"spec,omitempty"` Status AWSMachineStatus `json:"status,omitempty"` }
AWSMachine is the Schema for the awsmachines API
func (*AWSMachine) DeepCopy ¶
func (in *AWSMachine) DeepCopy() *AWSMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachine.
func (*AWSMachine) DeepCopyInto ¶
func (in *AWSMachine) DeepCopyInto(out *AWSMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSMachine) DeepCopyObject ¶
func (in *AWSMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSMachineList ¶
type AWSMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AWSMachine `json:"items"` }
AWSMachineList contains a list of AWSMachine
func (*AWSMachineList) DeepCopy ¶
func (in *AWSMachineList) DeepCopy() *AWSMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineList.
func (*AWSMachineList) DeepCopyInto ¶
func (in *AWSMachineList) DeepCopyInto(out *AWSMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSMachineList) DeepCopyObject ¶
func (in *AWSMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSMachineSpec ¶
type AWSMachineSpec struct { InstanceType string `json:"instanceType,omitempty"` AvailabilityZones []string `json:"availabilityZones,omitempty"` Vcpus string `json:"vcpus,omitempty"` Memory string `json:"memory,omitempty"` ProviderRef *corev1.ObjectReference `json:"providerRef,omitempty"` }
AWSMachineSpec defines the desired state of AWSMachine
func (*AWSMachineSpec) DeepCopy ¶
func (in *AWSMachineSpec) DeepCopy() *AWSMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineSpec.
func (*AWSMachineSpec) DeepCopyInto ¶
func (in *AWSMachineSpec) DeepCopyInto(out *AWSMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AWSMachineStatus ¶
type AWSMachineStatus struct { ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
AWSMachineStatus defines the observed state of AWSMachine
func (*AWSMachineStatus) DeepCopy ¶
func (in *AWSMachineStatus) DeepCopy() *AWSMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineStatus.
func (*AWSMachineStatus) DeepCopyInto ¶
func (in *AWSMachineStatus) DeepCopyInto(out *AWSMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Flavor ¶
type Flavor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FlavorSpec `json:"spec,omitempty"` Status FlavorStatus `json:"status,omitempty"` }
Flavor is the Schema for the flavors API
func (*Flavor) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flavor.
func (*Flavor) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Flavor) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FlavorList ¶
type FlavorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Flavor `json:"items"` }
FlavorList contains a list of Flavor
func (*FlavorList) DeepCopy ¶
func (in *FlavorList) DeepCopy() *FlavorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlavorList.
func (*FlavorList) DeepCopyInto ¶
func (in *FlavorList) DeepCopyInto(out *FlavorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FlavorList) DeepCopyObject ¶
func (in *FlavorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FlavorSpec ¶
type FlavorSpec struct { SupportedK8sVersions []string `json:"supportedK8SVersions,omitempty"` ProviderRef *corev1.ObjectReference `json:"providerRef,omitempty"` }
FlavorSpec defines the desired state of Flavor
func (*FlavorSpec) DeepCopy ¶
func (in *FlavorSpec) DeepCopy() *FlavorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlavorSpec.
func (*FlavorSpec) DeepCopyInto ¶
func (in *FlavorSpec) DeepCopyInto(out *FlavorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FlavorStatus ¶
type FlavorStatus struct { ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
FlavorStatus defines the observed state of Flavor
func (*FlavorStatus) DeepCopy ¶
func (in *FlavorStatus) DeepCopy() *FlavorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlavorStatus.
func (*FlavorStatus) DeepCopyInto ¶
func (in *FlavorStatus) DeepCopyInto(out *FlavorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Provider ¶
type Provider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProviderSpec `json:"spec,omitempty"` Status ProviderStatus `json:"status,omitempty"` }
Provider is the Schema for the providers API
func ProviderNotReady ¶
func ProviderReady ¶
func UpdatePaused ¶
func (*Provider) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider.
func (*Provider) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Provider) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Provider) GetStatusConditions ¶
type ProviderInfo ¶
type ProviderInfo struct { SecretName string Category ProviderCategory }
func (*ProviderInfo) DeepCopy ¶
func (in *ProviderInfo) DeepCopy() *ProviderInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderInfo.
func (*ProviderInfo) DeepCopyInto ¶
func (in *ProviderInfo) DeepCopyInto(out *ProviderInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderList ¶
type ProviderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Provider `json:"items"` }
ProviderList contains a list of Provider
func (*ProviderList) DeepCopy ¶
func (in *ProviderList) DeepCopy() *ProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderList.
func (*ProviderList) DeepCopyInto ¶
func (in *ProviderList) DeepCopyInto(out *ProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderList) DeepCopyObject ¶
func (in *ProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderSpec ¶
type ProviderSpec struct { Paused bool `json:"paused,omitempty"` AutoFetch bool `json:"autoFetch,omitempty"` UnDistroVersion string `json:"undistroVersion,omitempty"` Category ProviderCategory `json:"category,omitempty"` SecretRef *corev1.ObjectReference `json:"secretRef,omitempty"` }
ProviderSpec defines the desired state of Provider
func (*ProviderSpec) DeepCopy ¶
func (in *ProviderSpec) DeepCopy() *ProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpec.
func (*ProviderSpec) DeepCopyInto ¶
func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderStatus ¶
type ProviderStatus struct { ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` ChartName string `json:"chartName,omitempty"` ChartVersion string `json:"chartVersion,omitempty"` RegionNames []string `json:"regionNames,omitempty"` }
ProviderStatus defines the observed state of Provider
func (*ProviderStatus) DeepCopy ¶
func (in *ProviderStatus) DeepCopy() *ProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderStatus.
func (*ProviderStatus) DeepCopyInto ¶
func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.