v1alpha1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the anywhere v1alpha1 API group +kubebuilder:object:generate=true +groupName=anywhere.eks.amazonaws.com

Index

Constants

View Source
const (
	ClusterKind         = "Cluster"
	YamlSeparator       = "\n---\n"
	RegistryMirrorCAKey = "EKSA_REGISTRY_MIRROR_CA"
)
View Source
const (
	GitOpsConfigKind     = "GitOpsConfig"
	FluxDefaultNamespace = "flux-system"
	FluxDefaultBranch    = "main"
)
View Source
const (
	SnowMachineConfigKind                   = "SnowMachineConfig"
	DefaultSnowSshKeyName                   = "default"
	DefaultSnowInstanceType                 = SbeCLarge
	DefaultSnowPhysicalNetworkConnectorType = SFPPlus
)
View Source
const (
	SFPPlus PhysicalNetworkConnectorType = "SFP_PLUS"
	QSFP    PhysicalNetworkConnectorType = "QSFP"

	SbeCLarge   SnowInstanceType = "sbe-c.large"
	SbeCXLarge  SnowInstanceType = "sbe-c.xlarge"
	SbeC2XLarge SnowInstanceType = "sbe-c.2xlarge"
	SbeC4XLarge SnowInstanceType = "sbe-c.4xlarge"
)
View Source
const (
	VSphereMachineConfigKind = "VSphereMachineConfig"
	DefaultVSphereDiskGiB    = 25
	DefaultVSphereNumCPUs    = 2
	DefaultVSphereMemoryMiB  = 8192
	DefaultVSphereOSFamily   = Bottlerocket
)
View Source
const AWSDatacenterKind = "AWSDatacenterConfig"
View Source
const (
	AWSIamConfigKind = "AWSIamConfig"
)
View Source
const CloudStackDatacenterKind = "CloudStackDatacenterConfig"
View Source
const CloudStackMachineConfigKind = "CloudStackMachineConfig"
View Source
const DockerDatacenterKind = "DockerDatacenterConfig"
View Source
const FluxConfigKind = "FluxConfig"
View Source
const OIDCConfigKind = "OIDCConfig"
View Source
const SnowDatacenterKind = "SnowDatacenterConfig"
View Source
const TinkerbellDatacenterKind = "TinkerbellDatacenterConfig"
View Source
const TinkerbellMachineConfigKind = "TinkerbellMachineConfig"
View Source
const TinkerbellTemplateConfigKind = "TinkerbellTemplateConfig"
View Source
const VSphereDatacenterKind = "VSphereDatacenterConfig"

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "anywhere.eks.amazonaws.com", 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

func CNIPluginSame added in v0.8.0

func CNIPluginSame(n ClusterNetwork, o ClusterNetwork) bool

func GetCloudStackMachineConfigs added in v0.8.0

func GetCloudStackMachineConfigs(fileName string) (map[string]*CloudStackMachineConfig, error)

func GetTinkerbellMachineConfigs added in v0.7.0

func GetTinkerbellMachineConfigs(fileName string) (map[string]*TinkerbellMachineConfig, error)

func GetTinkerbellTemplateConfig added in v0.8.0

func GetTinkerbellTemplateConfig(fileName string) (map[string]*TinkerbellTemplateConfig, error)

func GetVSphereMachineConfigs

func GetVSphereMachineConfigs(fileName string) (map[string]*VSphereMachineConfig, error)

func LabelsMapEqual added in v0.7.1

func LabelsMapEqual(s1, s2 map[string]string) bool

func ParseClusterConfig

func ParseClusterConfig(fileName string, clusterConfig KindAccessor) error

ParseClusterConfig unmarshalls an API object implementing the KindAccessor interface from a multiobject yaml file in disk. It doesn't set defaults nor validates the object

func ParseClusterConfigFromContent added in v0.7.1

func ParseClusterConfigFromContent(content []byte, clusterConfig KindAccessor) error

ParseClusterConfigFromContent unmarshalls an API object implementing the KindAccessor interface from a multiobject yaml content. It doesn't set defaults nor validates the object

func RefSliceEqual

func RefSliceEqual(a, b []Ref) bool

func RequiredClaimsSliceEqual

func RequiredClaimsSliceEqual(a, b []OIDCConfigRequiredClaim) bool

func SliceEqual

func SliceEqual(a, b []string) bool

func TaintsSliceEqual added in v0.6.1

func TaintsSliceEqual(s1, s2 []corev1.Taint) bool

func UsersSliceEqual added in v0.8.0

func UsersSliceEqual(a, b []UserConfiguration) bool

func ValidateClusterConfigContent

func ValidateClusterConfigContent(clusterConfig *Cluster) error

ValidateClusterConfigContent validates a Cluster object without modifying it Some of the validations are a bit heavy and need a network connection

func ValidateClusterName added in v0.7.0

func ValidateClusterName(clusterName string) error

func ValidateClusterNameLength added in v0.7.0

func ValidateClusterNameLength(clusterName string) error

func WorkerNodeGroupConfigurationSliceTaintsEqual added in v0.7.1

func WorkerNodeGroupConfigurationSliceTaintsEqual(a, b []WorkerNodeGroupConfiguration) bool

func WorkerNodeGroupConfigurationsLabelsMapEqual added in v0.7.1

func WorkerNodeGroupConfigurationsLabelsMapEqual(a, b []WorkerNodeGroupConfiguration) bool

func WorkerNodeGroupConfigurationsSliceEqual added in v0.6.0

func WorkerNodeGroupConfigurationsSliceEqual(a, b []WorkerNodeGroupConfiguration) bool

Types

type AWSDatacenterConfig

type AWSDatacenterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AWSDatacenterConfigSpec   `json:"spec,omitempty"`
	Status AWSDatacenterConfigStatus `json:"status,omitempty"`
}

AWSDatacenterConfig is the Schema for the AWSDatacenterConfigs API

func GetAWSDatacenterConfig

func GetAWSDatacenterConfig(fileName string) (*AWSDatacenterConfig, error)

func (*AWSDatacenterConfig) ClearPauseAnnotation

func (a *AWSDatacenterConfig) ClearPauseAnnotation()

func (*AWSDatacenterConfig) ConvertConfigToConfigGenerateStruct added in v0.6.0

func (a *AWSDatacenterConfig) ConvertConfigToConfigGenerateStruct() *AWSDatacenterConfigGenerate

func (*AWSDatacenterConfig) DeepCopy

func (in *AWSDatacenterConfig) DeepCopy() *AWSDatacenterConfig

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

func (*AWSDatacenterConfig) DeepCopyInto

func (in *AWSDatacenterConfig) DeepCopyInto(out *AWSDatacenterConfig)

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

func (*AWSDatacenterConfig) DeepCopyObject

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

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

func (*AWSDatacenterConfig) ExpectedKind

func (a *AWSDatacenterConfig) ExpectedKind() string

func (*AWSDatacenterConfig) Kind

func (a *AWSDatacenterConfig) Kind() string

func (*AWSDatacenterConfig) PauseReconcile

func (a *AWSDatacenterConfig) PauseReconcile()

type AWSDatacenterConfigGenerate

type AWSDatacenterConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec AWSDatacenterConfigSpec `json:"spec,omitempty"`
}

Same as AWSDatacenterConfig except stripped down for generation of yaml file during generate clusterconfig

func NewAWSDatacenterConfigGenerate

func NewAWSDatacenterConfigGenerate(clusterName string) *AWSDatacenterConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*AWSDatacenterConfigGenerate) APIVersion

func (c *AWSDatacenterConfigGenerate) APIVersion() string

func (*AWSDatacenterConfigGenerate) Kind

func (*AWSDatacenterConfigGenerate) Name

type AWSDatacenterConfigList

type AWSDatacenterConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AWSDatacenterConfig `json:"items"`
}

AWSDatacenterConfigList contains a list of AWSDatacenterConfig

func (*AWSDatacenterConfigList) DeepCopy

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

func (*AWSDatacenterConfigList) DeepCopyInto

func (in *AWSDatacenterConfigList) DeepCopyInto(out *AWSDatacenterConfigList)

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

func (*AWSDatacenterConfigList) DeepCopyObject

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

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

type AWSDatacenterConfigSpec

type AWSDatacenterConfigSpec struct {
	Region string `json:"region"`
	AmiID  string `json:"amiID"`
}

AWSDatacenterConfigSpec defines the desired state of AWSDatacenterConfig

func (*AWSDatacenterConfigSpec) DeepCopy

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

func (*AWSDatacenterConfigSpec) DeepCopyInto

func (in *AWSDatacenterConfigSpec) DeepCopyInto(out *AWSDatacenterConfigSpec)

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

type AWSDatacenterConfigStatus

type AWSDatacenterConfigStatus struct {
}

AWSDatacenterConfigStatus defines the observed state of AWSDatacenterConfig

func (*AWSDatacenterConfigStatus) DeepCopy

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

func (*AWSDatacenterConfigStatus) DeepCopyInto

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

type AWSIamConfig added in v0.6.0

type AWSIamConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AWSIamConfigSpec   `json:"spec,omitempty"`
	Status AWSIamConfigStatus `json:"status,omitempty"`
}

AWSIamConfig is the Schema for the awsiamconfigs API

func GetAndValidateAWSIamConfig added in v0.6.0

func GetAndValidateAWSIamConfig(fileName string, refName string, clusterConfig *Cluster) (*AWSIamConfig, error)

func (*AWSIamConfig) ConvertConfigToConfigGenerateStruct added in v0.6.0

func (c *AWSIamConfig) ConvertConfigToConfigGenerateStruct() *AWSIamConfigGenerate

func (*AWSIamConfig) DeepCopy added in v0.6.0

func (in *AWSIamConfig) DeepCopy() *AWSIamConfig

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

func (*AWSIamConfig) DeepCopyInto added in v0.6.0

func (in *AWSIamConfig) DeepCopyInto(out *AWSIamConfig)

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

func (*AWSIamConfig) DeepCopyObject added in v0.6.0

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

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

func (*AWSIamConfig) ExpectedKind added in v0.6.0

func (c *AWSIamConfig) ExpectedKind() string

func (*AWSIamConfig) Kind added in v0.6.0

func (c *AWSIamConfig) Kind() string

func (*AWSIamConfig) SetDefaults added in v0.8.0

func (c *AWSIamConfig) SetDefaults()

func (*AWSIamConfig) SetupWebhookWithManager added in v0.6.0

func (r *AWSIamConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AWSIamConfig) Validate added in v0.8.0

func (c *AWSIamConfig) Validate() error

func (*AWSIamConfig) ValidateCreate added in v0.6.0

func (r *AWSIamConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AWSIamConfig) ValidateDelete added in v0.6.0

func (r *AWSIamConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AWSIamConfig) ValidateUpdate added in v0.6.0

func (r *AWSIamConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AWSIamConfigGenerate added in v0.6.0

type AWSIamConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec AWSIamConfigSpec `json:"spec,omitempty"`
}

+kubebuilder:object:generate=false Same as AWSIamConfig except stripped down for generation of yaml file while writing to github repo when flux is enabled

type AWSIamConfigList added in v0.6.0

type AWSIamConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AWSIamConfig `json:"items"`
}

AWSIamConfigList contains a list of AWSIamConfig

func (*AWSIamConfigList) DeepCopy added in v0.6.0

func (in *AWSIamConfigList) DeepCopy() *AWSIamConfigList

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

func (*AWSIamConfigList) DeepCopyInto added in v0.6.0

func (in *AWSIamConfigList) DeepCopyInto(out *AWSIamConfigList)

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

func (*AWSIamConfigList) DeepCopyObject added in v0.6.0

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

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

type AWSIamConfigSpec added in v0.6.0

type AWSIamConfigSpec struct {
	// AWSRegion defines a region in an AWS partition
	AWSRegion string `json:"awsRegion"`
	// BackendMode defines multiple backends for aws-iam-authenticator server
	// The server searches for mappings in order
	BackendMode []string `json:"backendMode"`
	// +kubebuilder:validation:Optional
	MapRoles []MapRoles `json:"mapRoles,omitempty"`
	// +kubebuilder:validation:Optional
	MapUsers []MapUsers `json:"mapUsers,omitempty"`
	// Partition defines the AWS partition on which the IAM roles exist
	// +kubebuilder:default:=aws
	// +kubebuilder:validation:Optional
	Partition string `json:"partition,omitempty"`
}

AWSIamConfigSpec defines the desired state of AWSIamConfig

func (*AWSIamConfigSpec) DeepCopy added in v0.6.0

func (in *AWSIamConfigSpec) DeepCopy() *AWSIamConfigSpec

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

func (*AWSIamConfigSpec) DeepCopyInto added in v0.6.0

func (in *AWSIamConfigSpec) DeepCopyInto(out *AWSIamConfigSpec)

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

func (*AWSIamConfigSpec) Equal added in v0.6.0

func (e *AWSIamConfigSpec) Equal(n *AWSIamConfigSpec) bool

type AWSIamConfigStatus added in v0.6.0

type AWSIamConfigStatus struct{}

AWSIamConfigStatus defines the observed state of AWSIamConfig

func (*AWSIamConfigStatus) DeepCopy added in v0.6.0

func (in *AWSIamConfigStatus) DeepCopy() *AWSIamConfigStatus

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

func (*AWSIamConfigStatus) DeepCopyInto added in v0.6.0

func (in *AWSIamConfigStatus) DeepCopyInto(out *AWSIamConfigStatus)

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

type ActionOpt added in v0.8.0

type ActionOpt func(action *[]tinkerbell.Action)

+kubebuilder:object:generate=false

func WithDefaultActionsFromBundle added in v0.8.0

func WithDefaultActionsFromBundle(b v1alpha1.VersionsBundle) []ActionOpt

type CNI

type CNI string
const (
	Cilium           CNI = "cilium"
	CiliumEnterprise CNI = "cilium-enterprise"
	Kindnetd         CNI = "kindnetd"
)

type CNIConfig added in v0.8.0

type CNIConfig struct {
	Cilium   *CiliumConfig   `json:"cilium,omitempty"`
	Kindnetd *KindnetdConfig `json:"kindnetd,omitempty"`
}

func (*CNIConfig) DeepCopy added in v0.8.0

func (in *CNIConfig) DeepCopy() *CNIConfig

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

func (*CNIConfig) DeepCopyInto added in v0.8.0

func (in *CNIConfig) DeepCopyInto(out *CNIConfig)

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

func (*CNIConfig) Equal added in v0.8.0

func (n *CNIConfig) Equal(o *CNIConfig) bool

type CiliumConfig added in v0.8.0

type CiliumConfig struct {
	// PolicyEnforcementMode determines communication allowed between pods. Accepted values are default, always, never.
	PolicyEnforcementMode CiliumPolicyEnforcementMode `json:"policyEnforcementMode,omitempty"`
}

func (*CiliumConfig) DeepCopy added in v0.8.0

func (in *CiliumConfig) DeepCopy() *CiliumConfig

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

func (*CiliumConfig) DeepCopyInto added in v0.8.0

func (in *CiliumConfig) DeepCopyInto(out *CiliumConfig)

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

func (*CiliumConfig) Equal added in v0.8.0

func (n *CiliumConfig) Equal(o *CiliumConfig) bool

type CiliumPolicyEnforcementMode added in v0.8.0

type CiliumPolicyEnforcementMode string
const (
	CiliumPolicyModeDefault CiliumPolicyEnforcementMode = "default"
	CiliumPolicyModeAlways  CiliumPolicyEnforcementMode = "always"
	CiliumPolicyModeNever   CiliumPolicyEnforcementMode = "never"
)

type CloudStackDatacenterConfig added in v0.8.0

type CloudStackDatacenterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudStackDatacenterConfigSpec   `json:"spec,omitempty"`
	Status CloudStackDatacenterConfigStatus `json:"status,omitempty"`
}

CloudStackDatacenterConfig is the Schema for the cloudstackdatacenterconfigs API

func GetCloudStackDatacenterConfig added in v0.8.0

func GetCloudStackDatacenterConfig(fileName string) (*CloudStackDatacenterConfig, error)

func (*CloudStackDatacenterConfig) ClearPauseAnnotation added in v0.8.0

func (v *CloudStackDatacenterConfig) ClearPauseAnnotation()

func (*CloudStackDatacenterConfig) ConvertConfigToConfigGenerateStruct added in v0.8.0

func (v *CloudStackDatacenterConfig) ConvertConfigToConfigGenerateStruct() *CloudStackDatacenterConfigGenerate

func (*CloudStackDatacenterConfig) DeepCopy added in v0.8.0

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

func (*CloudStackDatacenterConfig) DeepCopyInto added in v0.8.0

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

func (*CloudStackDatacenterConfig) DeepCopyObject added in v0.8.0

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

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

func (*CloudStackDatacenterConfig) ExpectedKind added in v0.8.0

func (v *CloudStackDatacenterConfig) ExpectedKind() string

func (*CloudStackDatacenterConfig) IsReconcilePaused added in v0.8.0

func (v *CloudStackDatacenterConfig) IsReconcilePaused() bool

func (*CloudStackDatacenterConfig) Kind added in v0.8.0

func (*CloudStackDatacenterConfig) Marshallable added in v0.8.0

func (v *CloudStackDatacenterConfig) Marshallable() Marshallable

func (*CloudStackDatacenterConfig) PauseReconcile added in v0.8.0

func (v *CloudStackDatacenterConfig) PauseReconcile()

func (*CloudStackDatacenterConfig) SetupWebhookWithManager added in v0.8.0

func (r *CloudStackDatacenterConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CloudStackDatacenterConfig) ValidateCreate added in v0.8.0

func (r *CloudStackDatacenterConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CloudStackDatacenterConfig) ValidateDelete added in v0.8.0

func (r *CloudStackDatacenterConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CloudStackDatacenterConfig) ValidateUpdate added in v0.8.0

func (r *CloudStackDatacenterConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CloudStackDatacenterConfigGenerate added in v0.8.0

type CloudStackDatacenterConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec CloudStackDatacenterConfigSpec `json:"spec,omitempty"`
}

Same as CloudStackDatacenterConfig except stripped down for generation of yaml file during generate clusterconfig

func NewCloudStackDatacenterConfigGenerate added in v0.8.0

func NewCloudStackDatacenterConfigGenerate(clusterName string) *CloudStackDatacenterConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*CloudStackDatacenterConfigGenerate) APIVersion added in v0.8.0

func (*CloudStackDatacenterConfigGenerate) Kind added in v0.8.0

func (*CloudStackDatacenterConfigGenerate) Name added in v0.8.0

type CloudStackDatacenterConfigList added in v0.8.0

type CloudStackDatacenterConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudStackDatacenterConfig `json:"items"`
}

CloudStackDatacenterConfigList contains a list of CloudStackDatacenterConfig

func (*CloudStackDatacenterConfigList) DeepCopy added in v0.8.0

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

func (*CloudStackDatacenterConfigList) DeepCopyInto added in v0.8.0

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

func (*CloudStackDatacenterConfigList) DeepCopyObject added in v0.8.0

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

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

type CloudStackDatacenterConfigSpec added in v0.8.0

type CloudStackDatacenterConfigSpec struct {

	// Domain contains a grouping of accounts. Domains usually contain multiple accounts that have some logical relationship to each other and a set of delegated administrators with some authority over the domain and its subdomains
	Domain string `json:"domain"`
	// Zones is a list of one or more zones that are managed by a single CloudStack management endpoint.
	Zones []CloudStackZone `json:"zones"`
	// Account typically represents a customer of the service provider or a department in a large organization. Multiple users can exist in an account, and all CloudStack resources belong to an account. Accounts have users and users have credentials to operate on resources within that account. If an account name is provided, a domain name must also be provided.
	Account string `json:"account,omitempty"`
	// CloudStack Management API endpoint's IP. It is added to VM's noproxy list
	ManagementApiEndpoint string `json:"managementApiEndpoint"`
}

CloudStackDatacenterConfigSpec defines the desired state of CloudStackDatacenterConfig

func (*CloudStackDatacenterConfigSpec) DeepCopy added in v0.8.0

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

func (*CloudStackDatacenterConfigSpec) DeepCopyInto added in v0.8.0

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

type CloudStackDatacenterConfigStatus added in v0.8.0

type CloudStackDatacenterConfigStatus struct {
}

CloudStackDatacenterConfigStatus defines the observed state of CloudStackDatacenterConfig

func (*CloudStackDatacenterConfigStatus) DeepCopy added in v0.8.0

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

func (*CloudStackDatacenterConfigStatus) DeepCopyInto added in v0.8.0

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

type CloudStackMachineConfig added in v0.8.0

type CloudStackMachineConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudStackMachineConfigSpec   `json:"spec,omitempty"`
	Status CloudStackMachineConfigStatus `json:"status,omitempty"`
}

CloudStackMachineConfig is the Schema for the cloudstackmachineconfigs API

func (*CloudStackMachineConfig) ConvertConfigToConfigGenerateStruct added in v0.8.0

func (c *CloudStackMachineConfig) ConvertConfigToConfigGenerateStruct() *CloudStackMachineConfigGenerate

func (*CloudStackMachineConfig) DeepCopy added in v0.8.0

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

func (*CloudStackMachineConfig) DeepCopyInto added in v0.8.0

func (in *CloudStackMachineConfig) DeepCopyInto(out *CloudStackMachineConfig)

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

func (*CloudStackMachineConfig) DeepCopyObject added in v0.8.0

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

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

func (*CloudStackMachineConfig) GetName added in v0.8.0

func (c *CloudStackMachineConfig) GetName() string

func (*CloudStackMachineConfig) GetNamespace added in v0.8.0

func (c *CloudStackMachineConfig) GetNamespace() string

func (*CloudStackMachineConfig) IsControlPlane added in v0.8.0

func (c *CloudStackMachineConfig) IsControlPlane() bool

func (*CloudStackMachineConfig) IsEtcd added in v0.8.0

func (c *CloudStackMachineConfig) IsEtcd() bool

func (*CloudStackMachineConfig) IsManagement added in v0.8.0

func (c *CloudStackMachineConfig) IsManagement() bool

func (*CloudStackMachineConfig) IsReconcilePaused added in v0.8.0

func (c *CloudStackMachineConfig) IsReconcilePaused() bool

func (*CloudStackMachineConfig) Marshallable added in v0.8.0

func (c *CloudStackMachineConfig) Marshallable() Marshallable

func (*CloudStackMachineConfig) OSFamily added in v0.8.0

func (c *CloudStackMachineConfig) OSFamily() OSFamily

func (*CloudStackMachineConfig) PauseReconcile added in v0.8.0

func (c *CloudStackMachineConfig) PauseReconcile()

func (*CloudStackMachineConfig) SetControlPlane added in v0.8.0

func (c *CloudStackMachineConfig) SetControlPlane()

func (*CloudStackMachineConfig) SetEtcd added in v0.8.0

func (c *CloudStackMachineConfig) SetEtcd()

func (*CloudStackMachineConfig) SetManagement added in v0.8.0

func (c *CloudStackMachineConfig) SetManagement(clusterName string)

func (*CloudStackMachineConfig) SetupWebhookWithManager added in v0.8.0

func (r *CloudStackMachineConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CloudStackMachineConfig) ValidateCreate added in v0.8.0

func (r *CloudStackMachineConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CloudStackMachineConfig) ValidateDelete added in v0.8.0

func (r *CloudStackMachineConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CloudStackMachineConfig) ValidateUpdate added in v0.8.0

func (r *CloudStackMachineConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CloudStackMachineConfigGenerate added in v0.8.0

type CloudStackMachineConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec CloudStackMachineConfigSpec `json:"spec,omitempty"`
}

Same as CloudStackMachineConfig except stripped down for generation of yaml file during generate clusterconfig

func NewCloudStackMachineConfigGenerate added in v0.8.0

func NewCloudStackMachineConfigGenerate(name string) *CloudStackMachineConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*CloudStackMachineConfigGenerate) APIVersion added in v0.8.0

func (c *CloudStackMachineConfigGenerate) APIVersion() string

func (*CloudStackMachineConfigGenerate) Kind added in v0.8.0

func (*CloudStackMachineConfigGenerate) Name added in v0.8.0

type CloudStackMachineConfigList added in v0.8.0

type CloudStackMachineConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudStackMachineConfig `json:"items"`
}

CloudStackMachineConfigList contains a list of CloudStackMachineConfig

func (*CloudStackMachineConfigList) DeepCopy added in v0.8.0

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

func (*CloudStackMachineConfigList) DeepCopyInto added in v0.8.0

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

func (*CloudStackMachineConfigList) DeepCopyObject added in v0.8.0

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

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

type CloudStackMachineConfigSpec added in v0.8.0

type CloudStackMachineConfigSpec struct {

	// Template refers to a VM image template which has been previously registered in CloudStack. It can either be specified as a UUID or name
	Template CloudStackResourceIdentifier `json:"template"`
	// ComputeOffering refers to a compute offering which has been previously registered in CloudStack. It represents a VM’s instance size including number of CPU’s, memory, and CPU speed. It can either be specified as a UUID or name
	ComputeOffering CloudStackResourceIdentifier `json:"computeOffering"`
	// Users consists of an array of objects containing the username, as well as a list of their public keys. These users will be authorized to ssh into the machines
	Users []UserConfiguration `json:"users,omitempty"`
	// AffinityGroupIds allows users to pass in a list of UUIDs for previously-created Affinity Groups. Any VM’s created with this spec will be added to the affinity group, which will dictate which physical host(s) they can be placed on. Affinity groups can be type “affinity” or “anti-affinity” in CloudStack. If they are type “anti-affinity”, all VM’s in the group must be on separate physical hosts for high availability. If they are type “affinity”, all VM’s in the group must be on the same physical host for improved performance
	AffinityGroupIds []string `json:"affinityGroupIds,omitempty"`
	// UserCustomDetails allows users to pass in non-standard key value inputs, outside those defined [here](https://github.com/shapeblue/cloudstack/blob/main/api/src/main/java/com/cloud/vm/VmDetailConstants.java)
	UserCustomDetails map[string]string `json:"userCustomDetails,omitempty"`
}

CloudStackMachineConfigSpec defines the desired state of CloudStackMachineConfig

func (*CloudStackMachineConfigSpec) DeepCopy added in v0.8.0

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

func (*CloudStackMachineConfigSpec) DeepCopyInto added in v0.8.0

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

type CloudStackMachineConfigStatus added in v0.8.0

type CloudStackMachineConfigStatus struct {
}

CloudStackMachineConfigStatus defines the observed state of CloudStackMachineConfig

func (*CloudStackMachineConfigStatus) DeepCopy added in v0.8.0

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

func (*CloudStackMachineConfigStatus) DeepCopyInto added in v0.8.0

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

type CloudStackResourceIdentifier added in v0.8.0

type CloudStackResourceIdentifier struct {
	// Id of a resource in the CloudStack environment. Mutually exclusive with Name
	// +optional
	Id string `json:"id,omitempty"`
	// Name of a resource in the CloudStack environment. Mutually exclusive with Id
	// +optional
	Name string `json:"name,omitempty"`
}

func (*CloudStackResourceIdentifier) DeepCopy added in v0.8.0

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

func (*CloudStackResourceIdentifier) DeepCopyInto added in v0.8.0

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

type CloudStackZone added in v0.8.0

type CloudStackZone struct {
	// Zone is the name or UUID of the CloudStack zone in which clusters should be created. Zones should be managed by a single CloudStack Management endpoint.
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	// Network is the name or UUID of the CloudStack network in which clusters should be created. It can either be an isolated or shared network. If it doesn’t already exist in CloudStack, it’ll automatically be created by CAPC as an isolated network. It can either be specified as a UUID or name
	// In multiple-zones situation, only 'Shared' network is supported.
	Network CloudStackResourceIdentifier `json:"network"`
}

CloudStackZone is an organizational construct typically used to represent a single datacenter, and all its physical and virtual resources exist inside that zone. It can either be specified as a UUID or name

func (*CloudStackZone) DeepCopy added in v0.8.0

func (in *CloudStackZone) DeepCopy() *CloudStackZone

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

func (*CloudStackZone) DeepCopyInto added in v0.8.0

func (in *CloudStackZone) DeepCopyInto(out *CloudStackZone)

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

func (*CloudStackZone) Equals added in v0.8.0

func (z *CloudStackZone) Equals(o *CloudStackZone) bool

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterSpec   `json:"spec,omitempty"`
	Status ClusterStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status Cluster is the Schema for the clusters API

func GetAndValidateClusterConfig

func GetAndValidateClusterConfig(fileName string) (*Cluster, error)

GetClusterConfig parses a Cluster object from a multiobject yaml file in disk sets defaults if necessary and validates the Cluster

func GetClusterConfig

func GetClusterConfig(fileName string) (*Cluster, error)

GetClusterConfig parses a Cluster object from a multiobject yaml file in disk and sets defaults if necessary

func GetClusterConfigFromContent added in v0.7.1

func GetClusterConfigFromContent(content []byte) (*Cluster, error)

GetClusterConfigFromContent parses a Cluster object from a multiobject yaml content

func NewCluster

func NewCluster(clusterName string) *Cluster

func (*Cluster) ClearPauseAnnotation

func (c *Cluster) ClearPauseAnnotation()

func (*Cluster) ControlPlaneAnnotation

func (c *Cluster) ControlPlaneAnnotation() string

func (*Cluster) ConvertConfigToConfigGenerateStruct added in v0.6.0

func (c *Cluster) ConvertConfigToConfigGenerateStruct() *ClusterGenerate

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) Equal added in v0.6.0

func (n *Cluster) Equal(o *Cluster) bool

func (*Cluster) EtcdAnnotation

func (c *Cluster) EtcdAnnotation() string

func (*Cluster) ExpectedKind

func (c *Cluster) ExpectedKind() string

func (*Cluster) GetConditions added in v0.8.0

func (c *Cluster) GetConditions() clusterv1.Conditions

func (*Cluster) IsManaged added in v0.6.0

func (c *Cluster) IsManaged() bool

func (*Cluster) IsReconcilePaused

func (c *Cluster) IsReconcilePaused() bool

func (*Cluster) IsSelfManaged added in v0.6.0

func (s *Cluster) IsSelfManaged() bool

func (*Cluster) Kind

func (c *Cluster) Kind() string

func (*Cluster) MachineConfigRefs added in v0.6.0

func (c *Cluster) MachineConfigRefs() []Ref

func (*Cluster) ManagedBy added in v0.6.0

func (c *Cluster) ManagedBy() string

func (*Cluster) ManagementClusterEqual added in v0.6.0

func (s *Cluster) ManagementClusterEqual(s2 *Cluster) bool

func (*Cluster) PauseReconcile

func (c *Cluster) PauseReconcile()

func (*Cluster) PausedAnnotation

func (c *Cluster) PausedAnnotation() string

func (*Cluster) ResourceType

func (c *Cluster) ResourceType() string

func (*Cluster) SetConditions added in v0.8.0

func (c *Cluster) SetConditions(conditions clusterv1.Conditions)

func (*Cluster) SetDefaults added in v0.8.0

func (n *Cluster) SetDefaults()

func (*Cluster) SetManagedBy added in v0.6.0

func (s *Cluster) SetManagedBy(managementClusterName string)

func (*Cluster) SetSelfManaged added in v0.6.0

func (s *Cluster) SetSelfManaged()

func (*Cluster) SetupWebhookWithManager

func (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Cluster) UseImageMirror added in v0.6.0

func (c *Cluster) UseImageMirror(defaultImage string) string

func (*Cluster) Validate added in v0.8.0

func (n *Cluster) Validate() error

func (*Cluster) ValidateCreate

func (r *Cluster) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Cluster) ValidateDelete

func (r *Cluster) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Cluster) ValidateUpdate

func (r *Cluster) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ClusterGenerate

type ClusterGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec ClusterSpec `json:"spec,omitempty"`
}

+kubebuilder:object:generate=false Same as Cluster except stripped down for generation of yaml file during generate clusterconfig

func NewClusterGenerate

func NewClusterGenerate(clusterName string, opts ...ClusterGenerateOpt) *ClusterGenerate

Used for generating yaml for generate clusterconfig command

func (*ClusterGenerate) SetSelfManaged added in v0.6.1

func (c *ClusterGenerate) SetSelfManaged()

type ClusterGenerateOpt

type ClusterGenerateOpt func(config *ClusterGenerate)

+kubebuilder:object:generate=false

func ControlPlaneConfigCount

func ControlPlaneConfigCount(count int) ClusterGenerateOpt

func ExternalETCDConfigCount

func ExternalETCDConfigCount(count int) ClusterGenerateOpt

func WithCPMachineGroupRef

func WithCPMachineGroupRef(ref ProviderRefAccessor) ClusterGenerateOpt

func WithClusterEndpoint

func WithClusterEndpoint() ClusterGenerateOpt

func WithDatacenterRef

func WithDatacenterRef(ref ProviderRefAccessor) ClusterGenerateOpt

func WithEtcdMachineGroupRef

func WithEtcdMachineGroupRef(ref ProviderRefAccessor) ClusterGenerateOpt

func WithSharedMachineGroupRef

func WithSharedMachineGroupRef(ref ProviderRefAccessor) ClusterGenerateOpt

func WithWorkerMachineGroupRef

func WithWorkerMachineGroupRef(ref ProviderRefAccessor) ClusterGenerateOpt

func WorkerNodeConfigCount

func WorkerNodeConfigCount(count int) ClusterGenerateOpt

func WorkerNodeConfigName added in v0.7.0

func WorkerNodeConfigName(name string) ClusterGenerateOpt

type ClusterList

type ClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Cluster `json:"items"`
}

+kubebuilder:object:root=true ClusterList contains a list of Cluster

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

type ClusterNetwork

type ClusterNetwork struct {
	// Comma-separated list of CIDR blocks to use for pod and service subnets.
	// Defaults to 192.168.0.0/16 for pod subnet.
	Pods     Pods     `json:"pods,omitempty"`
	Services Services `json:"services,omitempty"`
	// Deprecated. Use CNIConfig
	CNI CNI `json:"cni,omitempty"`
	// CNIConfig specifies the CNI plugin to be installed in the cluster
	CNIConfig *CNIConfig `json:"cniConfig,omitempty"`
	DNS       DNS        `json:"dns,omitempty"`
}

func (*ClusterNetwork) DeepCopy

func (in *ClusterNetwork) DeepCopy() *ClusterNetwork

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

func (*ClusterNetwork) DeepCopyInto

func (in *ClusterNetwork) DeepCopyInto(out *ClusterNetwork)

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

func (*ClusterNetwork) Equal

func (n *ClusterNetwork) Equal(o *ClusterNetwork) bool

type ClusterSpec

type ClusterSpec struct {
	KubernetesVersion             KubernetesVersion              `json:"kubernetesVersion,omitempty"`
	ControlPlaneConfiguration     ControlPlaneConfiguration      `json:"controlPlaneConfiguration,omitempty"`
	WorkerNodeGroupConfigurations []WorkerNodeGroupConfiguration `json:"workerNodeGroupConfigurations,omitempty"`
	DatacenterRef                 Ref                            `json:"datacenterRef,omitempty"`
	IdentityProviderRefs          []Ref                          `json:"identityProviderRefs,omitempty"`
	GitOpsRef                     *Ref                           `json:"gitOpsRef,omitempty"`
	// Deprecated: This field has no function and is going to be removed in a future release.
	OverrideClusterSpecFile string         `json:"overrideClusterSpecFile,omitempty"`
	ClusterNetwork          ClusterNetwork `json:"clusterNetwork,omitempty"`
	// +kubebuilder:validation:Optional
	ExternalEtcdConfiguration   *ExternalEtcdConfiguration   `json:"externalEtcdConfiguration,omitempty"`
	ProxyConfiguration          *ProxyConfiguration          `json:"proxyConfiguration,omitempty"`
	RegistryMirrorConfiguration *RegistryMirrorConfiguration `json:"registryMirrorConfiguration,omitempty"`
	ManagementCluster           ManagementCluster            `json:"managementCluster,omitempty"`
	PodIAMConfig                *PodIAMConfig                `json:"podIamConfig,omitempty"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

type ClusterStatus struct {
	// Descriptive message about a fatal problem while reconciling a cluster
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`
	// EksdReleaseRef defines the properties of the EKS-D object on the cluster
	EksdReleaseRef *EksdReleaseRef `json:"eksdReleaseRef,omitempty"`
	// +optional
	Conditions []clusterv1.Condition `json:"conditions,omitempty"`
}

ClusterStatus defines the observed state of Cluster

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type ControlPlaneConfiguration

type ControlPlaneConfiguration struct {
	// Count defines the number of desired control plane nodes. Defaults to 1.
	Count int `json:"count,omitempty"`
	// Endpoint defines the host ip and port to use for the control plane.
	Endpoint *Endpoint `json:"endpoint,omitempty"`
	// MachineGroupRef defines the machine group configuration for the control plane.
	MachineGroupRef *Ref `json:"machineGroupRef,omitempty"`
	// Taints define the set of taints to be applied on control plane nodes
	Taints []corev1.Taint `json:"taints,omitempty"`
	// Labels define the labels to assign to the node
	Labels map[string]string `json:"labels,omitempty"`
}

func (*ControlPlaneConfiguration) DeepCopy

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

func (*ControlPlaneConfiguration) DeepCopyInto

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

func (*ControlPlaneConfiguration) Equal added in v0.6.0

type DNS added in v0.7.0

type DNS struct {
	// ResolvConf refers to the DNS resolver configuration
	ResolvConf *ResolvConf `json:"resolvConf,omitempty"`
}

func (*DNS) DeepCopy added in v0.7.0

func (in *DNS) DeepCopy() *DNS

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

func (*DNS) DeepCopyInto added in v0.7.0

func (in *DNS) DeepCopyInto(out *DNS)

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

func (*DNS) Equal added in v0.8.0

func (n *DNS) Equal(o *DNS) bool

type DockerDatacenterConfig

type DockerDatacenterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DockerDatacenterConfigSpec   `json:"spec,omitempty"`
	Status DockerDatacenterConfigStatus `json:"status,omitempty"`
}

DockerDatacenterConfig is the Schema for the DockerDatacenterConfigs API

func GetDockerDatacenterConfig

func GetDockerDatacenterConfig(fileName string) (*DockerDatacenterConfig, error)

func (*DockerDatacenterConfig) ClearPauseAnnotation

func (d *DockerDatacenterConfig) ClearPauseAnnotation()

func (*DockerDatacenterConfig) ConvertConfigToConfigGenerateStruct added in v0.6.0

func (d *DockerDatacenterConfig) ConvertConfigToConfigGenerateStruct() *DockerDatacenterConfigGenerate

func (*DockerDatacenterConfig) DeepCopy

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

func (*DockerDatacenterConfig) DeepCopyInto

func (in *DockerDatacenterConfig) DeepCopyInto(out *DockerDatacenterConfig)

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

func (*DockerDatacenterConfig) DeepCopyObject

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

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

func (*DockerDatacenterConfig) ExpectedKind

func (d *DockerDatacenterConfig) ExpectedKind() string

func (*DockerDatacenterConfig) Kind

func (d *DockerDatacenterConfig) Kind() string

func (*DockerDatacenterConfig) Marshallable added in v0.6.0

func (d *DockerDatacenterConfig) Marshallable() Marshallable

func (*DockerDatacenterConfig) PauseReconcile

func (d *DockerDatacenterConfig) PauseReconcile()

func (*DockerDatacenterConfig) Validate added in v0.8.0

func (d *DockerDatacenterConfig) Validate() error

type DockerDatacenterConfigGenerate

type DockerDatacenterConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec DockerDatacenterConfigSpec `json:"spec,omitempty"`
}

Same as DockerDatacenterConfig except stripped down for generation of yaml file during generate clusterconfig

func NewDockerDatacenterConfigGenerate

func NewDockerDatacenterConfigGenerate(clusterName string) *DockerDatacenterConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*DockerDatacenterConfigGenerate) APIVersion

func (c *DockerDatacenterConfigGenerate) APIVersion() string

func (*DockerDatacenterConfigGenerate) Kind

func (*DockerDatacenterConfigGenerate) Name

type DockerDatacenterConfigList

type DockerDatacenterConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DockerDatacenterConfig `json:"items"`
}

DockerDatacenterConfigList contains a list of DockerDatacenterConfig

func (*DockerDatacenterConfigList) DeepCopy

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

func (*DockerDatacenterConfigList) DeepCopyInto

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

func (*DockerDatacenterConfigList) DeepCopyObject

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

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

type DockerDatacenterConfigSpec

type DockerDatacenterConfigSpec struct {
}

DockerDatacenterConfigSpec defines the desired state of DockerDatacenterConfig

func (*DockerDatacenterConfigSpec) DeepCopy

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

func (*DockerDatacenterConfigSpec) DeepCopyInto

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

type DockerDatacenterConfigStatus

type DockerDatacenterConfigStatus struct {
}

DockerDatacenterConfigStatus defines the observed state of DockerDatacenterConfig

func (*DockerDatacenterConfigStatus) DeepCopy

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

func (*DockerDatacenterConfigStatus) DeepCopyInto

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

type EksdReleaseRef added in v0.8.0

type EksdReleaseRef struct {
	// ApiVersion refers to the EKS-D API version
	ApiVersion string `json:"apiVersion"`
	// Kind refers to the Release kind for the EKS-D object
	Kind string `json:"kind"`
	// Name refers to the name of the EKS-D object on the cluster
	Name string `json:"name"`
	// Namespace refers to the namespace for the EKS-D release resources
	Namespace string `json:"namespace"`
}

func (*EksdReleaseRef) DeepCopy added in v0.8.0

func (in *EksdReleaseRef) DeepCopy() *EksdReleaseRef

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

func (*EksdReleaseRef) DeepCopyInto added in v0.8.0

func (in *EksdReleaseRef) DeepCopyInto(out *EksdReleaseRef)

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

type Endpoint

type Endpoint struct {
	// Host defines the ip that you want to use to connect to the control plane
	Host string `json:"host"`
}

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

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

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

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

func (*Endpoint) Equal

func (n *Endpoint) Equal(o *Endpoint) bool

type ExternalEtcdConfiguration

type ExternalEtcdConfiguration struct {
	Count int `json:"count,omitempty"`
	// MachineGroupRef defines the machine group configuration for the etcd machines.
	MachineGroupRef *Ref `json:"machineGroupRef,omitempty"`
}

ExternalEtcdConfiguration defines the configuration options for using unstacked etcd topology

func (*ExternalEtcdConfiguration) DeepCopy

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

func (*ExternalEtcdConfiguration) DeepCopyInto

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

func (*ExternalEtcdConfiguration) Equal added in v0.6.0

type Flux

type Flux struct {
	// github is the name of the Git Provider to host the Git repo.
	Github Github `json:"github,omitempty"`
}

Flux defines the Git repository options for Flux v2

func (*Flux) DeepCopy

func (in *Flux) DeepCopy() *Flux

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

func (*Flux) DeepCopyInto

func (in *Flux) DeepCopyInto(out *Flux)

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

type FluxConfig added in v0.8.0

type FluxConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FluxConfigSpec   `json:"spec,omitempty"`
	Status FluxConfigStatus `json:"status,omitempty"`
}

FluxConfig is the Schema for the fluxconfigs API and defines the configurations of the Flux GitOps Toolkit and Git repository it links to.

func GetAndValidateFluxConfig added in v0.8.0

func GetAndValidateFluxConfig(fileName string, refName string, clusterConfig *Cluster) (*FluxConfig, error)

func (*FluxConfig) ConvertConfigToConfigGenerateStruct added in v0.8.0

func (c *FluxConfig) ConvertConfigToConfigGenerateStruct() *FluxConfigGenerate

func (*FluxConfig) DeepCopy added in v0.8.0

func (in *FluxConfig) DeepCopy() *FluxConfig

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

func (*FluxConfig) DeepCopyInto added in v0.8.0

func (in *FluxConfig) DeepCopyInto(out *FluxConfig)

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

func (*FluxConfig) DeepCopyObject added in v0.8.0

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

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

func (*FluxConfig) ExpectedKind added in v0.8.0

func (c *FluxConfig) ExpectedKind() string

func (*FluxConfig) Kind added in v0.8.0

func (c *FluxConfig) Kind() string

func (*FluxConfig) SetDefaults added in v0.8.0

func (c *FluxConfig) SetDefaults()

func (*FluxConfig) SetupWebhookWithManager added in v0.8.0

func (r *FluxConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*FluxConfig) Validate added in v0.8.0

func (c *FluxConfig) Validate() error

func (*FluxConfig) ValidateCreate added in v0.8.0

func (r *FluxConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*FluxConfig) ValidateDelete added in v0.8.0

func (r *FluxConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*FluxConfig) ValidateUpdate added in v0.8.0

func (r *FluxConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FluxConfigGenerate added in v0.8.0

type FluxConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec   FluxConfigSpec   `json:"spec,omitempty"`
	Status FluxConfigStatus `json:"status,omitempty"`
}

+kubebuilder:object:generate=false Same as FluxConfig except stripped down for generation of yaml file while writing to github repo when flux is enabled

type FluxConfigList added in v0.8.0

type FluxConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []FluxConfig `json:"items"`
}

FluxConfigList contains a list of FluxConfig

func (*FluxConfigList) DeepCopy added in v0.8.0

func (in *FluxConfigList) DeepCopy() *FluxConfigList

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

func (*FluxConfigList) DeepCopyInto added in v0.8.0

func (in *FluxConfigList) DeepCopyInto(out *FluxConfigList)

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

func (*FluxConfigList) DeepCopyObject added in v0.8.0

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

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

type FluxConfigSpec added in v0.8.0

type FluxConfigSpec struct {
	// SystemNamespace scope for this operation. Defaults to flux-system
	SystemNamespace string `json:"systemNamespace,omitempty"`

	// ClusterConfigPath relative to the repository root, when specified the cluster sync will be scoped to this path.
	ClusterConfigPath string `json:"clusterConfigPath,omitempty"`

	// Git branch. Defaults to main.
	// +kubebuilder:default:="main"
	Branch string `json:"branch,omitempty"`

	// Used to specify Github provider to host the Git repo and host the git files
	Github *GithubProviderConfig `json:"github,omitempty"`

	// Used to specify Git provider that will be used to host the git files
	Git *GitProviderConfig `json:"git,omitempty"`
}

FluxConfigSpec defines the desired state of FluxConfig

func (*FluxConfigSpec) DeepCopy added in v0.8.0

func (in *FluxConfigSpec) DeepCopy() *FluxConfigSpec

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

func (*FluxConfigSpec) DeepCopyInto added in v0.8.0

func (in *FluxConfigSpec) DeepCopyInto(out *FluxConfigSpec)

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

func (*FluxConfigSpec) Equal added in v0.8.0

func (e *FluxConfigSpec) Equal(n *FluxConfigSpec) bool

type FluxConfigStatus added in v0.8.0

type FluxConfigStatus struct{}

FluxConfigStatus defines the observed state of FluxConfig

func (*FluxConfigStatus) DeepCopy added in v0.8.0

func (in *FluxConfigStatus) DeepCopy() *FluxConfigStatus

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

func (*FluxConfigStatus) DeepCopyInto added in v0.8.0

func (in *FluxConfigStatus) DeepCopyInto(out *FluxConfigStatus)

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

type GitOpsConfig

type GitOpsConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GitOpsConfigSpec   `json:"spec,omitempty"`
	Status GitOpsConfigStatus `json:"status,omitempty"`
}

func GetAndValidateGitOpsConfig

func GetAndValidateGitOpsConfig(fileName string, refName string, clusterConfig *Cluster) (*GitOpsConfig, error)

func (*GitOpsConfig) ConvertConfigToConfigGenerateStruct added in v0.6.0

func (c *GitOpsConfig) ConvertConfigToConfigGenerateStruct() *GitOpsConfigGenerate

func (*GitOpsConfig) DeepCopy

func (in *GitOpsConfig) DeepCopy() *GitOpsConfig

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

func (*GitOpsConfig) DeepCopyInto

func (in *GitOpsConfig) DeepCopyInto(out *GitOpsConfig)

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

func (*GitOpsConfig) DeepCopyObject

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

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

func (*GitOpsConfig) ExpectedKind

func (c *GitOpsConfig) ExpectedKind() string

func (*GitOpsConfig) Kind

func (c *GitOpsConfig) Kind() string

func (*GitOpsConfig) SetDefaults added in v0.8.0

func (c *GitOpsConfig) SetDefaults()

func (*GitOpsConfig) SetupWebhookWithManager

func (r *GitOpsConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*GitOpsConfig) Validate added in v0.8.0

func (c *GitOpsConfig) Validate() error

func (*GitOpsConfig) ValidateCreate

func (r *GitOpsConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*GitOpsConfig) ValidateDelete

func (r *GitOpsConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*GitOpsConfig) ValidateUpdate

func (r *GitOpsConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type GitOpsConfigGenerate added in v0.6.0

type GitOpsConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec GitOpsConfigSpec `json:"spec,omitempty"`
}

+kubebuilder:object:generate=false Same as GitOpsConfig except stripped down for generation of yaml file while writing to github repo when flux is enabled

type GitOpsConfigList

type GitOpsConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GitOpsConfig `json:"items"`
}

GitOpsConfigList contains a list of GitOpsConfig

func (*GitOpsConfigList) DeepCopy

func (in *GitOpsConfigList) DeepCopy() *GitOpsConfigList

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

func (*GitOpsConfigList) DeepCopyInto

func (in *GitOpsConfigList) DeepCopyInto(out *GitOpsConfigList)

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

func (*GitOpsConfigList) DeepCopyObject

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

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

type GitOpsConfigSpec

type GitOpsConfigSpec struct {
	Flux Flux `json:"flux,omitempty"`
}

GitOps defines the configurations of GitOps Toolkit and Git repository it links to.

func (*GitOpsConfigSpec) DeepCopy

func (in *GitOpsConfigSpec) DeepCopy() *GitOpsConfigSpec

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

func (*GitOpsConfigSpec) DeepCopyInto

func (in *GitOpsConfigSpec) DeepCopyInto(out *GitOpsConfigSpec)

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

func (*GitOpsConfigSpec) Equal

func (e *GitOpsConfigSpec) Equal(n *GitOpsConfigSpec) bool

type GitOpsConfigStatus

type GitOpsConfigStatus struct{}

GitOpsConfigStatus defines the observed state of GitOpsConfig

func (*GitOpsConfigStatus) DeepCopy

func (in *GitOpsConfigStatus) DeepCopy() *GitOpsConfigStatus

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

func (*GitOpsConfigStatus) DeepCopyInto

func (in *GitOpsConfigStatus) DeepCopyInto(out *GitOpsConfigStatus)

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

type GitProviderConfig added in v0.8.0

type GitProviderConfig struct {
	// Username is the user to authenticate to the git repository with.
	Username string `json:"username"`

	// Repository URL for the repository to be used with flux. Can be either an SSH or HTTPS url.
	RepositoryUrl string `json:"repositoryUrl"`
}

func (*GitProviderConfig) DeepCopy added in v0.8.0

func (in *GitProviderConfig) DeepCopy() *GitProviderConfig

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

func (*GitProviderConfig) DeepCopyInto added in v0.8.0

func (in *GitProviderConfig) DeepCopyInto(out *GitProviderConfig)

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

func (*GitProviderConfig) Equal added in v0.8.0

type Github

type Github struct {
	// Owner is the user or organization name of the Git provider.
	Owner string `json:"owner"`

	// Repository name.
	Repository string `json:"repository"`

	// FluxSystemNamespace scope for this operation. Defaults to flux-system.
	FluxSystemNamespace string `json:"fluxSystemNamespace,omitempty"`

	// Git branch. Defaults to main.
	// +kubebuilder:default:="main"
	Branch string `json:"branch,omitempty"`

	// ClusterConfigPath relative to the repository root, when specified the cluster sync will be scoped to this path.
	ClusterConfigPath string `json:"clusterConfigPath,omitempty"`

	// if true, the owner is assumed to be a Git user; otherwise an org.
	Personal bool `json:"personal,omitempty"`
}

func (*Github) DeepCopy

func (in *Github) DeepCopy() *Github

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

func (*Github) DeepCopyInto

func (in *Github) DeepCopyInto(out *Github)

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

type GithubProviderConfig added in v0.8.0

type GithubProviderConfig struct {
	// Owner is the user or organization name of the Git provider.
	Owner string `json:"owner"`

	// Repository name.
	Repository string `json:"repository"`

	// if true, the owner is assumed to be a Git user; otherwise an org.
	Personal bool `json:"personal,omitempty"`
}

func (*GithubProviderConfig) DeepCopy added in v0.8.0

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

func (*GithubProviderConfig) DeepCopyInto added in v0.8.0

func (in *GithubProviderConfig) DeepCopyInto(out *GithubProviderConfig)

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

func (*GithubProviderConfig) Equal added in v0.8.0

type KindAccessor

type KindAccessor interface {
	Kind() string
	ExpectedKind() string
}

+kubebuilder:object:generate=false Interface for getting Kind field for Cluster type

type KindnetdConfig added in v0.8.0

type KindnetdConfig struct{}

func (*KindnetdConfig) DeepCopy added in v0.8.0

func (in *KindnetdConfig) DeepCopy() *KindnetdConfig

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

func (*KindnetdConfig) DeepCopyInto added in v0.8.0

func (in *KindnetdConfig) DeepCopyInto(out *KindnetdConfig)

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

func (*KindnetdConfig) Equal added in v0.8.0

func (n *KindnetdConfig) Equal(o *KindnetdConfig) bool

type KubernetesVersion

type KubernetesVersion string
const (
	Kube118 KubernetesVersion = "1.18"
	Kube119 KubernetesVersion = "1.19"
	Kube120 KubernetesVersion = "1.20"
	Kube121 KubernetesVersion = "1.21"
	Kube122 KubernetesVersion = "1.22"
)

func GetClusterDefaultKubernetesVersion added in v0.8.0

func GetClusterDefaultKubernetesVersion() KubernetesVersion

GetClusterDefaultKubernetesVersion returns the default kubernetes version for a Cluster

type ManagementCluster added in v0.6.0

type ManagementCluster struct {
	Name string `json:"name,omitempty"`
}

func (*ManagementCluster) DeepCopy added in v0.6.0

func (in *ManagementCluster) DeepCopy() *ManagementCluster

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

func (*ManagementCluster) DeepCopyInto added in v0.6.0

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) Equal added in v0.6.0

type MapRoles added in v0.6.0

type MapRoles struct {
	RoleARN  string   `json:"roleARN"`
	Username string   `json:"username"`
	Groups   []string `json:"groups,omitempty"`
}

MapRoles defines IAM role to a username and set of groups mapping using EKSConfigMap BackendMode

func (*MapRoles) DeepCopy added in v0.6.0

func (in *MapRoles) DeepCopy() *MapRoles

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

func (*MapRoles) DeepCopyInto added in v0.6.0

func (in *MapRoles) DeepCopyInto(out *MapRoles)

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

type MapUsers added in v0.6.0

type MapUsers struct {
	UserARN  string   `json:"userARN"`
	Username string   `json:"username"`
	Groups   []string `json:"groups,omitempty"`
}

MapUsers defines IAM role to a username and set of groups mapping using EKSConfigMap BackendMode

func (*MapUsers) DeepCopy added in v0.6.0

func (in *MapUsers) DeepCopy() *MapUsers

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

func (*MapUsers) DeepCopyInto added in v0.6.0

func (in *MapUsers) DeepCopyInto(out *MapUsers)

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

type Marshallable added in v0.6.0

type Marshallable interface{}

Marshallable represents all "generate" CRDs structs +kubebuilder:object:generate=false

type OIDCConfig

type OIDCConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OIDCConfigSpec   `json:"spec,omitempty"`
	Status OIDCConfigStatus `json:"status,omitempty"`
}

OIDCConfig is the Schema for the oidcconfigs API

func GetAndValidateOIDCConfig

func GetAndValidateOIDCConfig(fileName string, refName string, clusterConfig *Cluster) (*OIDCConfig, error)

func (*OIDCConfig) ConvertConfigToConfigGenerateStruct added in v0.6.0

func (c *OIDCConfig) ConvertConfigToConfigGenerateStruct() *OIDCConfigGenerate

func (*OIDCConfig) DeepCopy

func (in *OIDCConfig) DeepCopy() *OIDCConfig

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

func (*OIDCConfig) DeepCopyInto

func (in *OIDCConfig) DeepCopyInto(out *OIDCConfig)

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

func (*OIDCConfig) DeepCopyObject

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

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

func (*OIDCConfig) ExpectedKind

func (c *OIDCConfig) ExpectedKind() string

func (*OIDCConfig) IsManaged added in v0.8.0

func (c *OIDCConfig) IsManaged() bool

IsManaged returns true if the oidcconfig is associated with a workload cluster

func (*OIDCConfig) Kind

func (c *OIDCConfig) Kind() string

func (*OIDCConfig) SetManagedBy added in v0.8.0

func (c *OIDCConfig) SetManagedBy(clusterName string)

func (*OIDCConfig) SetupWebhookWithManager

func (r *OIDCConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*OIDCConfig) Validate added in v0.8.0

func (c *OIDCConfig) Validate() error

func (*OIDCConfig) ValidateCreate

func (r *OIDCConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*OIDCConfig) ValidateDelete

func (r *OIDCConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*OIDCConfig) ValidateUpdate

func (r *OIDCConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type OIDCConfigGenerate added in v0.6.0

type OIDCConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec OIDCConfigSpec `json:"spec,omitempty"`
}

+kubebuilder:object:generate=false Same as OIDCConfig except stripped down for generation of yaml file while writing to github repo when flux is enabled

type OIDCConfigList

type OIDCConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OIDCConfig `json:"items"`
}

OIDCConfigList contains a list of OIDCConfig

func (*OIDCConfigList) DeepCopy

func (in *OIDCConfigList) DeepCopy() *OIDCConfigList

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

func (*OIDCConfigList) DeepCopyInto

func (in *OIDCConfigList) DeepCopyInto(out *OIDCConfigList)

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

func (*OIDCConfigList) DeepCopyObject

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

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

type OIDCConfigRequiredClaim

type OIDCConfigRequiredClaim struct {
	Claim string `json:"claim,omitempty"`
	Value string `json:"value,omitempty"`
}

func (*OIDCConfigRequiredClaim) DeepCopy

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

func (*OIDCConfigRequiredClaim) DeepCopyInto

func (in *OIDCConfigRequiredClaim) DeepCopyInto(out *OIDCConfigRequiredClaim)

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

type OIDCConfigSpec

type OIDCConfigSpec struct {
	// ClientId defines the client ID for the OpenID Connect client
	ClientId string `json:"clientId,omitempty"`
	// +kubebuilder:validation:Optional
	// GroupsClaim defines the name of a custom OpenID Connect claim for specifying user groups
	GroupsClaim string `json:"groupsClaim,omitempty"`
	// +kubebuilder:validation:Optional
	// GroupsPrefix defines a string to be prefixed to all groups to prevent conflicts with other authentication strategies
	GroupsPrefix string `json:"groupsPrefix,omitempty"`
	// IssuerUrl defines the URL of the OpenID issuer, only HTTPS scheme will be accepted
	IssuerUrl string `json:"issuerUrl,omitempty"`
	// +kubebuilder:validation:Optional
	// RequiredClaims defines a key=value pair that describes a required claim in the ID Token
	RequiredClaims []OIDCConfigRequiredClaim `json:"requiredClaims,omitempty"`
	// +kubebuilder:validation:Optional
	// UsernameClaim defines the OpenID claim to use as the user name. Note that claims other than the default ('sub') is not guaranteed to be unique and immutable
	UsernameClaim string `json:"usernameClaim,omitempty"`
	// +kubebuilder:validation:Optional
	// UsernamePrefix defines a string to prefixed to all usernames. If not provided, username claims other than 'email' are prefixed by the issuer URL to avoid clashes. To skip any prefixing, provide the value '-'.
	UsernamePrefix string `json:"usernamePrefix,omitempty"`
}

OIDCConfigSpec defines the desired state of OIDCConfig

func (*OIDCConfigSpec) DeepCopy

func (in *OIDCConfigSpec) DeepCopy() *OIDCConfigSpec

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

func (*OIDCConfigSpec) DeepCopyInto

func (in *OIDCConfigSpec) DeepCopyInto(out *OIDCConfigSpec)

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

func (*OIDCConfigSpec) Equal

func (e *OIDCConfigSpec) Equal(n *OIDCConfigSpec) bool

type OIDCConfigStatus

type OIDCConfigStatus struct{}

OIDCConfigStatus defines the observed state of OIDCConfig

func (*OIDCConfigStatus) DeepCopy

func (in *OIDCConfigStatus) DeepCopy() *OIDCConfigStatus

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

func (*OIDCConfigStatus) DeepCopyInto

func (in *OIDCConfigStatus) DeepCopyInto(out *OIDCConfigStatus)

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

type OSFamily

type OSFamily string
const (
	Ubuntu       OSFamily = "ubuntu"
	Bottlerocket OSFamily = "bottlerocket"
)

type ObjectMeta

type ObjectMeta struct {
	Name        string            `json:"name,omitempty"`
	Namespace   string            `json:"namespace,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
}

Need to override metav1.ObjectMeta as a hack due to the following issue of creationTimestamp being printed: https://github.com/kubernetes/kubernetes/issues/86811 Add more fields based on https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/types.go#L114-L288 and https://github.com/kubernetes-sigs/cluster-api/blob/bf790fc2a53614ff5d3405c83c0de0dd3303bb1f/api/v1alpha2/common_types.go#L67-L128 as needed.

func (*ObjectMeta) DeepCopy

func (in *ObjectMeta) DeepCopy() *ObjectMeta

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

func (*ObjectMeta) DeepCopyInto

func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta)

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

type PhysicalNetworkConnectorType added in v0.8.0

type PhysicalNetworkConnectorType string

type PodIAMConfig added in v0.6.1

type PodIAMConfig struct {
	ServiceAccountIssuer string `json:"serviceAccountIssuer"`
}

func (*PodIAMConfig) DeepCopy added in v0.7.0

func (in *PodIAMConfig) DeepCopy() *PodIAMConfig

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

func (*PodIAMConfig) DeepCopyInto added in v0.7.0

func (in *PodIAMConfig) DeepCopyInto(out *PodIAMConfig)

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

func (*PodIAMConfig) Equal added in v0.6.1

func (n *PodIAMConfig) Equal(o *PodIAMConfig) bool

type Pods

type Pods struct {
	CidrBlocks []string `json:"cidrBlocks,omitempty"`
}

func (*Pods) DeepCopy

func (in *Pods) DeepCopy() *Pods

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

func (*Pods) DeepCopyInto

func (in *Pods) DeepCopyInto(out *Pods)

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

func (*Pods) Equal added in v0.8.0

func (n *Pods) Equal(o *Pods) bool

type ProviderRefAccessor

type ProviderRefAccessor interface {
	Kind() string
	Name() string
}

+kubebuilder:object:generate=false Interface for getting DatacenterRef fields for Cluster type

type ProxyConfiguration

type ProxyConfiguration struct {
	HttpProxy  string   `json:"httpProxy,omitempty"`
	HttpsProxy string   `json:"httpsProxy,omitempty"`
	NoProxy    []string `json:"noProxy,omitempty"`
}

func (*ProxyConfiguration) DeepCopy

func (in *ProxyConfiguration) DeepCopy() *ProxyConfiguration

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

func (*ProxyConfiguration) DeepCopyInto

func (in *ProxyConfiguration) DeepCopyInto(out *ProxyConfiguration)

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

func (*ProxyConfiguration) Equal

type Ref

type Ref struct {
	Kind string `json:"kind,omitempty"`
	Name string `json:"name,omitempty"`
}

func (*Ref) DeepCopy

func (in *Ref) DeepCopy() *Ref

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

func (*Ref) DeepCopyInto

func (in *Ref) DeepCopyInto(out *Ref)

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

func (*Ref) Equal

func (n *Ref) Equal(o *Ref) bool

type RegistryMirrorConfiguration added in v0.6.0

type RegistryMirrorConfiguration struct {
	// Endpoint defines the registry mirror endpoint to use for pulling images
	Endpoint string `json:"endpoint,omitempty"`

	// Port defines the port exposed for registry mirror endpoint
	Port string `json:"port,omitempty"`

	// CACertContent defines the contents registry mirror CA certificate
	CACertContent string `json:"caCertContent,omitempty"`
}

RegistryMirrorConfiguration defines the settings for image registry mirror

func (*RegistryMirrorConfiguration) DeepCopy added in v0.6.0

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

func (*RegistryMirrorConfiguration) DeepCopyInto added in v0.6.0

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

func (*RegistryMirrorConfiguration) Equal added in v0.6.0

type ResolvConf added in v0.7.0

type ResolvConf struct {
	// Path defines the path to the file that contains the DNS resolver configuration
	Path string `json:"path,omitempty"`
}

func (*ResolvConf) DeepCopy added in v0.7.0

func (in *ResolvConf) DeepCopy() *ResolvConf

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

func (*ResolvConf) DeepCopyInto added in v0.7.0

func (in *ResolvConf) DeepCopyInto(out *ResolvConf)

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

func (*ResolvConf) Equal added in v0.7.0

func (n *ResolvConf) Equal(o *ResolvConf) bool

type Services

type Services struct {
	CidrBlocks []string `json:"cidrBlocks,omitempty"`
}

func (*Services) DeepCopy

func (in *Services) DeepCopy() *Services

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

func (*Services) DeepCopyInto

func (in *Services) DeepCopyInto(out *Services)

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

func (*Services) Equal added in v0.8.0

func (n *Services) Equal(o *Services) bool

type SnowDatacenterConfig added in v0.8.0

type SnowDatacenterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SnowDatacenterConfigSpec   `json:"spec,omitempty"`
	Status SnowDatacenterConfigStatus `json:"status,omitempty"`
}

SnowDatacenterConfig is the Schema for the SnowDatacenterConfigs API

func GetSnowDatacenterConfig added in v0.8.0

func GetSnowDatacenterConfig(fileName string) (*SnowDatacenterConfig, error)

func (*SnowDatacenterConfig) ClearPauseAnnotation added in v0.8.0

func (s *SnowDatacenterConfig) ClearPauseAnnotation()

func (*SnowDatacenterConfig) ConvertConfigToConfigGenerateStruct added in v0.8.0

func (s *SnowDatacenterConfig) ConvertConfigToConfigGenerateStruct() *SnowDatacenterConfigGenerate

func (*SnowDatacenterConfig) DeepCopy added in v0.8.0

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

func (*SnowDatacenterConfig) DeepCopyInto added in v0.8.0

func (in *SnowDatacenterConfig) DeepCopyInto(out *SnowDatacenterConfig)

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

func (*SnowDatacenterConfig) DeepCopyObject added in v0.8.0

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

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

func (*SnowDatacenterConfig) ExpectedKind added in v0.8.0

func (s *SnowDatacenterConfig) ExpectedKind() string

func (*SnowDatacenterConfig) Kind added in v0.8.0

func (s *SnowDatacenterConfig) Kind() string

func (*SnowDatacenterConfig) Marshallable added in v0.8.0

func (s *SnowDatacenterConfig) Marshallable() Marshallable

func (*SnowDatacenterConfig) PauseReconcile added in v0.8.0

func (s *SnowDatacenterConfig) PauseReconcile()

type SnowDatacenterConfigGenerate added in v0.8.0

type SnowDatacenterConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec SnowDatacenterConfigSpec `json:"spec,omitempty"`
}

Same as SnowDatacenterConfig except stripped down for generation of yaml file during generate clusterconfig

func NewSnowDatacenterConfigGenerate added in v0.8.0

func NewSnowDatacenterConfigGenerate(clusterName string) *SnowDatacenterConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*SnowDatacenterConfigGenerate) APIVersion added in v0.8.0

func (s *SnowDatacenterConfigGenerate) APIVersion() string

func (*SnowDatacenterConfigGenerate) Kind added in v0.8.0

func (*SnowDatacenterConfigGenerate) Name added in v0.8.0

type SnowDatacenterConfigSpec added in v0.8.0

type SnowDatacenterConfigSpec struct {
}

SnowDatacenterConfigSpec defines the desired state of SnowDatacenterConfig

func (*SnowDatacenterConfigSpec) DeepCopy added in v0.8.0

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

func (*SnowDatacenterConfigSpec) DeepCopyInto added in v0.8.0

func (in *SnowDatacenterConfigSpec) DeepCopyInto(out *SnowDatacenterConfigSpec)

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

type SnowDatacenterConfigStatus added in v0.8.0

type SnowDatacenterConfigStatus struct{}

SnowDatacenterConfigStatus defines the observed state of SnowDatacenterConfig

func (*SnowDatacenterConfigStatus) DeepCopy added in v0.8.0

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

func (*SnowDatacenterConfigStatus) DeepCopyInto added in v0.8.0

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

type SnowInstanceType added in v0.8.0

type SnowInstanceType string

type SnowMachineConfig added in v0.8.0

type SnowMachineConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SnowMachineConfigSpec   `json:"spec,omitempty"`
	Status SnowMachineConfigStatus `json:"status,omitempty"`
}

SnowMachineConfig is the Schema for the SnowMachineConfigs API

func (*SnowMachineConfig) ConvertConfigToConfigGenerateStruct added in v0.8.0

func (s *SnowMachineConfig) ConvertConfigToConfigGenerateStruct() *SnowMachineConfigGenerate

func (*SnowMachineConfig) DeepCopy added in v0.8.0

func (in *SnowMachineConfig) DeepCopy() *SnowMachineConfig

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

func (*SnowMachineConfig) DeepCopyInto added in v0.8.0

func (in *SnowMachineConfig) DeepCopyInto(out *SnowMachineConfig)

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

func (*SnowMachineConfig) DeepCopyObject added in v0.8.0

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

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

func (*SnowMachineConfig) Marshallable added in v0.8.0

func (s *SnowMachineConfig) Marshallable() Marshallable

func (*SnowMachineConfig) OSFamily added in v0.8.0

func (s *SnowMachineConfig) OSFamily() OSFamily

func (*SnowMachineConfig) SetDefaults added in v0.8.0

func (s *SnowMachineConfig) SetDefaults()

func (*SnowMachineConfig) SetManagedBy added in v0.8.0

func (s *SnowMachineConfig) SetManagedBy(clusterName string)

func (*SnowMachineConfig) Validate added in v0.8.0

func (s *SnowMachineConfig) Validate() error

type SnowMachineConfigGenerate added in v0.8.0

type SnowMachineConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec SnowMachineConfigSpec `json:"spec,omitempty"`
}

Same as SnowMachineConfig except stripped down for generation of yaml file during generate clusterconfig

func NewSnowMachineConfigGenerate added in v0.8.0

func NewSnowMachineConfigGenerate(name string) *SnowMachineConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*SnowMachineConfigGenerate) APIVersion added in v0.8.0

func (s *SnowMachineConfigGenerate) APIVersion() string

func (*SnowMachineConfigGenerate) Kind added in v0.8.0

func (*SnowMachineConfigGenerate) Name added in v0.8.0

type SnowMachineConfigSpec added in v0.8.0

type SnowMachineConfigSpec struct {

	// The AMI ID from which to create the machine instance.
	AMIID string `json:"amiID"`

	// InstanceType is the type of instance to create.
	// Valid values: "sbe-c.large" (default), "sbe-c.xlarge", "sbe-c.2xlarge" and "sbe-c.4xlarge".
	InstanceType SnowInstanceType `json:"instanceType,omitempty"`

	// PhysicalNetworkConnector is the physical network connector type to use for creating direct network interfaces (DNI).
	// Valid values: "SFP_PLUS" (default) and "QSFP"
	PhysicalNetworkConnector PhysicalNetworkConnectorType `json:"physicalNetworkConnector,omitempty"`

	// SSHKeyName is the name of the ssh key defined in the aws snow key pairs, to attach to the instance.
	SshKeyName string `json:"sshKeyName,omitempty"`
}

SnowMachineConfigSpec defines the desired state of SnowMachineConfigSpec

func (*SnowMachineConfigSpec) DeepCopy added in v0.8.0

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

func (*SnowMachineConfigSpec) DeepCopyInto added in v0.8.0

func (in *SnowMachineConfigSpec) DeepCopyInto(out *SnowMachineConfigSpec)

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

type SnowMachineConfigStatus added in v0.8.0

type SnowMachineConfigStatus struct{}

SnowMachineConfigStatus defines the observed state of SnowMachineConfig

func (*SnowMachineConfigStatus) DeepCopy added in v0.8.0

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

func (*SnowMachineConfigStatus) DeepCopyInto added in v0.8.0

func (in *SnowMachineConfigStatus) DeepCopyInto(out *SnowMachineConfigStatus)

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

type TinkerbellDatacenterConfig added in v0.7.0

type TinkerbellDatacenterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TinkerbellDatacenterConfigSpec   `json:"spec,omitempty"`
	Status TinkerbellDatacenterConfigStatus `json:"status,omitempty"`
}

TinkerbellDatacenterConfig is the Schema for the TinkerbellDatacenterConfigs API

func GetTinkerbellDatacenterConfig added in v0.7.0

func GetTinkerbellDatacenterConfig(fileName string) (*TinkerbellDatacenterConfig, error)

func (*TinkerbellDatacenterConfig) ClearPauseAnnotation added in v0.7.0

func (t *TinkerbellDatacenterConfig) ClearPauseAnnotation()

func (*TinkerbellDatacenterConfig) ConvertConfigToConfigGenerateStruct added in v0.7.0

func (t *TinkerbellDatacenterConfig) ConvertConfigToConfigGenerateStruct() *TinkerbellDatacenterConfigGenerate

func (*TinkerbellDatacenterConfig) DeepCopy added in v0.7.0

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

func (*TinkerbellDatacenterConfig) DeepCopyInto added in v0.7.0

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

func (*TinkerbellDatacenterConfig) DeepCopyObject added in v0.7.0

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

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

func (*TinkerbellDatacenterConfig) ExpectedKind added in v0.7.0

func (v *TinkerbellDatacenterConfig) ExpectedKind() string

func (*TinkerbellDatacenterConfig) IsReconcilePaused added in v0.7.0

func (t *TinkerbellDatacenterConfig) IsReconcilePaused() bool

func (*TinkerbellDatacenterConfig) Kind added in v0.7.0

func (*TinkerbellDatacenterConfig) Marshallable added in v0.7.0

func (t *TinkerbellDatacenterConfig) Marshallable() Marshallable

func (*TinkerbellDatacenterConfig) PauseReconcile added in v0.7.0

func (t *TinkerbellDatacenterConfig) PauseReconcile()

type TinkerbellDatacenterConfigGenerate added in v0.7.0

type TinkerbellDatacenterConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec TinkerbellDatacenterConfigSpec `json:"spec,omitempty"`
}

Same as TinkerbellDatacenterConfig except stripped down for generation of yaml file during generate clusterconfig

func NewTinkerbellDatacenterConfigGenerate added in v0.7.0

func NewTinkerbellDatacenterConfigGenerate(clusterName string) *TinkerbellDatacenterConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*TinkerbellDatacenterConfigGenerate) APIVersion added in v0.7.0

func (*TinkerbellDatacenterConfigGenerate) Kind added in v0.7.0

func (*TinkerbellDatacenterConfigGenerate) Name added in v0.7.0

type TinkerbellDatacenterConfigList added in v0.7.0

type TinkerbellDatacenterConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TinkerbellDatacenterConfig `json:"items"`
}

TinkerbellDatacenterConfigList contains a list of TinkerbellDatacenterConfig

func (*TinkerbellDatacenterConfigList) DeepCopy added in v0.7.0

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

func (*TinkerbellDatacenterConfigList) DeepCopyInto added in v0.7.0

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

func (*TinkerbellDatacenterConfigList) DeepCopyObject added in v0.7.0

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

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

type TinkerbellDatacenterConfigSpec added in v0.7.0

type TinkerbellDatacenterConfigSpec struct {
	// Important: Run "make generate" to regenerate code after modifying this file
	TinkerbellIP           string `json:"tinkerbellIP"`
	TinkerbellCertURL      string `json:"tinkerbellCertURL"`
	TinkerbellGRPCAuth     string `json:"tinkerbellGRPCAuth"`
	TinkerbellPBnJGRPCAuth string `json:"tinkerbellPBnJGRPCAuth"`
}

TinkerbellDatacenterConfigSpec defines the desired state of TinkerbellDatacenterConfig

func (*TinkerbellDatacenterConfigSpec) DeepCopy added in v0.7.0

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

func (*TinkerbellDatacenterConfigSpec) DeepCopyInto added in v0.7.0

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

type TinkerbellDatacenterConfigStatus added in v0.7.0

type TinkerbellDatacenterConfigStatus struct {
}

TinkerbellDatacenterConfigStatus defines the observed state of TinkerbellDatacenterConfig

func (*TinkerbellDatacenterConfigStatus) DeepCopy added in v0.7.0

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

func (*TinkerbellDatacenterConfigStatus) DeepCopyInto added in v0.7.0

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

type TinkerbellMachineConfig added in v0.7.0

type TinkerbellMachineConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TinkerbellMachineConfigSpec   `json:"spec,omitempty"`
	Status TinkerbellMachineConfigStatus `json:"status,omitempty"`
}

TinkerbellMachineConfig is the Schema for the tinkerbellmachineconfigs API

func (*TinkerbellMachineConfig) ConvertConfigToConfigGenerateStruct added in v0.7.0

func (c *TinkerbellMachineConfig) ConvertConfigToConfigGenerateStruct() *TinkerbellMachineConfigGenerate

func (*TinkerbellMachineConfig) DeepCopy added in v0.7.0

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

func (*TinkerbellMachineConfig) DeepCopyInto added in v0.7.0

func (in *TinkerbellMachineConfig) DeepCopyInto(out *TinkerbellMachineConfig)

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

func (*TinkerbellMachineConfig) DeepCopyObject added in v0.7.0

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

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

func (*TinkerbellMachineConfig) GetName added in v0.7.0

func (c *TinkerbellMachineConfig) GetName() string

func (*TinkerbellMachineConfig) GetNamespace added in v0.7.0

func (c *TinkerbellMachineConfig) GetNamespace() string

func (*TinkerbellMachineConfig) IsControlPlane added in v0.7.0

func (c *TinkerbellMachineConfig) IsControlPlane() bool

func (*TinkerbellMachineConfig) IsEtcd added in v0.7.0

func (c *TinkerbellMachineConfig) IsEtcd() bool

func (*TinkerbellMachineConfig) IsManaged added in v0.7.0

func (c *TinkerbellMachineConfig) IsManaged() bool

func (*TinkerbellMachineConfig) IsReconcilePaused added in v0.7.0

func (c *TinkerbellMachineConfig) IsReconcilePaused() bool

func (*TinkerbellMachineConfig) Marshallable added in v0.7.0

func (c *TinkerbellMachineConfig) Marshallable() Marshallable

func (*TinkerbellMachineConfig) OSFamily added in v0.7.0

func (c *TinkerbellMachineConfig) OSFamily() OSFamily

func (*TinkerbellMachineConfig) PauseReconcile added in v0.7.0

func (c *TinkerbellMachineConfig) PauseReconcile()

func (*TinkerbellMachineConfig) SetControlPlane added in v0.7.0

func (c *TinkerbellMachineConfig) SetControlPlane()

func (*TinkerbellMachineConfig) SetEtcd added in v0.7.0

func (c *TinkerbellMachineConfig) SetEtcd()

func (*TinkerbellMachineConfig) SetManagedBy added in v0.7.0

func (c *TinkerbellMachineConfig) SetManagedBy(clusterName string)

type TinkerbellMachineConfigGenerate added in v0.7.0

type TinkerbellMachineConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec TinkerbellMachineConfigSpec `json:"spec,omitempty"`
}

Same as TinkerbellMachineConfig except stripped down for generation of yaml file during generate clusterconfig

func NewTinkerbellMachineConfigGenerate added in v0.7.0

func NewTinkerbellMachineConfigGenerate(name string, opts ...TinkerbellMachineConfigGenerateOpt) *TinkerbellMachineConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*TinkerbellMachineConfigGenerate) APIVersion added in v0.7.0

func (c *TinkerbellMachineConfigGenerate) APIVersion() string

func (*TinkerbellMachineConfigGenerate) Kind added in v0.7.0

func (*TinkerbellMachineConfigGenerate) Name added in v0.7.0

type TinkerbellMachineConfigGenerateOpt added in v0.8.0

type TinkerbellMachineConfigGenerateOpt func(config *TinkerbellMachineConfigGenerate)

+kubebuilder:object:generate=false

func WithTemplateRef added in v0.8.0

type TinkerbellMachineConfigList added in v0.7.0

type TinkerbellMachineConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TinkerbellMachineConfig `json:"items"`
}

TinkerbellMachineConfigList contains a list of TinkerbellMachineConfig

func (*TinkerbellMachineConfigList) DeepCopy added in v0.7.0

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

func (*TinkerbellMachineConfigList) DeepCopyInto added in v0.7.0

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

func (*TinkerbellMachineConfigList) DeepCopyObject added in v0.7.0

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

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

type TinkerbellMachineConfigSpec added in v0.7.0

type TinkerbellMachineConfigSpec struct {
	TemplateRef Ref                 `json:"templateRef,omitempty"`
	OSFamily    OSFamily            `json:"osFamily"`
	Users       []UserConfiguration `json:"users,omitempty"`
}

TinkerbellMachineConfigSpec defines the desired state of TinkerbellMachineConfig

func (*TinkerbellMachineConfigSpec) DeepCopy added in v0.7.0

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

func (*TinkerbellMachineConfigSpec) DeepCopyInto added in v0.7.0

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

type TinkerbellMachineConfigStatus added in v0.7.0

type TinkerbellMachineConfigStatus struct{}

TinkerbellMachineConfigStatus defines the observed state of TinkerbellMachineConfig

func (*TinkerbellMachineConfigStatus) DeepCopy added in v0.7.0

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

func (*TinkerbellMachineConfigStatus) DeepCopyInto added in v0.7.0

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

type TinkerbellTemplateConfig added in v0.8.0

type TinkerbellTemplateConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TinkerbellTemplateConfigSpec   `json:"spec,omitempty"`
	Status TinkerbellTemplateConfigStatus `json:"status,omitempty"`
}

TinkerbellTemplateConfig is the Schema for the TinkerbellTemplateConfigs API

func (*TinkerbellTemplateConfig) ConvertConfigToConfigGenerateStruct added in v0.8.0

func (c *TinkerbellTemplateConfig) ConvertConfigToConfigGenerateStruct() *TinkerbellTemplateConfigGenerate

func (*TinkerbellTemplateConfig) DeepCopy added in v0.8.0

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

func (*TinkerbellTemplateConfig) DeepCopyInto added in v0.8.0

func (in *TinkerbellTemplateConfig) DeepCopyInto(out *TinkerbellTemplateConfig)

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

func (*TinkerbellTemplateConfig) DeepCopyObject added in v0.8.0

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

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

func (*TinkerbellTemplateConfig) ExpectedKind added in v0.8.0

func (t *TinkerbellTemplateConfig) ExpectedKind() string

func (*TinkerbellTemplateConfig) Kind added in v0.8.0

func (t *TinkerbellTemplateConfig) Kind() string

func (*TinkerbellTemplateConfig) ToTemplateString added in v0.8.0

func (t *TinkerbellTemplateConfig) ToTemplateString() (string, error)

type TinkerbellTemplateConfigGenerate added in v0.8.0

type TinkerbellTemplateConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec TinkerbellTemplateConfigSpec `json:"spec,omitempty"`
}

Same as TinkerbellTemplateConfig except stripped down for generation of yaml file during generate clusterconfig

func NewDefaultTinkerbellTemplateConfigGenerate added in v0.8.0

func NewDefaultTinkerbellTemplateConfigGenerate(name string, versionBundle v1alpha1.VersionsBundle) *TinkerbellTemplateConfigGenerate

NewDefaultTinkerbellTemplateConfigGenerate returns a default TinkerbellTemplateConfig with the required Tasks and Actions

func (*TinkerbellTemplateConfigGenerate) APIVersion added in v0.8.0

func (c *TinkerbellTemplateConfigGenerate) APIVersion() string

func (*TinkerbellTemplateConfigGenerate) Kind added in v0.8.0

func (*TinkerbellTemplateConfigGenerate) Name added in v0.8.0

type TinkerbellTemplateConfigList added in v0.8.0

type TinkerbellTemplateConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TinkerbellTemplateConfig `json:"items"`
}

TinkerbellTemplateConfigList contains a list of TinkerbellTemplateConfig

func (*TinkerbellTemplateConfigList) DeepCopy added in v0.8.0

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

func (*TinkerbellTemplateConfigList) DeepCopyInto added in v0.8.0

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

func (*TinkerbellTemplateConfigList) DeepCopyObject added in v0.8.0

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

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

type TinkerbellTemplateConfigSpec added in v0.8.0

type TinkerbellTemplateConfigSpec struct {
	// Template defines a Tinkerbell workflow template with specific tasks and actions.
	Template tinkerbell.Workflow `json:"template"`
}

TinkerbellTemplateConfigSpec defines the desired state of TinkerbellTemplateConfig

func (*TinkerbellTemplateConfigSpec) DeepCopy added in v0.8.0

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

func (*TinkerbellTemplateConfigSpec) DeepCopyInto added in v0.8.0

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

type TinkerbellTemplateConfigStatus added in v0.8.0

type TinkerbellTemplateConfigStatus struct{}

TinkerbellTemplateConfigStatus defines the observed state of TinkerbellTemplateConfig

func (*TinkerbellTemplateConfigStatus) DeepCopy added in v0.8.0

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

func (*TinkerbellTemplateConfigStatus) DeepCopyInto added in v0.8.0

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

type UserConfiguration

type UserConfiguration struct {
	Name              string   `json:"name"`
	SshAuthorizedKeys []string `json:"sshAuthorizedKeys"`
}

UserConfiguration defines the configuration of the user to be added to the VM

func (*UserConfiguration) DeepCopy

func (in *UserConfiguration) DeepCopy() *UserConfiguration

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

func (*UserConfiguration) DeepCopyInto

func (in *UserConfiguration) DeepCopyInto(out *UserConfiguration)

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

type VSphereDatacenterConfig

type VSphereDatacenterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VSphereDatacenterConfigSpec   `json:"spec,omitempty"`
	Status VSphereDatacenterConfigStatus `json:"status,omitempty"`
}

VSphereDatacenterConfig is the Schema for the VSphereDatacenterConfigs API

func GetVSphereDatacenterConfig

func GetVSphereDatacenterConfig(fileName string) (*VSphereDatacenterConfig, error)

func (*VSphereDatacenterConfig) ClearPauseAnnotation

func (v *VSphereDatacenterConfig) ClearPauseAnnotation()

func (*VSphereDatacenterConfig) ConvertConfigToConfigGenerateStruct added in v0.6.0

func (v *VSphereDatacenterConfig) ConvertConfigToConfigGenerateStruct() *VSphereDatacenterConfigGenerate

func (*VSphereDatacenterConfig) DeepCopy

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

func (*VSphereDatacenterConfig) DeepCopyInto

func (in *VSphereDatacenterConfig) DeepCopyInto(out *VSphereDatacenterConfig)

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

func (*VSphereDatacenterConfig) DeepCopyObject

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

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

func (*VSphereDatacenterConfig) ExpectedKind

func (v *VSphereDatacenterConfig) ExpectedKind() string

func (*VSphereDatacenterConfig) IsReconcilePaused

func (v *VSphereDatacenterConfig) IsReconcilePaused() bool

func (*VSphereDatacenterConfig) Kind

func (v *VSphereDatacenterConfig) Kind() string

func (*VSphereDatacenterConfig) Marshallable added in v0.6.0

func (v *VSphereDatacenterConfig) Marshallable() Marshallable

func (*VSphereDatacenterConfig) PauseReconcile

func (v *VSphereDatacenterConfig) PauseReconcile()

func (*VSphereDatacenterConfig) SetDefaults added in v0.7.0

func (v *VSphereDatacenterConfig) SetDefaults()

func (*VSphereDatacenterConfig) SetupWebhookWithManager

func (r *VSphereDatacenterConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*VSphereDatacenterConfig) Validate added in v0.8.0

func (v *VSphereDatacenterConfig) Validate() error

func (*VSphereDatacenterConfig) ValidateCreate

func (r *VSphereDatacenterConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*VSphereDatacenterConfig) ValidateDelete

func (r *VSphereDatacenterConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*VSphereDatacenterConfig) ValidateFields added in v0.7.0

func (v *VSphereDatacenterConfig) ValidateFields() error

func (*VSphereDatacenterConfig) ValidateUpdate

func (r *VSphereDatacenterConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VSphereDatacenterConfigGenerate

type VSphereDatacenterConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec VSphereDatacenterConfigSpec `json:"spec,omitempty"`
}

Same as VSphereDatacenterConfig except stripped down for generation of yaml file during generate clusterconfig

func NewVSphereDatacenterConfigGenerate

func NewVSphereDatacenterConfigGenerate(clusterName string) *VSphereDatacenterConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*VSphereDatacenterConfigGenerate) APIVersion

func (c *VSphereDatacenterConfigGenerate) APIVersion() string

func (*VSphereDatacenterConfigGenerate) Kind

func (*VSphereDatacenterConfigGenerate) Name

type VSphereDatacenterConfigList

type VSphereDatacenterConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VSphereDatacenterConfig `json:"items"`
}

VSphereDatacenterConfigList contains a list of VSphereDatacenterConfig

func (*VSphereDatacenterConfigList) DeepCopy

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

func (*VSphereDatacenterConfigList) DeepCopyInto

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

func (*VSphereDatacenterConfigList) DeepCopyObject

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

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

type VSphereDatacenterConfigSpec

type VSphereDatacenterConfigSpec struct {
	Datacenter string `json:"datacenter"`
	Network    string `json:"network"`
	Server     string `json:"server"`
	Thumbprint string `json:"thumbprint"`
	Insecure   bool   `json:"insecure"`
}

VSphereDatacenterConfigSpec defines the desired state of VSphereDatacenterConfig

func (*VSphereDatacenterConfigSpec) DeepCopy

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

func (*VSphereDatacenterConfigSpec) DeepCopyInto

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

type VSphereDatacenterConfigStatus

type VSphereDatacenterConfigStatus struct {
	// SpecValid is set to true if vspheredatacenterconfig is validated.
	SpecValid bool `json:"specValid,omitempty"`

	// ObservedGeneration is the latest generation observed by the controller.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// FailureMessage indicates that there is a fatal problem reconciling the
	// state, and will be set to a descriptive error message.
	FailureMessage *string `json:"failureMessage,omitempty"`
}

VSphereDatacenterConfigStatus defines the observed state of VSphereDatacenterConfig

func (*VSphereDatacenterConfigStatus) DeepCopy

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

func (*VSphereDatacenterConfigStatus) DeepCopyInto

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

type VSphereMachineConfig

type VSphereMachineConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VSphereMachineConfigSpec   `json:"spec,omitempty"`
	Status VSphereMachineConfigStatus `json:"status,omitempty"`
}

VSphereMachineConfig is the Schema for the vspheremachineconfigs API

func (*VSphereMachineConfig) ConvertConfigToConfigGenerateStruct added in v0.6.0

func (c *VSphereMachineConfig) ConvertConfigToConfigGenerateStruct() *VSphereMachineConfigGenerate

func (*VSphereMachineConfig) DeepCopy

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

func (*VSphereMachineConfig) DeepCopyInto

func (in *VSphereMachineConfig) DeepCopyInto(out *VSphereMachineConfig)

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

func (*VSphereMachineConfig) DeepCopyObject

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

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

func (*VSphereMachineConfig) GetName added in v0.6.0

func (c *VSphereMachineConfig) GetName() string

func (*VSphereMachineConfig) GetNamespace added in v0.6.0

func (c *VSphereMachineConfig) GetNamespace() string

func (*VSphereMachineConfig) IsControlPlane

func (c *VSphereMachineConfig) IsControlPlane() bool

func (*VSphereMachineConfig) IsEtcd

func (c *VSphereMachineConfig) IsEtcd() bool

func (*VSphereMachineConfig) IsManaged added in v0.7.0

func (c *VSphereMachineConfig) IsManaged() bool

IsManaged returns true if the vspheremachineconfig is associated with a workload cluster

func (*VSphereMachineConfig) IsReconcilePaused

func (c *VSphereMachineConfig) IsReconcilePaused() bool

func (*VSphereMachineConfig) Marshallable added in v0.6.0

func (c *VSphereMachineConfig) Marshallable() Marshallable

func (*VSphereMachineConfig) OSFamily added in v0.6.0

func (c *VSphereMachineConfig) OSFamily() OSFamily

func (*VSphereMachineConfig) PauseReconcile

func (c *VSphereMachineConfig) PauseReconcile()

func (*VSphereMachineConfig) SetControlPlane

func (c *VSphereMachineConfig) SetControlPlane()

func (*VSphereMachineConfig) SetEtcd added in v0.6.0

func (c *VSphereMachineConfig) SetEtcd()

func (*VSphereMachineConfig) SetManagedBy added in v0.7.0

func (c *VSphereMachineConfig) SetManagedBy(clusterName string)

func (*VSphereMachineConfig) SetupWebhookWithManager

func (r *VSphereMachineConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*VSphereMachineConfig) Validate added in v0.8.0

func (c *VSphereMachineConfig) Validate() error

func (*VSphereMachineConfig) ValidateCreate

func (r *VSphereMachineConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*VSphereMachineConfig) ValidateDelete

func (r *VSphereMachineConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*VSphereMachineConfig) ValidateUpdate

func (r *VSphereMachineConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VSphereMachineConfigGenerate

type VSphereMachineConfigGenerate struct {
	metav1.TypeMeta `json:",inline"`
	ObjectMeta      `json:"metadata,omitempty"`

	Spec VSphereMachineConfigSpec `json:"spec,omitempty"`
}

Same as VSphereMachineConfig except stripped down for generation of yaml file during generate clusterconfig

func NewVSphereMachineConfigGenerate

func NewVSphereMachineConfigGenerate(name string) *VSphereMachineConfigGenerate

Used for generating yaml for generate clusterconfig command

func (*VSphereMachineConfigGenerate) APIVersion

func (c *VSphereMachineConfigGenerate) APIVersion() string

func (*VSphereMachineConfigGenerate) Kind

func (*VSphereMachineConfigGenerate) Name

type VSphereMachineConfigList

type VSphereMachineConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VSphereMachineConfig `json:"items"`
}

VSphereMachineConfigList contains a list of VSphereMachineConfig

func (*VSphereMachineConfigList) DeepCopy

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

func (*VSphereMachineConfigList) DeepCopyInto

func (in *VSphereMachineConfigList) DeepCopyInto(out *VSphereMachineConfigList)

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

func (*VSphereMachineConfigList) DeepCopyObject

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

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

type VSphereMachineConfigSpec

type VSphereMachineConfigSpec struct {
	DiskGiB           int                 `json:"diskGiB,omitempty"`
	Datastore         string              `json:"datastore"`
	Folder            string              `json:"folder"`
	NumCPUs           int                 `json:"numCPUs"`
	MemoryMiB         int                 `json:"memoryMiB"`
	OSFamily          OSFamily            `json:"osFamily"`
	ResourcePool      string              `json:"resourcePool"`
	StoragePolicyName string              `json:"storagePolicyName,omitempty"`
	Template          string              `json:"template,omitempty"`
	Users             []UserConfiguration `json:"users,omitempty"`
}

VSphereMachineConfigSpec defines the desired state of VSphereMachineConfig

func (*VSphereMachineConfigSpec) DeepCopy

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

func (*VSphereMachineConfigSpec) DeepCopyInto

func (in *VSphereMachineConfigSpec) DeepCopyInto(out *VSphereMachineConfigSpec)

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

type VSphereMachineConfigStatus

type VSphereMachineConfigStatus struct{}

VSphereMachineConfigStatus defines the observed state of VSphereMachineConfig

func (*VSphereMachineConfigStatus) DeepCopy

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

func (*VSphereMachineConfigStatus) DeepCopyInto

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

type WorkerNodeGroupConfiguration

type WorkerNodeGroupConfiguration struct {
	// Name refers to the name of the worker node group
	Name string `json:"name,omitempty"`
	// Count defines the number of desired worker nodes. Defaults to 1.
	Count int `json:"count,omitempty"`
	// MachineGroupRef defines the machine group configuration for the worker nodes.
	MachineGroupRef *Ref `json:"machineGroupRef,omitempty"`
	// Taints define the set of taints to be applied on worker nodes
	Taints []corev1.Taint `json:"taints,omitempty"`
	// Labels define the labels to assign to the node
	Labels map[string]string `json:"labels,omitempty"`
}

func (*WorkerNodeGroupConfiguration) DeepCopy

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

func (*WorkerNodeGroupConfiguration) DeepCopyInto

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

Directories

Path Synopsis
thirdparty
tinkerbell
Package represents https://pkg.go.dev/github.com/tinkerbell/tink@v0.6.0/workflow#pkg-types with json tags.
Package represents https://pkg.go.dev/github.com/tinkerbell/tink@v0.6.0/workflow#pkg-types with json tags.

Jump to

Keyboard shortcuts

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