v1beta1

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package v1beta1 contains API Schema definitions for the Amazon EKS Bootstrap v1beta1 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 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

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "bootstrap.cluster.x-k8s.io", Version: "v1beta1"}

	// 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_v1beta1_EKSConfigList_To_v1beta2_EKSConfigList

func Convert_v1beta1_EKSConfigList_To_v1beta2_EKSConfigList(in *EKSConfigList, out *v1beta2.EKSConfigList, s conversion.Scope) error

Convert_v1beta1_EKSConfigList_To_v1beta2_EKSConfigList is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigSpec_To_v1beta2_EKSConfigSpec

func Convert_v1beta1_EKSConfigSpec_To_v1beta2_EKSConfigSpec(in *EKSConfigSpec, out *v1beta2.EKSConfigSpec, s conversion.Scope) error

Convert_v1beta1_EKSConfigSpec_To_v1beta2_EKSConfigSpec is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigStatus_To_v1beta2_EKSConfigStatus

func Convert_v1beta1_EKSConfigStatus_To_v1beta2_EKSConfigStatus(in *EKSConfigStatus, out *v1beta2.EKSConfigStatus, s conversion.Scope) error

Convert_v1beta1_EKSConfigStatus_To_v1beta2_EKSConfigStatus is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigTemplateList_To_v1beta2_EKSConfigTemplateList

func Convert_v1beta1_EKSConfigTemplateList_To_v1beta2_EKSConfigTemplateList(in *EKSConfigTemplateList, out *v1beta2.EKSConfigTemplateList, s conversion.Scope) error

Convert_v1beta1_EKSConfigTemplateList_To_v1beta2_EKSConfigTemplateList is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigTemplateResource_To_v1beta2_EKSConfigTemplateResource

func Convert_v1beta1_EKSConfigTemplateResource_To_v1beta2_EKSConfigTemplateResource(in *EKSConfigTemplateResource, out *v1beta2.EKSConfigTemplateResource, s conversion.Scope) error

Convert_v1beta1_EKSConfigTemplateResource_To_v1beta2_EKSConfigTemplateResource is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigTemplateSpec_To_v1beta2_EKSConfigTemplateSpec

func Convert_v1beta1_EKSConfigTemplateSpec_To_v1beta2_EKSConfigTemplateSpec(in *EKSConfigTemplateSpec, out *v1beta2.EKSConfigTemplateSpec, s conversion.Scope) error

Convert_v1beta1_EKSConfigTemplateSpec_To_v1beta2_EKSConfigTemplateSpec is an autogenerated conversion function.

func Convert_v1beta1_EKSConfigTemplate_To_v1beta2_EKSConfigTemplate

func Convert_v1beta1_EKSConfigTemplate_To_v1beta2_EKSConfigTemplate(in *EKSConfigTemplate, out *v1beta2.EKSConfigTemplate, s conversion.Scope) error

Convert_v1beta1_EKSConfigTemplate_To_v1beta2_EKSConfigTemplate is an autogenerated conversion function.

func Convert_v1beta1_EKSConfig_To_v1beta2_EKSConfig

func Convert_v1beta1_EKSConfig_To_v1beta2_EKSConfig(in *EKSConfig, out *v1beta2.EKSConfig, s conversion.Scope) error

Convert_v1beta1_EKSConfig_To_v1beta2_EKSConfig is an autogenerated conversion function.

func Convert_v1beta1_PauseContainer_To_v1beta2_PauseContainer

func Convert_v1beta1_PauseContainer_To_v1beta2_PauseContainer(in *PauseContainer, out *v1beta2.PauseContainer, s conversion.Scope) error

Convert_v1beta1_PauseContainer_To_v1beta2_PauseContainer is an autogenerated conversion function.

func Convert_v1beta2_EKSConfigList_To_v1beta1_EKSConfigList

func Convert_v1beta2_EKSConfigList_To_v1beta1_EKSConfigList(in *v1beta2.EKSConfigList, out *EKSConfigList, s conversion.Scope) error

Convert_v1beta2_EKSConfigList_To_v1beta1_EKSConfigList is an autogenerated conversion function.

func Convert_v1beta2_EKSConfigSpec_To_v1beta1_EKSConfigSpec

func Convert_v1beta2_EKSConfigSpec_To_v1beta1_EKSConfigSpec(in *v1beta2.EKSConfigSpec, out *EKSConfigSpec, s apiconversion.Scope) error

Convert_v1beta2_EKSConfigSpec_To_v1beta1_EKSConfigSpec converts a v1beta2 EKSConfigSpec receiver to a v1beta1 EKSConfigSpec.

func Convert_v1beta2_EKSConfigStatus_To_v1beta1_EKSConfigStatus

func Convert_v1beta2_EKSConfigStatus_To_v1beta1_EKSConfigStatus(in *v1beta2.EKSConfigStatus, out *EKSConfigStatus, s conversion.Scope) error

Convert_v1beta2_EKSConfigStatus_To_v1beta1_EKSConfigStatus is an autogenerated conversion function.

func Convert_v1beta2_EKSConfigTemplateList_To_v1beta1_EKSConfigTemplateList

func Convert_v1beta2_EKSConfigTemplateList_To_v1beta1_EKSConfigTemplateList(in *v1beta2.EKSConfigTemplateList, out *EKSConfigTemplateList, s conversion.Scope) error

Convert_v1beta2_EKSConfigTemplateList_To_v1beta1_EKSConfigTemplateList is an autogenerated conversion function.

func Convert_v1beta2_EKSConfigTemplateResource_To_v1beta1_EKSConfigTemplateResource

func Convert_v1beta2_EKSConfigTemplateResource_To_v1beta1_EKSConfigTemplateResource(in *v1beta2.EKSConfigTemplateResource, out *EKSConfigTemplateResource, s conversion.Scope) error

Convert_v1beta2_EKSConfigTemplateResource_To_v1beta1_EKSConfigTemplateResource is an autogenerated conversion function.

func Convert_v1beta2_EKSConfigTemplateSpec_To_v1beta1_EKSConfigTemplateSpec

func Convert_v1beta2_EKSConfigTemplateSpec_To_v1beta1_EKSConfigTemplateSpec(in *v1beta2.EKSConfigTemplateSpec, out *EKSConfigTemplateSpec, s conversion.Scope) error

Convert_v1beta2_EKSConfigTemplateSpec_To_v1beta1_EKSConfigTemplateSpec is an autogenerated conversion function.

func Convert_v1beta2_EKSConfigTemplate_To_v1beta1_EKSConfigTemplate

func Convert_v1beta2_EKSConfigTemplate_To_v1beta1_EKSConfigTemplate(in *v1beta2.EKSConfigTemplate, out *EKSConfigTemplate, s conversion.Scope) error

Convert_v1beta2_EKSConfigTemplate_To_v1beta1_EKSConfigTemplate is an autogenerated conversion function.

func Convert_v1beta2_EKSConfig_To_v1beta1_EKSConfig

func Convert_v1beta2_EKSConfig_To_v1beta1_EKSConfig(in *v1beta2.EKSConfig, out *EKSConfig, s conversion.Scope) error

Convert_v1beta2_EKSConfig_To_v1beta1_EKSConfig is an autogenerated conversion function.

func Convert_v1beta2_PauseContainer_To_v1beta1_PauseContainer

func Convert_v1beta2_PauseContainer_To_v1beta1_PauseContainer(in *v1beta2.PauseContainer, out *PauseContainer, s conversion.Scope) error

Convert_v1beta2_PauseContainer_To_v1beta1_PauseContainer is an autogenerated conversion function.

func RegisterConversions

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 Amazon EKS Machine Bootstrap Configuration API.

func (*EKSConfig) ConvertFrom

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

ConvertFrom converts the v1beta2 EKSConfig receiver to a v1beta1 EKSConfig.

func (*EKSConfig) ConvertTo

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

ConvertTo converts the v1beta1 EKSConfig receiver to a v1beta2 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() clusterv1.Conditions

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

func (*EKSConfig) SetConditions

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

SetConditions sets the underlying service state of the EKSConfig to the predescribed 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) ConvertFrom

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

ConvertFrom converts the v1beta2 EKSConfigList receiver to a v1beta1 EKSConfigList.

func (*EKSConfigList) ConvertTo

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

ConvertTo converts the v1beta1 EKSConfigList receiver to a v1beta2 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 {
	// KubeletExtraArgs passes the specified kubelet args into the Amazon EKS machine bootstrap script
	// +optional
	KubeletExtraArgs map[string]string `json:"kubeletExtraArgs,omitempty"`
	// ContainerRuntime specify the container runtime to use when bootstrapping EKS.
	// +optional
	ContainerRuntime *string `json:"containerRuntime,omitempty"`
	//  DNSClusterIP overrides the IP address to use for DNS queries within the cluster.
	// +optional
	DNSClusterIP *string `json:"dnsClusterIP,omitempty"`
	// DockerConfigJson is used for the contents of the /etc/docker/daemon.json file. Useful if you want a custom config differing from the default one in the AMI.
	// This is expected to be a json string.
	// +optional
	DockerConfigJSON *string `json:"dockerConfigJson,omitempty"`
	// APIRetryAttempts is the number of retry attempts for AWS API call.
	// +optional
	APIRetryAttempts *int `json:"apiRetryAttempts,omitempty"`
	// PauseContainer allows customization of the pause container to use.
	// +optional
	PauseContainer *PauseContainer `json:"pauseContainer,omitempty"`
	// UseMaxPods  sets --max-pods for the kubelet when true.
	// +optional
	UseMaxPods *bool `json:"useMaxPods,omitempty"`

	// ServiceIPV6Cidr is the ipv6 cidr range of the cluster. If this is specified then
	// the ip family will be set to ipv6.
	// +optional
	ServiceIPV6Cidr *string `json:"serviceIPV6Cidr,omitempty"`
}

EKSConfigSpec defines the desired state of Amazon EKS Bootstrap Configuration.

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 the Amazon EKS Bootstrap Configuration.

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 Amazon EKS Bootstrap Configuration Template API.

func (*EKSConfigTemplate) ConvertFrom

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

ConvertFrom converts the v1beta2 EKSConfigTemplate receiver to a v1beta1 EKSConfigTemplate.

func (*EKSConfigTemplate) ConvertTo

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

ConvertTo converts the v1beta1 EKSConfigTemplate receiver to a v1beta2 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 Amazon EKS Bootstrap Configuration Templates.

func (*EKSConfigTemplateList) ConvertFrom

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

ConvertFrom converts the v1beta2 EKSConfigTemplateList receiver to a v1beta1 EKSConfigTemplateList.

func (*EKSConfigTemplateList) ConvertTo

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

ConvertTo converts the v1beta1 EKSConfigTemplateList receiver to a v1beta2 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 templated EKSConfig Amazon EKS Bootstrap Configuration resources.

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.

type PauseContainer

type PauseContainer struct {
	//  AccountNumber is the AWS account number to pull the pause container from.
	AccountNumber string `json:"accountNumber"`
	// Version is the tag of the pause container to use.
	Version string `json:"version"`
}

PauseContainer contains details of pause container.

func (*PauseContainer) DeepCopy

func (in *PauseContainer) DeepCopy() *PauseContainer

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

func (*PauseContainer) DeepCopyInto

func (in *PauseContainer) DeepCopyInto(out *PauseContainer)

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