Documentation ¶
Index ¶
- func GetAWSAccount(ctx context.Context, cli client.Client, namespace, accountCRName string) (*awsv1alpha1.Account, error)
- func GetAWSAccountClaim(ctx context.Context, cli client.Client, namespace, accountClaimName string) (*awsv1alpha1.AccountClaim, error)
- func GetAWSAccountCredentials(ctx context.Context, cli client.Client, namespace, secretName string) (*awsprovider.AwsClientInput, error)
- func NewAWSSecret(name, namespace, accessKeyID, secretAccessKey string) string
- func NewClient(flags *genericclioptions.ConfigFlags) (client.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAWSAccount ¶
func GetAWSAccount( ctx context.Context, cli client.Client, namespace, accountCRName string, ) (*awsv1alpha1.Account, error)
Get AWS Account CR
func GetAWSAccountClaim ¶
func GetAWSAccountClaim( ctx context.Context, cli client.Client, namespace, accountClaimName string, ) (*awsv1alpha1.AccountClaim, error)
Get AWS Account Claim CR
func GetAWSAccountCredentials ¶
func GetAWSAccountCredentials( ctx context.Context, cli client.Client, namespace, secretName string, ) (*awsprovider.AwsClientInput, error)
Get the IAM Credentials created with AWS Account CR
func NewAWSSecret ¶
func NewClient ¶
func NewClient(flags *genericclioptions.ConfigFlags) (client.Client, error)
NewClient creates a Kubernetes client with provided cli flags
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.