Documentation ¶
Index ¶
- func GetAWSCredentialsFromKopsControlPlaneSecret(ctx context.Context, c client.Client, secretName, namespace string) (*aws.Credentials, error)
- func GetClusterByName(ctx context.Context, c client.Client, namespace, name string) (*clusterv1beta1.Cluster, error)
- func SetEnvVarsFromAWSCredentials(awsConfig aws.Credentials) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterByName ¶
func GetClusterByName(ctx context.Context, c client.Client, namespace, name string) (*clusterv1beta1.Cluster, error)
GetClusterByName finds and return a Cluster object using the specified params.
func SetEnvVarsFromAWSCredentials ¶
func SetEnvVarsFromAWSCredentials(awsConfig aws.Credentials) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.