Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the controlplane v1alpha1 API group +kubebuilder:object:generate=true +groupName=controlplane.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type KopsControlPlane
- func (in *KopsControlPlane) DeepCopy() *KopsControlPlane
- func (in *KopsControlPlane) DeepCopyInto(out *KopsControlPlane)
- func (in *KopsControlPlane) DeepCopyObject() runtime.Object
- func (cp *KopsControlPlane) GetConditions() clusterv1.Conditions
- func (cp *KopsControlPlane) SetConditions(conditions clusterv1.Conditions)
- type KopsControlPlaneList
- type KopsControlPlaneSpec
- type KopsControlPlaneStatus
Constants ¶
const ( // KopsControlPlaneStateReadyCondition reports on the successful management of the Kops state. KopsControlPlaneStateReadyCondition clusterv1.ConditionType = "KopsControlPlaneStateReady" // KopsterraformGenerationReadyCondition reports on the successful generation of Terraform files by Kops. KopsTerraformGenerationReadyCondition clusterv1.ConditionType = "KopsTerraformGenerationReady" // TerraformApplyReadyCondition reports on the successful apply of the Terraform files. TerraformApplyReadyCondition clusterv1.ConditionType = "TerraformApplyReady" // KopsControlPlaneFinalizer allows the controller to clean up resources on delete. KopsControlPlaneFinalizer = "kopscontrolplane.controlplane.cluster.x-k8s.io" )
const ( // KopsControlPlaneStateReconciliationFailedReason (Severity=Error) indicates that Kops state couldn't be created/updated. KopsControlPlaneStateReconciliationFailedReason = "KopsControlPlaneStateReconciliationFailed" // KopsTerraformGenerationReconciliationFailedReason (Severity=Error) indicates that Terraform files couldn't be generated. KopsTerraformGenerationReconciliationFailedReason = "KopsTerraformGenerationReconciliationFailed" // TerraformApplyReconciliationFailedReason (Severity=Error) indicates that Terraform files couldn't be applied. TerraformApplyReconciliationFailedReason = "TerraformApplyReconciliationFailed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "controlplane.cluster.x-k8s.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 KopsControlPlane ¶
type KopsControlPlane struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KopsControlPlaneSpec `json:"spec,omitempty"` Status KopsControlPlaneStatus `json:"status,omitempty"` }
KopsControlPlane is the Schema for the kopscontrolplanes API
func (*KopsControlPlane) DeepCopy ¶
func (in *KopsControlPlane) DeepCopy() *KopsControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsControlPlane.
func (*KopsControlPlane) DeepCopyInto ¶
func (in *KopsControlPlane) DeepCopyInto(out *KopsControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KopsControlPlane) DeepCopyObject ¶
func (in *KopsControlPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KopsControlPlane) GetConditions ¶
func (cp *KopsControlPlane) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*KopsControlPlane) SetConditions ¶
func (cp *KopsControlPlane) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
type KopsControlPlaneList ¶
type KopsControlPlaneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KopsControlPlane `json:"items"` }
KopsControlPlaneList contains a list of KopsControlPlane
func (*KopsControlPlaneList) DeepCopy ¶
func (in *KopsControlPlaneList) DeepCopy() *KopsControlPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsControlPlaneList.
func (*KopsControlPlaneList) DeepCopyInto ¶
func (in *KopsControlPlaneList) DeepCopyInto(out *KopsControlPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KopsControlPlaneList) DeepCopyObject ¶
func (in *KopsControlPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KopsControlPlaneSpec ¶
type KopsControlPlaneSpec struct { // SSHPublicKey is the SSH public key added in the nodes; required on AWS SSHPublicKey string `json:"SSHPublicKey"` // KopsClusterSpec declare the desired Cluster Kops resource: https://kops.sigs.k8s.io/cluster_spec/ KopsClusterSpec kops.ClusterSpec `json:"kopsClusterSpec"` }
KopsControlPlaneSpec defines the desired state of KopsControlPlane
func (*KopsControlPlaneSpec) DeepCopy ¶
func (in *KopsControlPlaneSpec) DeepCopy() *KopsControlPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsControlPlaneSpec.
func (*KopsControlPlaneSpec) DeepCopyInto ¶
func (in *KopsControlPlaneSpec) DeepCopyInto(out *KopsControlPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KopsControlPlaneStatus ¶
type KopsControlPlaneStatus struct { // Ready denotes that the API Server is ready to // receive requests. // +kubebuilder:default=false Ready bool `json:"ready,omitempty"` // ErrorMessage indicates that there is a terminal problem reconciling the // state, and will be set to a descriptive error message. // +optional FailureMessage *string `json:"failureMessage,omitempty"` // Conditions defines current service state of the KopsControlPlane. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
KopsControlPlaneStatus defines the observed state of KopsControlPlane
func (*KopsControlPlaneStatus) DeepCopy ¶
func (in *KopsControlPlaneStatus) DeepCopy() *KopsControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsControlPlaneStatus.
func (*KopsControlPlaneStatus) DeepCopyInto ¶
func (in *KopsControlPlaneStatus) DeepCopyInto(out *KopsControlPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.