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" )
View Source
const ( // Name is the name of the Alicloud provider. Name = "provider-alicloud" // InfraRelease is the name of the alicloud-infra chart. InfraRelease = "alicloud-infra" // MachineControllerManagerImageName is the name of the MachineControllerManager image. MachineControllerManagerImageName = "machine-controller-manager" // MachineControllerManagerName is a constant for the name of the machine-controller-manager. MachineControllerManagerName = "machine-controller-manager" )
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.