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
- Variables
- func GetVSphereMachineConfigs(fileName string) (map[string]*VSphereMachineConfig, error)
- func ParseClusterConfig(fileName string, clusterConfig KindAccessor) error
- func RefSliceEqual(a, b []Ref) bool
- func RequiredClaimsSliceEqual(a, b []OIDCConfigRequiredClaim) bool
- func SliceEqual(a, b []string) bool
- func TaintsSliceEqual(s1, s2 []corev1.Taint) bool
- func ValidateClusterConfigContent(clusterConfig *Cluster) error
- func WorkerNodeGroupConfigurationsSliceEqual(a, b []WorkerNodeGroupConfiguration) bool
- type AWSDatacenterConfig
- func (a *AWSDatacenterConfig) ClearPauseAnnotation()
- func (a *AWSDatacenterConfig) ConvertConfigToConfigGenerateStruct() *AWSDatacenterConfigGenerate
- func (in *AWSDatacenterConfig) DeepCopy() *AWSDatacenterConfig
- func (in *AWSDatacenterConfig) DeepCopyInto(out *AWSDatacenterConfig)
- func (in *AWSDatacenterConfig) DeepCopyObject() runtime.Object
- func (a *AWSDatacenterConfig) ExpectedKind() string
- func (a *AWSDatacenterConfig) Kind() string
- func (a *AWSDatacenterConfig) PauseReconcile()
- type AWSDatacenterConfigGenerate
- type AWSDatacenterConfigList
- type AWSDatacenterConfigSpec
- type AWSDatacenterConfigStatus
- type AWSIamConfig
- func (c *AWSIamConfig) ConvertConfigToConfigGenerateStruct() *AWSIamConfigGenerate
- func (in *AWSIamConfig) DeepCopy() *AWSIamConfig
- func (in *AWSIamConfig) DeepCopyInto(out *AWSIamConfig)
- func (in *AWSIamConfig) DeepCopyObject() runtime.Object
- func (c *AWSIamConfig) ExpectedKind() string
- func (c *AWSIamConfig) Kind() string
- func (r *AWSIamConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AWSIamConfig) ValidateCreate() error
- func (r *AWSIamConfig) ValidateDelete() error
- func (r *AWSIamConfig) ValidateUpdate(old runtime.Object) error
- type AWSIamConfigGenerate
- type AWSIamConfigList
- type AWSIamConfigSpec
- type AWSIamConfigStatus
- type CNI
- type Cluster
- func (c *Cluster) ClearPauseAnnotation()
- func (c *Cluster) ControlPlaneAnnotation() string
- func (c *Cluster) ConvertConfigToConfigGenerateStruct() *ClusterGenerate
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (n *Cluster) Equal(o *Cluster) bool
- func (c *Cluster) EtcdAnnotation() string
- func (c *Cluster) ExpectedKind() string
- func (c *Cluster) IsManaged() bool
- func (c *Cluster) IsReconcilePaused() bool
- func (s *Cluster) IsSelfManaged() bool
- func (c *Cluster) Kind() string
- func (c *Cluster) MachineConfigRefs() []Ref
- func (c *Cluster) ManagedBy() string
- func (s *Cluster) ManagementClusterEqual(s2 *Cluster) bool
- func (c *Cluster) PauseReconcile()
- func (c *Cluster) PausedAnnotation() string
- func (c *Cluster) ResourceType() string
- func (s *Cluster) SetManagedBy(managementClusterName string)
- func (s *Cluster) SetSelfManaged()
- func (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (c *Cluster) UseImageMirror(defaultImage string) string
- func (r *Cluster) ValidateCreate() error
- func (r *Cluster) ValidateDelete() error
- func (r *Cluster) ValidateUpdate(old runtime.Object) error
- type ClusterGenerate
- type ClusterGenerateOpt
- func ControlPlaneConfigCount(count int) ClusterGenerateOpt
- func ExternalETCDConfigCount(count int) ClusterGenerateOpt
- func WithCPMachineGroupRef(ref ProviderRefAccessor) ClusterGenerateOpt
- func WithClusterEndpoint() ClusterGenerateOpt
- func WithDatacenterRef(ref ProviderRefAccessor) ClusterGenerateOpt
- func WithEtcdMachineGroupRef(ref ProviderRefAccessor) ClusterGenerateOpt
- func WithSharedMachineGroupRef(ref ProviderRefAccessor) ClusterGenerateOpt
- func WithWorkerMachineGroupRef(ref ProviderRefAccessor) ClusterGenerateOpt
- func WorkerNodeConfigCount(count int) ClusterGenerateOpt
- type ClusterList
- type ClusterNetwork
- type ClusterSpec
- type ClusterStatus
- type ControlPlaneConfiguration
- type DockerDatacenterConfig
- func (d *DockerDatacenterConfig) ClearPauseAnnotation()
- func (d *DockerDatacenterConfig) ConvertConfigToConfigGenerateStruct() *DockerDatacenterConfigGenerate
- func (in *DockerDatacenterConfig) DeepCopy() *DockerDatacenterConfig
- func (in *DockerDatacenterConfig) DeepCopyInto(out *DockerDatacenterConfig)
- func (in *DockerDatacenterConfig) DeepCopyObject() runtime.Object
- func (d *DockerDatacenterConfig) ExpectedKind() string
- func (d *DockerDatacenterConfig) Kind() string
- func (d *DockerDatacenterConfig) Marshallable() Marshallable
- func (d *DockerDatacenterConfig) PauseReconcile()
- type DockerDatacenterConfigGenerate
- type DockerDatacenterConfigList
- type DockerDatacenterConfigSpec
- type DockerDatacenterConfigStatus
- type Endpoint
- type ExternalEtcdConfiguration
- type Flux
- type GitOpsConfig
- func (c *GitOpsConfig) ConvertConfigToConfigGenerateStruct() *GitOpsConfigGenerate
- func (in *GitOpsConfig) DeepCopy() *GitOpsConfig
- func (in *GitOpsConfig) DeepCopyInto(out *GitOpsConfig)
- func (in *GitOpsConfig) DeepCopyObject() runtime.Object
- func (c *GitOpsConfig) ExpectedKind() string
- func (c *GitOpsConfig) Kind() string
- func (r *GitOpsConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *GitOpsConfig) ValidateCreate() error
- func (r *GitOpsConfig) ValidateDelete() error
- func (r *GitOpsConfig) ValidateUpdate(old runtime.Object) error
- type GitOpsConfigGenerate
- type GitOpsConfigList
- type GitOpsConfigSpec
- type GitOpsConfigStatus
- type Github
- type KindAccessor
- type KubernetesVersion
- type ManagementCluster
- type MapRoles
- type MapUsers
- type Marshallable
- type OIDCConfig
- func (c *OIDCConfig) ConvertConfigToConfigGenerateStruct() *OIDCConfigGenerate
- func (in *OIDCConfig) DeepCopy() *OIDCConfig
- func (in *OIDCConfig) DeepCopyInto(out *OIDCConfig)
- func (in *OIDCConfig) DeepCopyObject() runtime.Object
- func (c *OIDCConfig) ExpectedKind() string
- func (c *OIDCConfig) Kind() string
- func (r *OIDCConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OIDCConfig) ValidateCreate() error
- func (r *OIDCConfig) ValidateDelete() error
- func (r *OIDCConfig) ValidateUpdate(old runtime.Object) error
- type OIDCConfigGenerate
- type OIDCConfigList
- type OIDCConfigRequiredClaim
- type OIDCConfigSpec
- type OIDCConfigStatus
- type OSFamily
- type ObjectMeta
- type PodIAMConfig
- type Pods
- type ProviderRefAccessor
- type ProxyConfiguration
- type Ref
- type RegistryMirrorConfiguration
- type Services
- type UserConfiguration
- type VSphereDatacenterConfig
- func (v *VSphereDatacenterConfig) ClearPauseAnnotation()
- func (v *VSphereDatacenterConfig) ConvertConfigToConfigGenerateStruct() *VSphereDatacenterConfigGenerate
- func (in *VSphereDatacenterConfig) DeepCopy() *VSphereDatacenterConfig
- func (in *VSphereDatacenterConfig) DeepCopyInto(out *VSphereDatacenterConfig)
- func (in *VSphereDatacenterConfig) DeepCopyObject() runtime.Object
- func (v *VSphereDatacenterConfig) ExpectedKind() string
- func (v *VSphereDatacenterConfig) IsReconcilePaused() bool
- func (v *VSphereDatacenterConfig) Kind() string
- func (v *VSphereDatacenterConfig) Marshallable() Marshallable
- func (v *VSphereDatacenterConfig) PauseReconcile()
- func (r *VSphereDatacenterConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *VSphereDatacenterConfig) ValidateCreate() error
- func (r *VSphereDatacenterConfig) ValidateDelete() error
- func (r *VSphereDatacenterConfig) ValidateUpdate(old runtime.Object) error
- type VSphereDatacenterConfigGenerate
- type VSphereDatacenterConfigList
- type VSphereDatacenterConfigSpec
- type VSphereDatacenterConfigStatus
- type VSphereMachineConfig
- func (c *VSphereMachineConfig) ConvertConfigToConfigGenerateStruct() *VSphereMachineConfigGenerate
- func (in *VSphereMachineConfig) DeepCopy() *VSphereMachineConfig
- func (in *VSphereMachineConfig) DeepCopyInto(out *VSphereMachineConfig)
- func (in *VSphereMachineConfig) DeepCopyObject() runtime.Object
- func (c *VSphereMachineConfig) GetName() string
- func (c *VSphereMachineConfig) GetNamespace() string
- func (c *VSphereMachineConfig) IsControlPlane() bool
- func (c *VSphereMachineConfig) IsEtcd() bool
- func (c *VSphereMachineConfig) IsManagement() bool
- func (c *VSphereMachineConfig) IsReconcilePaused() bool
- func (c *VSphereMachineConfig) Marshallable() Marshallable
- func (c *VSphereMachineConfig) OSFamily() OSFamily
- func (c *VSphereMachineConfig) PauseReconcile()
- func (c *VSphereMachineConfig) SetControlPlane()
- func (c *VSphereMachineConfig) SetEtcd()
- func (c *VSphereMachineConfig) SetManagement(clusterName string)
- func (r *VSphereMachineConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *VSphereMachineConfig) ValidateCreate() error
- func (r *VSphereMachineConfig) ValidateDelete() error
- func (r *VSphereMachineConfig) ValidateUpdate(old runtime.Object) error
- type VSphereMachineConfigGenerate
- type VSphereMachineConfigList
- type VSphereMachineConfigSpec
- type VSphereMachineConfigStatus
- type WorkerNodeGroupConfiguration
Constants ¶
const ( ClusterKind = "Cluster" YamlSeparator = "\n---\n" RegistryMirrorCAKey = "EKSA_REGISTRY_MIRROR_CA" )
const AWSDatacenterKind = "AWSDatacenterConfig"
const (
AWSIamConfigKind = "AWSIamConfig"
)
const DockerDatacenterKind = "DockerDatacenterConfig"
const GitOpsConfigKind = "GitOpsConfig"
const OIDCConfigKind = "OIDCConfig"
const VSphereDatacenterKind = "VSphereDatacenterConfig"
const VSphereMachineConfigKind = "VSphereMachineConfig"
Variables ¶
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 GetVSphereMachineConfigs ¶
func GetVSphereMachineConfigs(fileName string) (map[string]*VSphereMachineConfig, error)
func ParseClusterConfig ¶
func ParseClusterConfig(fileName string, clusterConfig KindAccessor) error
func RefSliceEqual ¶
func RequiredClaimsSliceEqual ¶
func RequiredClaimsSliceEqual(a, b []OIDCConfigRequiredClaim) bool
func SliceEqual ¶
func TaintsSliceEqual ¶ added in v0.6.1
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 (c *AWSDatacenterConfigGenerate) Kind() string
func (*AWSDatacenterConfigGenerate) Name ¶
func (c *AWSDatacenterConfigGenerate) Name() string
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 ¶
func (in *AWSDatacenterConfigList) DeepCopy() *AWSDatacenterConfigList
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 ¶
AWSDatacenterConfigSpec defines the desired state of AWSDatacenterConfig
func (*AWSDatacenterConfigSpec) DeepCopy ¶
func (in *AWSDatacenterConfigSpec) DeepCopy() *AWSDatacenterConfigSpec
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 ¶
func (in *AWSDatacenterConfigStatus) DeepCopy() *AWSDatacenterConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSDatacenterConfigStatus.
func (*AWSDatacenterConfigStatus) DeepCopyInto ¶
func (in *AWSDatacenterConfigStatus) DeepCopyInto(out *AWSDatacenterConfigStatus)
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) SetupWebhookWithManager ¶ added in v0.6.0
func (r *AWSIamConfig) SetupWebhookWithManager(mgr ctrl.Manager) 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"` // ClusterID is a unique-per-cluster identifier for aws-iam-authenticator server // +kubebuilder:validation:Optional ClusterID string `json:"clusterID,omitempty"` // +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 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 Cluster is the Schema for the clusters API
func GetClusterConfig ¶
func NewCluster ¶
func ValidateClusterConfig ¶
func (*Cluster) ClearPauseAnnotation ¶
func (c *Cluster) ClearPauseAnnotation()
func (*Cluster) ControlPlaneAnnotation ¶
func (*Cluster) ConvertConfigToConfigGenerateStruct ¶ added in v0.6.0
func (c *Cluster) ConvertConfigToConfigGenerateStruct() *ClusterGenerate
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) EtcdAnnotation ¶
func (*Cluster) ExpectedKind ¶
func (*Cluster) IsReconcilePaused ¶
func (*Cluster) IsSelfManaged ¶ added in v0.6.0
func (*Cluster) MachineConfigRefs ¶ added in v0.6.0
func (*Cluster) ManagementClusterEqual ¶ added in v0.6.0
func (*Cluster) PauseReconcile ¶
func (c *Cluster) PauseReconcile()
func (*Cluster) PausedAnnotation ¶
func (*Cluster) ResourceType ¶
func (*Cluster) SetManagedBy ¶ added in v0.6.0
func (*Cluster) SetSelfManaged ¶ added in v0.6.0
func (s *Cluster) SetSelfManaged()
func (*Cluster) SetupWebhookWithManager ¶
func (*Cluster) UseImageMirror ¶ added in v0.6.0
func (*Cluster) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Cluster) ValidateDelete ¶
ValidateDelete 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
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"` // CNI specifies the CNI plugin to be installed in the cluster CNI CNI `json:"cni,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{}
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"` }
func (*ControlPlaneConfiguration) DeepCopy ¶
func (in *ControlPlaneConfiguration) DeepCopy() *ControlPlaneConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfiguration.
func (*ControlPlaneConfiguration) DeepCopyInto ¶
func (in *ControlPlaneConfiguration) DeepCopyInto(out *ControlPlaneConfiguration)
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
func (n *ControlPlaneConfiguration) Equal(o *ControlPlaneConfiguration) 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 ¶
func (in *DockerDatacenterConfig) DeepCopy() *DockerDatacenterConfig
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()
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 (c *DockerDatacenterConfigGenerate) Kind() string
func (*DockerDatacenterConfigGenerate) Name ¶
func (c *DockerDatacenterConfigGenerate) Name() string
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 ¶
func (in *DockerDatacenterConfigList) DeepCopy() *DockerDatacenterConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerDatacenterConfigList.
func (*DockerDatacenterConfigList) DeepCopyInto ¶
func (in *DockerDatacenterConfigList) DeepCopyInto(out *DockerDatacenterConfigList)
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 ¶
func (in *DockerDatacenterConfigSpec) DeepCopy() *DockerDatacenterConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerDatacenterConfigSpec.
func (*DockerDatacenterConfigSpec) DeepCopyInto ¶
func (in *DockerDatacenterConfigSpec) DeepCopyInto(out *DockerDatacenterConfigSpec)
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 ¶
func (in *DockerDatacenterConfigStatus) DeepCopy() *DockerDatacenterConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerDatacenterConfigStatus.
func (*DockerDatacenterConfigStatus) DeepCopyInto ¶
func (in *DockerDatacenterConfigStatus) DeepCopyInto(out *DockerDatacenterConfigStatus)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
func (in *ExternalEtcdConfiguration) DeepCopy() *ExternalEtcdConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEtcdConfiguration.
func (*ExternalEtcdConfiguration) DeepCopyInto ¶
func (in *ExternalEtcdConfiguration) DeepCopyInto(out *ExternalEtcdConfiguration)
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
func (n *ExternalEtcdConfiguration) Equal(o *ExternalEtcdConfiguration) bool
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flux.
func (*Flux) DeepCopyInto ¶
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) SetupWebhookWithManager ¶
func (r *GitOpsConfig) SetupWebhookWithManager(mgr ctrl.Manager) 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 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. 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Github.
func (*Github) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KindAccessor ¶
+kubebuilder:object:generate=false Interface for getting Kind field for Cluster type
type KubernetesVersion ¶
type KubernetesVersion string
const ( Kube118 KubernetesVersion = "1.18" Kube119 KubernetesVersion = "1.19" Kube120 KubernetesVersion = "1.20" Kube121 KubernetesVersion = "1.21" )
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
func (n *ManagementCluster) Equal(o ManagementCluster) bool
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapRoles.
func (*MapRoles) DeepCopyInto ¶ added in v0.6.0
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapUsers.
func (*MapUsers) DeepCopyInto ¶ added in v0.6.0
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) Kind ¶
func (c *OIDCConfig) Kind() string
func (*OIDCConfig) SetupWebhookWithManager ¶
func (r *OIDCConfig) SetupWebhookWithManager(mgr ctrl.Manager) 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 ¶
func (in *OIDCConfigRequiredClaim) DeepCopy() *OIDCConfigRequiredClaim
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 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 PodIAMConfig ¶ added in v0.6.1
type PodIAMConfig struct {
ServiceAccountIssuer string `json:"serviceAccountIssuer"`
}
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pods.
func (*Pods) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderRefAccessor ¶
+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 ¶
func (n *ProxyConfiguration) Equal(o *ProxyConfiguration) bool
type Ref ¶
func (*Ref) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ref.
func (*Ref) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` // 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
func (in *RegistryMirrorConfiguration) DeepCopy() *RegistryMirrorConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryMirrorConfiguration.
func (*RegistryMirrorConfiguration) DeepCopyInto ¶ added in v0.6.0
func (in *RegistryMirrorConfiguration) DeepCopyInto(out *RegistryMirrorConfiguration)
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
func (n *RegistryMirrorConfiguration) Equal(o *RegistryMirrorConfiguration) bool
type Services ¶
type Services struct {
CidrBlocks []string `json:"cidrBlocks,omitempty"`
}
func (*Services) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Services.
func (*Services) DeepCopyInto ¶
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 VSphere 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 ¶
func (in *VSphereDatacenterConfig) DeepCopy() *VSphereDatacenterConfig
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) SetupWebhookWithManager ¶
func (r *VSphereDatacenterConfig) SetupWebhookWithManager(mgr ctrl.Manager) 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) 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 (c *VSphereDatacenterConfigGenerate) Kind() string
func (*VSphereDatacenterConfigGenerate) Name ¶
func (c *VSphereDatacenterConfigGenerate) Name() string
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 ¶
func (in *VSphereDatacenterConfigList) DeepCopy() *VSphereDatacenterConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereDatacenterConfigList.
func (*VSphereDatacenterConfigList) DeepCopyInto ¶
func (in *VSphereDatacenterConfigList) DeepCopyInto(out *VSphereDatacenterConfigList)
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 ¶
func (in *VSphereDatacenterConfigSpec) DeepCopy() *VSphereDatacenterConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereDatacenterConfigSpec.
func (*VSphereDatacenterConfigSpec) DeepCopyInto ¶
func (in *VSphereDatacenterConfigSpec) DeepCopyInto(out *VSphereDatacenterConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSphereDatacenterConfigStatus ¶
type VSphereDatacenterConfigStatus struct { }
VSphereDatacenterConfigStatus defines the observed state of VSphereDatacenterConfig
func (*VSphereDatacenterConfigStatus) DeepCopy ¶
func (in *VSphereDatacenterConfigStatus) DeepCopy() *VSphereDatacenterConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereDatacenterConfigStatus.
func (*VSphereDatacenterConfigStatus) DeepCopyInto ¶
func (in *VSphereDatacenterConfigStatus) DeepCopyInto(out *VSphereDatacenterConfigStatus)
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 ¶
func (in *VSphereMachineConfig) DeepCopy() *VSphereMachineConfig
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) IsManagement ¶ added in v0.6.0
func (c *VSphereMachineConfig) IsManagement() bool
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) SetManagement ¶ added in v0.6.0
func (c *VSphereMachineConfig) SetManagement(clusterName string)
func (*VSphereMachineConfig) SetupWebhookWithManager ¶
func (r *VSphereMachineConfig) SetupWebhookWithManager(mgr ctrl.Manager) 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 (c *VSphereMachineConfigGenerate) Kind() string
func (*VSphereMachineConfigGenerate) Name ¶
func (c *VSphereMachineConfigGenerate) Name() string
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 ¶
func (in *VSphereMachineConfigList) DeepCopy() *VSphereMachineConfigList
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 ¶
func (in *VSphereMachineConfigSpec) DeepCopy() *VSphereMachineConfigSpec
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 ¶
func (in *VSphereMachineConfigStatus) DeepCopy() *VSphereMachineConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSphereMachineConfigStatus.
func (*VSphereMachineConfigStatus) DeepCopyInto ¶
func (in *VSphereMachineConfigStatus) DeepCopyInto(out *VSphereMachineConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerNodeGroupConfiguration ¶
type WorkerNodeGroupConfiguration struct { // 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"` }
func (*WorkerNodeGroupConfiguration) DeepCopy ¶
func (in *WorkerNodeGroupConfiguration) DeepCopy() *WorkerNodeGroupConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeGroupConfiguration.
func (*WorkerNodeGroupConfiguration) DeepCopyInto ¶
func (in *WorkerNodeGroupConfiguration) DeepCopyInto(out *WorkerNodeGroupConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- awsdatacenterconfig.go
- awsdatacenterconfig_types.go
- awsiamconfig.go
- awsiamconfig_types.go
- awsiamconfig_webhook.go
- cluster.go
- cluster_types.go
- cluster_webhook.go
- dockerdatacenterconfig.go
- dockerdatacenterconfig_types.go
- gitopsconfig.go
- gitopsconfig_types.go
- gitopsconfig_webhook.go
- groupversion_info.go
- marshallable.go
- object_meta.go
- oidcconfig.go
- oidcconfig_types.go
- oidcconfig_webhook.go
- vspheredatacenterconfig.go
- vspheredatacenterconfig_types.go
- vspheredatacenterconfig_webhook.go
- vspheremachineconfig.go
- vspheremachineconfig_types.go
- vspheremachineconfig_webhook.go
- zz_generated.deepcopy.go