util

package
v0.3.10-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAwsCredentialsFromKopsControlPlaneSecret

func GetAwsCredentialsFromKopsControlPlaneSecret(ctx context.Context, c client.Client, secretName string) (*aws.CredentialsCache, 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 SetAWSEnvFromKopsControlPlaneSecret

func SetAWSEnvFromKopsControlPlaneSecret(ctx context.Context, c client.Client, secretName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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