util

package
v0.15.0-alpha-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteOwnerResources

func DeleteOwnerResources(ctx context.Context, kubeClient client.Client, resource client.Object) error

func GetAWSCredentialsFromKopsControlPlaneSecret

func GetAWSCredentialsFromKopsControlPlaneSecret(ctx context.Context, c client.Client, secretName, namespace string) (*aws.Credentials, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL