Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildMapOption ¶
type BuildMapOption func(map[string]interface{})
type DatacenterConfig ¶
type DatacenterConfig interface {
Kind() string
PauseReconcile()
ClearPauseAnnotation()
}
type MachineConfig ¶
type MachineConfig interface{}
type Provider ¶
type Provider interface {
Name() string
SetupAndValidateCreateCluster(ctx context.Context, clusterSpec *cluster.Spec) error
SetupAndValidateDeleteCluster(ctx context.Context) error
SetupAndValidateUpgradeCluster(ctx context.Context, clusterSpec *cluster.Spec) error
UpdateSecrets(ctx context.Context, cluster *types.Cluster) error
GenerateDeploymentFileForCreate(ctx context.Context, cluster *types.Cluster, clusterSpec *cluster.Spec, fileName string) (string, error)
GenerateDeploymentFileForUpgrade(ctx context.Context, bootstrapCluster, workloadCluster *types.Cluster, clusterSpec *cluster.Spec, fileName string) (string, error)
GenerateStorageClass() []byte
BootstrapSetup(ctx context.Context, clusterConfig *v1alpha1.Cluster, cluster *types.Cluster) error
CleanupProviderInfrastructure(ctx context.Context) error
BootstrapClusterOpts() ([]bootstrapper.BootstrapClusterOption, error)
UpdateKubeConfig(content *[]byte, clusterName string) error
Version(clusterSpec *cluster.Spec) string
EnvMap() (map[string]string, error)
GetDeployments() map[string][]string
GetInfrastructureBundle(clusterSpec *cluster.Spec) *types.InfrastructureBundle
DatacenterConfig() DatacenterConfig
DatacenterResourceType() string
MachineResourceType() string
MachineConfigs() []MachineConfig
ValidateNewSpec(ctx context.Context, cluster *types.Cluster) error
GenerateMHC() ([]byte, error)
}
Directories
¶
| Path | Synopsis |
|---|---|
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
internal/tags/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
internal/templates/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.