Documentation
¶
Index ¶
- Constants
- func CAPICluster(clusterSpec *cluster.Spec, snowCluster *snowv1.AWSSnowCluster, ...) *clusterv1.Cluster
- func ControlPlaneObjects(clusterSpec *cluster.Spec, ...) []runtime.Object
- func KubeadmConfigTemplates(clusterSpec *cluster.Spec) map[string]*bootstrapv1.KubeadmConfigTemplate
- func KubeadmControlPlane(clusterSpec *cluster.Spec, snowMachineTemplate *snowv1.AWSSnowMachineTemplate) *controlplanev1.KubeadmControlPlane
- func MachineDeployments(clusterSpec *cluster.Spec, ...) map[string]*clusterv1.MachineDeployment
- func NewProvider(providerKubectlClient ProviderKubectlClient, writer filewriter.FileWriter, ...) *snowProvider
- func SnowCluster(clusterSpec *cluster.Spec) *snowv1.AWSSnowCluster
- func SnowMachineTemplate(machineConfig *v1alpha1.SnowMachineConfig) *snowv1.AWSSnowMachineTemplate
- func SnowMachineTemplates(clusterSpec *cluster.Spec, ...) map[string]*snowv1.AWSSnowMachineTemplate
- func WorkersObjects(clusterSpec *cluster.Spec, ...) []runtime.Object
- type ProviderKubectlClient
Constants ¶
View Source
const ( SnowClusterKind = "AWSSnowCluster" SnowMachineTemplateKind = "AWSSnowMachineTemplate" )
Variables ¶
This section is empty.
Functions ¶
func CAPICluster ¶
func CAPICluster(clusterSpec *cluster.Spec, snowCluster *snowv1.AWSSnowCluster, kubeadmControlPlane *controlplanev1.KubeadmControlPlane) *clusterv1.Cluster
func ControlPlaneObjects ¶
func KubeadmConfigTemplates ¶
func KubeadmConfigTemplates(clusterSpec *cluster.Spec) map[string]*bootstrapv1.KubeadmConfigTemplate
func KubeadmControlPlane ¶
func KubeadmControlPlane(clusterSpec *cluster.Spec, snowMachineTemplate *snowv1.AWSSnowMachineTemplate) *controlplanev1.KubeadmControlPlane
func MachineDeployments ¶
func MachineDeployments(clusterSpec *cluster.Spec, kubeadmConfigTemplates map[string]*bootstrapv1.KubeadmConfigTemplate, machineTemplates map[string]*snowv1.AWSSnowMachineTemplate) map[string]*clusterv1.MachineDeployment
func NewProvider ¶
func NewProvider(providerKubectlClient ProviderKubectlClient, writer filewriter.FileWriter, now types.NowFunc) *snowProvider
func SnowCluster ¶
func SnowCluster(clusterSpec *cluster.Spec) *snowv1.AWSSnowCluster
func SnowMachineTemplate ¶
func SnowMachineTemplate(machineConfig *v1alpha1.SnowMachineConfig) *snowv1.AWSSnowMachineTemplate
func SnowMachineTemplates ¶
func SnowMachineTemplates(clusterSpec *cluster.Spec, machineConfigs map[string]*v1alpha1.SnowMachineConfig) map[string]*snowv1.AWSSnowMachineTemplate
func WorkersObjects ¶
Types ¶
type ProviderKubectlClient ¶
type ProviderKubectlClient interface {
DeleteEksaDatacenterConfig(ctx context.Context, snowDatacenterResourceType string, snowDatacenterConfigName string, kubeconfigFile string, namespace string) error
DeleteEksaMachineConfig(ctx context.Context, snowMachineResourceType string, snowMachineConfigName string, kubeconfigFile string, namespace string) error
}
Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1beta1
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
|
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io |
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.