Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ProviderName is the name of Provider object ProviderName = "default" // ProviderNamespace is the namespace of Provider object ProviderNamespace = "default" )
View Source
const ( EnvAlicloudAcessKey = "ALICLOUD_ACCESS_KEY" EnvAlicloudSecretKey = "ALICLOUD_SECRET_KEY" EnvAlicloudRegion = "ALICLOUD_REGION" EnvAWSAccessKeyID = "AWS_ACCESS_KEY_ID" EnvAWSSecretAccessKey = "AWS_SECRET_ACCESS_KEY" EnvAWSDefaultRegion = "AWS_DEFAULT_REGION" )
Variables ¶
This section is empty.
Functions ¶
func GetProviderCredentials ¶
func RawExtension2Map ¶
func RawExtension2Map(raw *runtime.RawExtension) (map[string]interface{}, error)
RawExtension2Map will convert rawExtension to map This function is copied from oam-dev/kubevela
Types ¶
type AWSCredentials ¶
type AlibabaCloudCredentials ¶
type CloudProvider ¶
type CloudProvider string
const ( Alibaba CloudProvider = "alibaba" AWS CloudProvider = "aws" )
type ConfigurationType ¶
type ConfigurationType string
const ( ConfigurationJSON ConfigurationType = "JSON" ConfigurationHCL ConfigurationType = "HCL" )
func ValidConfiguration ¶
func ValidConfiguration(configuration v1beta1.Configuration) (ConfigurationType, string, error)
Click to show internal directories.
Click to hide internal directories.