Documentation ¶
Overview ¶
Package v1alpha3 contains API Schema definitions for the bootstrap v1alpha3 API group +kubebuilder:object:generate=true +groupName=bootstrap.cluster.x-k8s.io
Index ¶
Constants ¶
const ( // DataSecretAvailableCondition documents the status of the bootstrap secret generation process. // // NOTE: When the DataSecret generation starts the process completes immediately and within the // same reconciliation, so the user will always see a transition from Wait to Generated without having // evidence that BootstrapSecret generation is started/in progress. DataSecretAvailableCondition clusterv1.ConditionType = "DataSecretAvailable" // DataSecretGenerationFailedReason (Severity=Warning) documents a EKSConfig controller detecting // an error while generating a data secret; those kind of errors are usually due to misconfigurations // and user intervention is required to get them fixed. DataSecretGenerationFailedReason = "DataSecretGenerationFailed" // WaitingForClusterInfrastructureReason (Severity=Info) document a bootstrap secret generation process // waiting for the cluster infrastructure to be ready. // // NOTE: Having the cluster infrastructure ready is a pre-condition for starting to create machines; // the EKSConfig controller ensure this pre-condition is satisfied. WaitingForClusterInfrastructureReason = "WaitingForClusterInfrastructure" // WaitingForControlPlaneInitializationReason (Severity=Info) documents a bootstrap secret generation process // waiting for the control plane to be initialized. // // NOTE: This is a pre-condition for starting to create machines; // the EKSConfig controller ensure this pre-condition is satisfied. WaitingForControlPlaneInitializationReason = "WaitingForControlPlaneInitialization" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "bootstrap.cluster.x-k8s.io", Version: "v1alpha3"} // 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 EKSConfig ¶
type EKSConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EKSConfigSpec `json:"spec,omitempty"` Status EKSConfigStatus `json:"status,omitempty"` }
EKSConfig is the Schema for the eksconfigs API
func (*EKSConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfig.
func (*EKSConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EKSConfig) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EKSConfig) GetConditions ¶
func (r *EKSConfig) GetConditions() clusterv1.Conditions
func (*EKSConfig) SetConditions ¶
func (r *EKSConfig) SetConditions(conditions clusterv1.Conditions)
type EKSConfigList ¶
type EKSConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EKSConfig `json:"items"` }
EKSConfigList contains a list of EKSConfig
func (*EKSConfigList) DeepCopy ¶
func (in *EKSConfigList) DeepCopy() *EKSConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigList.
func (*EKSConfigList) DeepCopyInto ¶
func (in *EKSConfigList) DeepCopyInto(out *EKSConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EKSConfigList) DeepCopyObject ¶
func (in *EKSConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EKSConfigSpec ¶
type EKSConfigSpec struct { // Passes the kubelet args into the EKS bootstrap script // +optional KubeletExtraArgs map[string]string `json:"kubeletExtraArgs,omitempty"` }
EKSConfigSpec defines the desired state of EKSConfig
func (*EKSConfigSpec) DeepCopy ¶
func (in *EKSConfigSpec) DeepCopy() *EKSConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigSpec.
func (*EKSConfigSpec) DeepCopyInto ¶
func (in *EKSConfigSpec) DeepCopyInto(out *EKSConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EKSConfigStatus ¶
type EKSConfigStatus struct { // Ready indicates the BootstrapData secret is ready to be consumed Ready bool `json:"ready,omitempty"` // DataSecretName is the name of the secret that stores the bootstrap data script. // +optional DataSecretName *string `json:"dataSecretName,omitempty"` // FailureReason will be set on non-retryable errors // +optional FailureReason string `json:"failureReason,omitempty"` // FailureMessage will be set on non-retryable errors // +optional FailureMessage string `json:"failureMessage,omitempty"` // ObservedGeneration is the latest generation observed by the controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Conditions defines current service state of the EKSConfig. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
EKSConfigStatus defines the observed state of EKSConfig
func (*EKSConfigStatus) DeepCopy ¶
func (in *EKSConfigStatus) DeepCopy() *EKSConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigStatus.
func (*EKSConfigStatus) DeepCopyInto ¶
func (in *EKSConfigStatus) DeepCopyInto(out *EKSConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EKSConfigTemplate ¶
type EKSConfigTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EKSConfigTemplateSpec `json:"spec,omitempty"` }
EKSConfigTemplate is the Schema for the eksconfigtemplates API
func (*EKSConfigTemplate) DeepCopy ¶
func (in *EKSConfigTemplate) DeepCopy() *EKSConfigTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigTemplate.
func (*EKSConfigTemplate) DeepCopyInto ¶
func (in *EKSConfigTemplate) DeepCopyInto(out *EKSConfigTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EKSConfigTemplate) DeepCopyObject ¶
func (in *EKSConfigTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EKSConfigTemplateList ¶
type EKSConfigTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EKSConfigTemplate `json:"items"` }
EKSConfigTemplateList contains a list of EKSConfigTemplate
func (*EKSConfigTemplateList) DeepCopy ¶
func (in *EKSConfigTemplateList) DeepCopy() *EKSConfigTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigTemplateList.
func (*EKSConfigTemplateList) DeepCopyInto ¶
func (in *EKSConfigTemplateList) DeepCopyInto(out *EKSConfigTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EKSConfigTemplateList) DeepCopyObject ¶
func (in *EKSConfigTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EKSConfigTemplateResource ¶
type EKSConfigTemplateResource struct {
Spec EKSConfigSpec `json:"spec,omitempty"`
}
EKSConfigTemplateResource defines the Template structure
func (*EKSConfigTemplateResource) DeepCopy ¶
func (in *EKSConfigTemplateResource) DeepCopy() *EKSConfigTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigTemplateResource.
func (*EKSConfigTemplateResource) DeepCopyInto ¶
func (in *EKSConfigTemplateResource) DeepCopyInto(out *EKSConfigTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EKSConfigTemplateSpec ¶
type EKSConfigTemplateSpec struct {
Template EKSConfigTemplateResource `json:"template"`
}
EKSConfigTemplateSpec defines the desired state of EKSConfigTemplate
func (*EKSConfigTemplateSpec) DeepCopy ¶
func (in *EKSConfigTemplateSpec) DeepCopy() *EKSConfigTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigTemplateSpec.
func (*EKSConfigTemplateSpec) DeepCopyInto ¶
func (in *EKSConfigTemplateSpec) DeepCopyInto(out *EKSConfigTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.