openstackbotanist

package
v0.0.0-...-133fb1b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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

type OpenStackBotanist struct {
	*operation.Operation
	CloudProviderName string
}

OpenStackBotanist is a struct which has methods that perform OpenStack cloud-specific operations for a Shoot cluster.

func New

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL