Documentation ¶
Index ¶
- type AzureClusterJig
- func (c *AzureClusterJig) CheckComponents(ctx context.Context, userClient ctrlruntimeclient.Client) (bool, error)
- func (c *AzureClusterJig) Cleanup(ctx context.Context, userClient ctrlruntimeclient.Client) error
- func (c *AzureClusterJig) CreateMachineDeployment(ctx context.Context, userClient ctrlruntimeclient.Client) error
- func (c *AzureClusterJig) Log() *zap.SugaredLogger
- func (c *AzureClusterJig) Name() string
- func (c *AzureClusterJig) Seed() ctrlruntimeclient.Client
- func (c *AzureClusterJig) Setup(ctx context.Context) error
- type AzureCredentialsType
- type ClusterJigInterface
- type CommonClusterJig
- type OpenstackClusterJig
- func (c *OpenstackClusterJig) CheckComponents(ctx context.Context, userClient ctrlruntimeclient.Client) (bool, error)
- func (c *OpenstackClusterJig) Cleanup(ctx context.Context, userClient ctrlruntimeclient.Client) error
- func (c *OpenstackClusterJig) CreateMachineDeployment(ctx context.Context, userClient ctrlruntimeclient.Client) error
- func (c *OpenstackClusterJig) Log() *zap.SugaredLogger
- func (c *OpenstackClusterJig) Name() string
- func (c *OpenstackClusterJig) Seed() ctrlruntimeclient.Client
- func (c *OpenstackClusterJig) Setup(ctx context.Context) error
- type OpenstackCredentialsType
- type VsphereClusterJig
- func (c *VsphereClusterJig) CheckComponents(ctx context.Context, userClient ctrlruntimeclient.Client) (bool, error)
- func (c *VsphereClusterJig) Cleanup(ctx context.Context, userClient ctrlruntimeclient.Client) error
- func (c *VsphereClusterJig) CreateMachineDeployment(ctx context.Context, userClient ctrlruntimeclient.Client) error
- func (c *VsphereClusterJig) Log() *zap.SugaredLogger
- func (c *VsphereClusterJig) Name() string
- func (c *VsphereClusterJig) Seed() ctrlruntimeclient.Client
- func (c *VsphereClusterJig) Setup(ctx context.Context) error
- type VsphereCredentialsType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureClusterJig ¶
type AzureClusterJig struct { CommonClusterJig Credentials AzureCredentialsType // contains filtered or unexported fields }
func NewClusterJigAzure ¶
func NewClusterJigAzure(seedClient ctrlruntimeclient.Client, log *zap.SugaredLogger, version semver.Semver, seedDatacenter string, credentials AzureCredentialsType) *AzureClusterJig
func (*AzureClusterJig) CheckComponents ¶
func (c *AzureClusterJig) CheckComponents(ctx context.Context, userClient ctrlruntimeclient.Client) (bool, error)
func (*AzureClusterJig) Cleanup ¶
func (c *AzureClusterJig) Cleanup(ctx context.Context, userClient ctrlruntimeclient.Client) error
func (*AzureClusterJig) CreateMachineDeployment ¶
func (c *AzureClusterJig) CreateMachineDeployment(ctx context.Context, userClient ctrlruntimeclient.Client) error
func (*AzureClusterJig) Log ¶
func (c *AzureClusterJig) Log() *zap.SugaredLogger
func (*AzureClusterJig) Name ¶
func (c *AzureClusterJig) Name() string
func (*AzureClusterJig) Seed ¶
func (c *AzureClusterJig) Seed() ctrlruntimeclient.Client
type AzureCredentialsType ¶
type AzureCredentialsType struct {
resources.AzureCredentials
}
func (*AzureCredentialsType) GenerateProviderSpec ¶
func (c *AzureCredentialsType) GenerateProviderSpec(spec *kubermaticv1.AzureCloudSpec, datacenter *kubermaticv1.DatacenterSpecAzure) []byte
func (*AzureCredentialsType) GenerateSecretData ¶
func (c *AzureCredentialsType) GenerateSecretData(datacenter *kubermaticv1.DatacenterSpecAzure) map[string][]byte
type ClusterJigInterface ¶
type ClusterJigInterface interface { Setup(ctx context.Context) error CreateMachineDeployment(ctx context.Context, userClient ctrlruntimeclient.Client) error WaitForNodeToBeReady(ctx context.Context, userClient ctrlruntimeclient.Client) (bool, error) CheckComponents(ctx context.Context, userClient ctrlruntimeclient.Client) (bool, error) Cleanup(ctx context.Context, userClient ctrlruntimeclient.Client) error Name() string Seed() ctrlruntimeclient.Client Log() *zap.SugaredLogger }
type CommonClusterJig ¶
type CommonClusterJig struct { DatacenterName string Version semver.Semver SeedClient ctrlruntimeclient.Client // contains filtered or unexported fields }
func (*CommonClusterJig) WaitForNodeToBeReady ¶
func (ccj *CommonClusterJig) WaitForNodeToBeReady(ctx context.Context, userClient ctrlruntimeclient.Client) (bool, error)
type OpenstackClusterJig ¶
type OpenstackClusterJig struct { CommonClusterJig Credentials OpenstackCredentialsType }
func NewClusterJigOpenstack ¶
func NewClusterJigOpenstack(seedClient ctrlruntimeclient.Client, log *zap.SugaredLogger, version semver.Semver, seedDatacenter string, credentials OpenstackCredentialsType) *OpenstackClusterJig
func (*OpenstackClusterJig) CheckComponents ¶
func (c *OpenstackClusterJig) CheckComponents(ctx context.Context, userClient ctrlruntimeclient.Client) (bool, error)
func (*OpenstackClusterJig) Cleanup ¶
func (c *OpenstackClusterJig) Cleanup(ctx context.Context, userClient ctrlruntimeclient.Client) error
func (*OpenstackClusterJig) CreateMachineDeployment ¶
func (c *OpenstackClusterJig) CreateMachineDeployment(ctx context.Context, userClient ctrlruntimeclient.Client) error
func (*OpenstackClusterJig) Log ¶
func (c *OpenstackClusterJig) Log() *zap.SugaredLogger
func (*OpenstackClusterJig) Name ¶
func (c *OpenstackClusterJig) Name() string
func (*OpenstackClusterJig) Seed ¶
func (c *OpenstackClusterJig) Seed() ctrlruntimeclient.Client
type OpenstackCredentialsType ¶
type OpenstackCredentialsType struct { Username string Password string Tenant string Domain string FloatingIPPool string Network string }
func (*OpenstackCredentialsType) GenerateProviderSpec ¶
func (osc *OpenstackCredentialsType) GenerateProviderSpec(datacenter *kubermaticv1.DatacenterSpecOpenstack) []byte
func (*OpenstackCredentialsType) GenerateSecretData ¶
func (osc *OpenstackCredentialsType) GenerateSecretData(datacenter *kubermaticv1.DatacenterSpecOpenstack) map[string][]byte
type VsphereClusterJig ¶
type VsphereClusterJig struct { CommonClusterJig Credentials VsphereCredentialsType }
func NewClusterJigVsphere ¶
func NewClusterJigVsphere(seedClient ctrlruntimeclient.Client, log *zap.SugaredLogger, version semver.Semver, seedDatacenter string, credentials VsphereCredentialsType) *VsphereClusterJig
func (*VsphereClusterJig) CheckComponents ¶
func (c *VsphereClusterJig) CheckComponents(ctx context.Context, userClient ctrlruntimeclient.Client) (bool, error)
func (*VsphereClusterJig) Cleanup ¶
func (c *VsphereClusterJig) Cleanup(ctx context.Context, userClient ctrlruntimeclient.Client) error
func (*VsphereClusterJig) CreateMachineDeployment ¶
func (c *VsphereClusterJig) CreateMachineDeployment(ctx context.Context, userClient ctrlruntimeclient.Client) error
func (*VsphereClusterJig) Log ¶
func (c *VsphereClusterJig) Log() *zap.SugaredLogger
func (*VsphereClusterJig) Name ¶
func (c *VsphereClusterJig) Name() string
func (*VsphereClusterJig) Seed ¶
func (c *VsphereClusterJig) Seed() ctrlruntimeclient.Client
type VsphereCredentialsType ¶
func (*VsphereCredentialsType) GenerateProviderSpec ¶
func (vc *VsphereCredentialsType) GenerateProviderSpec(clustername string, datacenter *kubermaticv1.DatacenterSpecVSphere) []byte
func (*VsphereCredentialsType) GenerateSecretData ¶
func (vc *VsphereCredentialsType) GenerateSecretData(datacenter *kubermaticv1.DatacenterSpecVSphere) map[string][]byte
Click to show internal directories.
Click to hide internal directories.