Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cluster v1alpha1 API group +kubebuilder:object:generate=true +groupName=cluster.kubefirst.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cluster.kubefirst.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 ManagementCluster ¶
type ManagementCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagementClusterSpec `json:"spec,omitempty"` Status ManagementClusterStatus `json:"status,omitempty"` }
ManagementCluster is the Schema for the managementclusters API +kubebuilder:subresource:status
func (*ManagementCluster) DeepCopy ¶
func (in *ManagementCluster) DeepCopy() *ManagementCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCluster.
func (*ManagementCluster) DeepCopyInto ¶
func (in *ManagementCluster) DeepCopyInto(out *ManagementCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementCluster) DeepCopyObject ¶
func (in *ManagementCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementClusterList ¶
type ManagementClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagementCluster `json:"items"` }
ManagementClusterList contains a list of ManagementCluster
func (*ManagementClusterList) DeepCopy ¶
func (in *ManagementClusterList) DeepCopy() *ManagementClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementClusterList.
func (*ManagementClusterList) DeepCopyInto ¶
func (in *ManagementClusterList) DeepCopyInto(out *ManagementClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementClusterList) DeepCopyObject ¶
func (in *ManagementClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementClusterSpec ¶
type ManagementClusterSpec struct { // CloudProvider specifies the cloud on which the cluster will be created // +operator-sdk:csv:customresourcedefinitions:type=spec CloudProvider string `json:"cloud_provider"` // CloudRegion specifies the region within the cloud provider in which the cluster will be created // +operator-sdk:csv:customresourcedefinitions:type=spec CloudRegion string `json:"cloud_region"` // DomainName specifies the domain name for DNS // +operator-sdk:csv:customresourcedefinitions:type=spec DomainName string `json:"domain_name"` // AlertsEmail specifies the contact email for the cluster // +operator-sdk:csv:customresourcedefinitions:type=spec AlertsEmail string `json:"alerts_email"` }
ManagementClusterSpec defines the desired state of ManagementCluster
func (*ManagementClusterSpec) DeepCopy ¶
func (in *ManagementClusterSpec) DeepCopy() *ManagementClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementClusterSpec.
func (*ManagementClusterSpec) DeepCopyInto ¶
func (in *ManagementClusterSpec) DeepCopyInto(out *ManagementClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementClusterStatus ¶
type ManagementClusterStatus struct { // Conditions store the status conditions of the cluster instances // +operator-sdk:csv:customresourcedefinitions:type=status Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
ManagementClusterStatus defines the observed state of ManagementCluster
func (*ManagementClusterStatus) DeepCopy ¶
func (in *ManagementClusterStatus) DeepCopy() *ManagementClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementClusterStatus.
func (*ManagementClusterStatus) DeepCopyInto ¶
func (in *ManagementClusterStatus) DeepCopyInto(out *ManagementClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadCluster ¶
type WorkloadCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WorkloadClusterSpec `json:"spec,omitempty"` Status WorkloadClusterStatus `json:"status,omitempty"` }
WorkloadCluster is the Schema for the workloadclusters API
func (*WorkloadCluster) DeepCopy ¶
func (in *WorkloadCluster) DeepCopy() *WorkloadCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadCluster.
func (*WorkloadCluster) DeepCopyInto ¶
func (in *WorkloadCluster) DeepCopyInto(out *WorkloadCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadCluster) DeepCopyObject ¶
func (in *WorkloadCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadClusterList ¶
type WorkloadClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WorkloadCluster `json:"items"` }
WorkloadClusterList contains a list of WorkloadCluster
func (*WorkloadClusterList) DeepCopy ¶
func (in *WorkloadClusterList) DeepCopy() *WorkloadClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadClusterList.
func (*WorkloadClusterList) DeepCopyInto ¶
func (in *WorkloadClusterList) DeepCopyInto(out *WorkloadClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadClusterList) DeepCopyObject ¶
func (in *WorkloadClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadClusterSpec ¶
type WorkloadClusterSpec struct { // Foo is an example field of WorkloadCluster. Edit workloadcluster_types.go to remove/update Foo string `json:"foo,omitempty"` }
WorkloadClusterSpec defines the desired state of WorkloadCluster
func (*WorkloadClusterSpec) DeepCopy ¶
func (in *WorkloadClusterSpec) DeepCopy() *WorkloadClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadClusterSpec.
func (*WorkloadClusterSpec) DeepCopyInto ¶
func (in *WorkloadClusterSpec) DeepCopyInto(out *WorkloadClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadClusterStatus ¶
type WorkloadClusterStatus struct { }
WorkloadClusterStatus defines the observed state of WorkloadCluster
func (*WorkloadClusterStatus) DeepCopy ¶
func (in *WorkloadClusterStatus) DeepCopy() *WorkloadClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadClusterStatus.
func (*WorkloadClusterStatus) DeepCopyInto ¶
func (in *WorkloadClusterStatus) DeepCopyInto(out *WorkloadClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.