Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AccessKeyID is a constant for the key in a cloud provider secret and backup secret that holds the AWS access key id. AccessKeyID = "accessKeyID" // SecretAccessKey is a constant for the key in a cloud provider secret and backup secret that holds the AWS secret access key. SecretAccessKey = "secretAccessKey" // InClusterConfig is a special name for the kubeconfig to use in-cluster client InClusterConfig = "inClusterConfig" )
Variables ¶
This section is empty.
Functions ¶
func NewAWSEC2V2 ¶
Types ¶
type Credentials ¶
func LoadCredentials ¶
func LoadCredentials(controlKubeconfig, namespace, secretName string) (*Credentials, error)
Click to show internal directories.
Click to hide internal directories.