Documentation ¶
Index ¶
- func DeleteOwnerResources(ctx context.Context, kubeClient client.Client, resource client.Object) error
- func GetAWSCredentialsFromKopsControlPlaneSecret(ctx context.Context, c client.Reader, 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 DeleteOwnerResources ¶
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.