Documentation ¶
Index ¶
- Constants
- func GetGsCredentials(clientSet kube.ClientSet, namespace, secretName string) (credentials string, err error)
- func GetS3Key(clientSet kube.ClientSet, namespace, secretName string) (accessKey string, secretKey string, err error)
- func GetStorageType(provider v1alpha1.StorageProvider) v1alpha1.ObjectStorageType
Constants ¶
View Source
const ( AWSAccessKey = "access_key" AWSSecretKey = "secret_key" AWSAccessKeyEnv = "AWS_ACCESS_KEY_ID" AWSSecretKeyEnv = "AWS_SECRET_ACCESS_KEY" GSCredentialsKey = "credentials" GSCredentialsEnv = "GS_CREDENTIALS" )
Variables ¶
This section is empty.
Functions ¶
func GetGsCredentials ¶
func GetStorageType ¶
func GetStorageType(provider v1alpha1.StorageProvider) v1alpha1.ObjectStorageType
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.