Documentation
¶
Index ¶
- Constants
- type OpenStackBotanist
- func (b *OpenStackBotanist) ApplyCreateHook() error
- func (b *OpenStackBotanist) ApplyDeleteHook() error
- func (b *OpenStackBotanist) CheckIfClusterGetsScaled() (bool, int, error)
- func (b *OpenStackBotanist) DeployAutoNodeRepair() error
- func (b *OpenStackBotanist) DeployBackupInfrastructure() error
- func (b *OpenStackBotanist) DeployInfrastructure() error
- func (b *OpenStackBotanist) DeployKube2IAMResources() error
- func (b *OpenStackBotanist) DestroyBackupInfrastructure() error
- func (b *OpenStackBotanist) DestroyInfrastructure() error
- func (b *OpenStackBotanist) DestroyKube2IAMResources() error
- func (b *OpenStackBotanist) GenerateAdmissionControlConfig() (map[string]interface{}, error)
- func (b *OpenStackBotanist) GenerateCalicoConfig() (map[string]interface{}, error)
- func (b *OpenStackBotanist) GenerateCloudConfigUserDataConfig() *common.CloudConfigUserDataConfig
- func (b *OpenStackBotanist) GenerateCloudProviderConfig() (string, error)
- func (b *OpenStackBotanist) GenerateClusterAutoscalerConfig() (map[string]interface{}, error)
- func (b *OpenStackBotanist) GenerateEtcdBackupDefaults() *gardenv1beta1.Backup
- func (b *OpenStackBotanist) GenerateEtcdBackupSecretData() (map[string][]byte, error)
- func (b *OpenStackBotanist) GenerateEtcdConfig(string) (map[string]interface{}, error)
- func (b *OpenStackBotanist) GenerateKube2IAMConfig() (map[string]interface{}, error)
- func (b *OpenStackBotanist) GenerateKubeAPIServerConfig() (map[string]interface{}, error)
- func (b *OpenStackBotanist) GenerateKubeControllerManagerConfig() (map[string]interface{}, error)
- func (b *OpenStackBotanist) GenerateKubeSchedulerConfig() (map[string]interface{}, error)
- func (b *OpenStackBotanist) GenerateNginxIngressConfig() (map[string]interface{}, error)
- func (b *OpenStackBotanist) GetCloudProviderName() string
Constants ¶
const ( // DomainName is a constant for the key in a cloud provider secret that holds the OpenStack domain name. DomainName = "domainName" // TenantName is a constant for the key in a cloud provider secret that holds the OpenStack tenant name. TenantName = "tenantName" // UserName is a constant for the key in a cloud provider secret that holds the OpenStack username. UserName = "username" // Password is a constant for the key in a cloud provider secret that holds the OpenStack password. Password = "password" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenStackBotanist ¶
OpenStackBotanist is a struct which has methods that perform OpenStack cloud-specific operations for a Shoot cluster.
func New ¶
func New(o *operation.Operation) (*OpenStackBotanist, error)
New takes an operation object <o> and creates a new OpenStackBotanist object.
func (*OpenStackBotanist) ApplyCreateHook ¶
func (b *OpenStackBotanist) ApplyCreateHook() error
ApplyCreateHook does currently nothing for OpenStack.
func (*OpenStackBotanist) ApplyDeleteHook ¶
func (b *OpenStackBotanist) ApplyDeleteHook() error
ApplyDeleteHook does currently nothing for OpenStack.
func (*OpenStackBotanist) CheckIfClusterGetsScaled ¶
func (b *OpenStackBotanist) CheckIfClusterGetsScaled() (bool, int, error)
CheckIfClusterGetsScaled does currently nothing for OpenStack, as ScaleSets aren't supported.
func (*OpenStackBotanist) DeployAutoNodeRepair ¶
func (b *OpenStackBotanist) DeployAutoNodeRepair() error
DeployAutoNodeRepair returns
func (*OpenStackBotanist) DeployBackupInfrastructure ¶
func (b *OpenStackBotanist) DeployBackupInfrastructure() error
DeployBackupInfrastructure kicks off a Terraform job which creates the infrastructure resources for backup.
func (*OpenStackBotanist) DeployInfrastructure ¶
func (b *OpenStackBotanist) DeployInfrastructure() error
DeployInfrastructure kicks off a Terraform job which deploys the infrastructure.
func (*OpenStackBotanist) DeployKube2IAMResources ¶
func (b *OpenStackBotanist) DeployKube2IAMResources() error
DeployKube2IAMResources - Not needed on OpenStack
func (*OpenStackBotanist) DestroyBackupInfrastructure ¶
func (b *OpenStackBotanist) DestroyBackupInfrastructure() error
DestroyBackupInfrastructure kicks off a Terraform job which destroys the infrastructure for backup.
func (*OpenStackBotanist) DestroyInfrastructure ¶
func (b *OpenStackBotanist) DestroyInfrastructure() error
DestroyInfrastructure kicks off a Terraform job which destroys the infrastructure.
func (*OpenStackBotanist) DestroyKube2IAMResources ¶
func (b *OpenStackBotanist) DestroyKube2IAMResources() error
DestroyKube2IAMResources - Not needed on OpenStack.
func (*OpenStackBotanist) GenerateAdmissionControlConfig ¶
func (b *OpenStackBotanist) GenerateAdmissionControlConfig() (map[string]interface{}, error)
GenerateAdmissionControlConfig generates values which are required to render the chart admissions-controls properly.
func (*OpenStackBotanist) GenerateCalicoConfig ¶
func (b *OpenStackBotanist) GenerateCalicoConfig() (map[string]interface{}, error)
GenerateCalicoConfig generates values which are required to render the chart calico properly.
func (*OpenStackBotanist) GenerateCloudConfigUserDataConfig ¶
func (b *OpenStackBotanist) GenerateCloudConfigUserDataConfig() *common.CloudConfigUserDataConfig
GenerateCloudConfigUserDataConfig generates values which are required to render the chart shoot-cloud-config properly.
func (*OpenStackBotanist) GenerateCloudProviderConfig ¶
func (b *OpenStackBotanist) GenerateCloudProviderConfig() (string, error)
GenerateCloudProviderConfig returns
func (*OpenStackBotanist) GenerateClusterAutoscalerConfig ¶
func (b *OpenStackBotanist) GenerateClusterAutoscalerConfig() (map[string]interface{}, error)
GenerateClusterAutoscalerConfig - Not needed on OpenStack.
func (*OpenStackBotanist) GenerateEtcdBackupDefaults ¶
func (b *OpenStackBotanist) GenerateEtcdBackupDefaults() *gardenv1beta1.Backup
GenerateEtcdBackupDefaults returns
func (*OpenStackBotanist) GenerateEtcdBackupSecretData ¶
func (b *OpenStackBotanist) GenerateEtcdBackupSecretData() (map[string][]byte, error)
GenerateEtcdBackupSecretData returns
func (*OpenStackBotanist) GenerateEtcdConfig ¶
func (b *OpenStackBotanist) GenerateEtcdConfig(string) (map[string]interface{}, error)
GenerateEtcdConfig returns the etcd deployment configuration (including backup settings) for the etcd Helm chart.
func (*OpenStackBotanist) GenerateKube2IAMConfig ¶
func (b *OpenStackBotanist) GenerateKube2IAMConfig() (map[string]interface{}, error)
GenerateKube2IAMConfig - Not needed on OpenStack.
func (*OpenStackBotanist) GenerateKubeAPIServerConfig ¶
func (b *OpenStackBotanist) GenerateKubeAPIServerConfig() (map[string]interface{}, error)
GenerateKubeAPIServerConfig returns
func (*OpenStackBotanist) GenerateKubeControllerManagerConfig ¶
func (b *OpenStackBotanist) GenerateKubeControllerManagerConfig() (map[string]interface{}, error)
GenerateKubeControllerManagerConfig returns
func (*OpenStackBotanist) GenerateKubeSchedulerConfig ¶
func (b *OpenStackBotanist) GenerateKubeSchedulerConfig() (map[string]interface{}, error)
GenerateKubeSchedulerConfig returns
func (*OpenStackBotanist) GenerateNginxIngressConfig ¶
func (b *OpenStackBotanist) GenerateNginxIngressConfig() (map[string]interface{}, error)
GenerateNginxIngressConfig generates values which are required to render the chart nginx-ingress properly.
func (*OpenStackBotanist) GetCloudProviderName ¶
func (b *OpenStackBotanist) GetCloudProviderName() string
GetCloudProviderName returns the Kubernetes cloud provider name for this cloud.