v1alpha3

package
v1.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

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

View Source
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 clusterv1alpha3.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

View Source
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

func Convert_v1alpha3_EKSConfigList_To_v1beta1_EKSConfigList added in v1.0.0

func Convert_v1alpha3_EKSConfigList_To_v1beta1_EKSConfigList(in *EKSConfigList, out *v1beta1.EKSConfigList, s conversion.Scope) error

Convert_v1alpha3_EKSConfigList_To_v1beta1_EKSConfigList is an autogenerated conversion function.

func Convert_v1alpha3_EKSConfigSpec_To_v1beta1_EKSConfigSpec added in v1.0.0

func Convert_v1alpha3_EKSConfigSpec_To_v1beta1_EKSConfigSpec(in *EKSConfigSpec, out *v1beta1.EKSConfigSpec, s conversion.Scope) error

Convert_v1alpha3_EKSConfigSpec_To_v1beta1_EKSConfigSpec is an autogenerated conversion function.

func Convert_v1alpha3_EKSConfigStatus_To_v1beta1_EKSConfigStatus added in v1.0.0

func Convert_v1alpha3_EKSConfigStatus_To_v1beta1_EKSConfigStatus(in *EKSConfigStatus, out *v1beta1.EKSConfigStatus, s conversion.Scope) error

Convert_v1alpha3_EKSConfigStatus_To_v1beta1_EKSConfigStatus is an autogenerated conversion function.

func Convert_v1alpha3_EKSConfigTemplateList_To_v1beta1_EKSConfigTemplateList added in v1.0.0

func Convert_v1alpha3_EKSConfigTemplateList_To_v1beta1_EKSConfigTemplateList(in *EKSConfigTemplateList, out *v1beta1.EKSConfigTemplateList, s conversion.Scope) error

Convert_v1alpha3_EKSConfigTemplateList_To_v1beta1_EKSConfigTemplateList is an autogenerated conversion function.

func Convert_v1alpha3_EKSConfigTemplateResource_To_v1beta1_EKSConfigTemplateResource added in v1.0.0

func Convert_v1alpha3_EKSConfigTemplateResource_To_v1beta1_EKSConfigTemplateResource(in *EKSConfigTemplateResource, out *v1beta1.EKSConfigTemplateResource, s conversion.Scope) error

Convert_v1alpha3_EKSConfigTemplateResource_To_v1beta1_EKSConfigTemplateResource is an autogenerated conversion function.

func Convert_v1alpha3_EKSConfigTemplateSpec_To_v1beta1_EKSConfigTemplateSpec added in v1.0.0

func Convert_v1alpha3_EKSConfigTemplateSpec_To_v1beta1_EKSConfigTemplateSpec(in *EKSConfigTemplateSpec, out *v1beta1.EKSConfigTemplateSpec, s conversion.Scope) error

Convert_v1alpha3_EKSConfigTemplateSpec_To_v1beta1_EKSConfigTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha3_EKSConfigTemplate_To_v1beta1_EKSConfigTemplate added in v1.0.0

func Convert_v1alpha3_EKSConfigTemplate_To_v1beta1_EKSConfigTemplate(in *EKSConfigTemplate, out *v1beta1.EKSConfigTemplate, s conversion.Scope) error

Convert_v1alpha3_EKSConfigTemplate_To_v1beta1_EKSConfigTemplate is an autogenerated conversion function.

func Convert_v1alpha3_EKSConfig_To_v1beta1_EKSConfig added in v1.0.0

func Convert_v1alpha3_EKSConfig_To_v1beta1_EKSConfig(in *EKSConfig, out *v1beta1.EKSConfig, s conversion.Scope) error

Convert_v1alpha3_EKSConfig_To_v1beta1_EKSConfig is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigList_To_v1alpha3_EKSConfigList added in v1.0.0

func Convert_v1beta1_EKSConfigList_To_v1alpha3_EKSConfigList(in *v1beta1.EKSConfigList, out *EKSConfigList, s conversion.Scope) error

Convert_v1beta1_EKSConfigList_To_v1alpha3_EKSConfigList is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigSpec_To_v1alpha3_EKSConfigSpec added in v1.0.0

func Convert_v1beta1_EKSConfigSpec_To_v1alpha3_EKSConfigSpec(in *v1beta1.EKSConfigSpec, out *EKSConfigSpec, s apiconversion.Scope) error

func Convert_v1beta1_EKSConfigStatus_To_v1alpha3_EKSConfigStatus added in v1.0.0

func Convert_v1beta1_EKSConfigStatus_To_v1alpha3_EKSConfigStatus(in *v1beta1.EKSConfigStatus, out *EKSConfigStatus, s conversion.Scope) error

Convert_v1beta1_EKSConfigStatus_To_v1alpha3_EKSConfigStatus is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigTemplateList_To_v1alpha3_EKSConfigTemplateList added in v1.0.0

func Convert_v1beta1_EKSConfigTemplateList_To_v1alpha3_EKSConfigTemplateList(in *v1beta1.EKSConfigTemplateList, out *EKSConfigTemplateList, s conversion.Scope) error

Convert_v1beta1_EKSConfigTemplateList_To_v1alpha3_EKSConfigTemplateList is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigTemplateResource_To_v1alpha3_EKSConfigTemplateResource added in v1.0.0

func Convert_v1beta1_EKSConfigTemplateResource_To_v1alpha3_EKSConfigTemplateResource(in *v1beta1.EKSConfigTemplateResource, out *EKSConfigTemplateResource, s conversion.Scope) error

Convert_v1beta1_EKSConfigTemplateResource_To_v1alpha3_EKSConfigTemplateResource is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigTemplateSpec_To_v1alpha3_EKSConfigTemplateSpec added in v1.0.0

func Convert_v1beta1_EKSConfigTemplateSpec_To_v1alpha3_EKSConfigTemplateSpec(in *v1beta1.EKSConfigTemplateSpec, out *EKSConfigTemplateSpec, s conversion.Scope) error

Convert_v1beta1_EKSConfigTemplateSpec_To_v1alpha3_EKSConfigTemplateSpec is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigTemplate_To_v1alpha3_EKSConfigTemplate added in v1.0.0

func Convert_v1beta1_EKSConfigTemplate_To_v1alpha3_EKSConfigTemplate(in *v1beta1.EKSConfigTemplate, out *EKSConfigTemplate, s conversion.Scope) error

Convert_v1beta1_EKSConfigTemplate_To_v1alpha3_EKSConfigTemplate is an autogenerated conversion function.

func Convert_v1beta1_EKSConfig_To_v1alpha3_EKSConfig added in v1.0.0

func Convert_v1beta1_EKSConfig_To_v1alpha3_EKSConfig(in *v1beta1.EKSConfig, out *EKSConfig, s conversion.Scope) error

Convert_v1beta1_EKSConfig_To_v1alpha3_EKSConfig is an autogenerated conversion function.

func RegisterConversions added in v0.7.0

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

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) ConvertFrom added in v0.7.0

func (r *EKSConfig) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the v1beta1 EKSConfig receiver to a v1alpha3 EKSConfig.

func (*EKSConfig) ConvertTo added in v0.7.0

func (r *EKSConfig) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts the v1alpha3 EKSConfig receiver to a v1beta1 EKSConfig.

func (*EKSConfig) DeepCopy

func (in *EKSConfig) DeepCopy() *EKSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfig.

func (*EKSConfig) DeepCopyInto

func (in *EKSConfig) DeepCopyInto(out *EKSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EKSConfig) DeepCopyObject

func (in *EKSConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EKSConfig) GetConditions

func (r *EKSConfig) GetConditions() clusterv1alpha3.Conditions

GetConditions returns the observations of the operational state of the EKSConfig resource.

func (*EKSConfig) SetConditions

func (r *EKSConfig) SetConditions(conditions clusterv1alpha3.Conditions)

SetConditions sets the underlying service state of the EKSConfig to the predescribed clusterv1alpha3.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) ConvertFrom added in v0.7.0

func (r *EKSConfigList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the v1beta1 EKSConfigList receiver to a v1alpha3 EKSConfigList.

func (*EKSConfigList) ConvertTo added in v0.7.0

func (r *EKSConfigList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts the v1alpha3 EKSConfigList receiver to a v1beta1 EKSConfigList.

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 clusterv1alpha3.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) ConvertFrom added in v0.7.0

func (r *EKSConfigTemplate) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the v1beta1 EKSConfigTemplate receiver to a v1alpha3 EKSConfigTemplate.

func (*EKSConfigTemplate) ConvertTo added in v0.7.0

func (r *EKSConfigTemplate) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts the v1alpha3 EKSConfigTemplate receiver to a v1beta1 EKSConfigTemplate.

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) ConvertFrom added in v0.7.0

func (r *EKSConfigTemplateList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the v1beta1 EKSConfigTemplateList receiver to a v1alpha3 EKSConfigTemplateList.

func (*EKSConfigTemplateList) ConvertTo added in v0.7.0

func (r *EKSConfigTemplateList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts the v1alpha3 EKSConfigTemplateList receiver to a v1beta1 EKSConfigTemplateList.

func (*EKSConfigTemplateList) DeepCopy

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigTemplateResource.

func (*EKSConfigTemplateResource) DeepCopyInto

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL