Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AccessKeyID is the data field in a secret where the access key id is stored at. AccessKeyID = "accessKeyID" // AccessKeySecret is the data field in a secret where the access key secret is stored at. AccessKeySecret = "accessKeySecret" // StorageEndpoint is the data field in a secret where the storage endpoint is stored at. StorageEndpoint = "storageEndpoint" )
View Source
const ( // Name is the name of the Alicloud provider. Name = "provider-alicloud" // StorageProviderName is the name of the Alicloud storage provider. StorageProviderName = "OSS" // InfraRelease is the name of the alicloud-infra chart. InfraRelease = "alicloud-infra" // ETCDBackupRestoreImageName is the name of the etcd backup and restore image. ETCDBackupRestoreImageName = "etcd-backup-restore" // MachineControllerManagerImageName is the name of the MachineControllerManager image. MachineControllerManagerImageName = "machine-controller-manager" // CloudControllerManagerImageName is the name of the CloudControllerManager image. CloudControllerManagerImageName = "alicloud-controller-manager" // CSIAttacherImageName is the name of the CSI attacher image. CSIAttacherImageName = "csi-attacher" // CSINodeDriverRegistrarImageName is the name of the CSI driver registrar image. CSINodeDriverRegistrarImageName = "csi-node-driver-registrar" // CSIProvisionerImageName is the name of the CSI provisioner image. CSIProvisionerImageName = "csi-provisioner" // CSISnapshotterImageName is the name of the CSI snapshotter image. CSISnapshotterImageName = "csi-snapshotter" // CSIPluginImageName is the name of the CSI plugin image. CSIPluginImageName = "csi-plugin-alicloud" // BucketName is a constant for the key in a backup secret that holds the bucket name. // The bucket name is written to the backup secret by Gardener as a temporary solution. // TODO In the future, the bucket name should come from a BackupBucket resource (see https://github.com/gardener/gardener/blob/master/docs/proposals/02-backupinfra.md) BucketName = "bucketName" // CloudProviderConfigName is the name of the configmap containing the cloud provider config. CloudProviderConfigName = "cloud-provider-config" // MachineControllerManagerName is a constant for the name of the machine-controller-manager. MachineControllerManagerName = "machine-controller-manager" // BackupSecretName is the name of the secret containing the credentials for storing the backups of Shoot clusters. BackupSecretName = "etcd-backup" )
View Source
const Type = "alicloud"
Type is the type of resources managed by the Alicloud actuator.
Variables ¶
View Source
var ( // ChartsPath is the path to the charts ChartsPath = filepath.Join("controllers", Name, "charts") // InternalChartsPath is the path to the internal charts InternalChartsPath = filepath.Join(ChartsPath, "internal") // InfraChartPath is the path to the alicloud-infra chart. InfraChartPath = filepath.Join(InternalChartsPath, "alicloud-infra") )
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
Credentials are the credentials to access the Alicloud API.
func ReadSecretCredentials ¶
func ReadSecretCredentials(secret *corev1.Secret) (*Credentials, error)
ReadSecretCredentials reads the Credentials from the given secret.
Click to show internal directories.
Click to hide internal directories.