aws

package
v0.1.37 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCluster

func CreateCluster(ctx context.Context, opts *core.CreateOptions) error

func CreateIAMOptions added in v0.1.37

func CreateIAMOptions(opts *core.CreateOptions, infra *awsinfra.CreateInfraOutput) awsinfra.CreateIAMOptions

func CreateInfraOptions added in v0.1.37

func CreateInfraOptions(opts *core.CreateOptions) awsinfra.CreateInfraOptions

func DestroyCluster

func DestroyCluster(ctx context.Context, o *core.DestroyOptions) error

func IsRequiredOption added in v0.1.10

func IsRequiredOption(flag string, value string) error

IsRequiredOption returns a cobra style error message when the flag value is empty

func NewCreateCommand

func NewCreateCommand(opts *core.CreateOptions) *cobra.Command

func NewDestroyCommand

func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command

func ValidateCreateCredentialInfo added in v0.1.10

func ValidateCreateCredentialInfo(opts awsutil.AWSCredentialsOptions, credentialSecretName, namespace, pullSecretFile string) error

ValidateCreateCredentialInfo validates if the credentials secret name is empty that the aws-creds and pull-secret flags are not empty; validates if the credentials secret is not empty, that it can be retrieved

func ValidateCredentialInfo added in v0.1.10

func ValidateCredentialInfo(opts awsutil.AWSCredentialsOptions, credentialSecretName, namespace string) error

ValidateCredentialInfo validates if the credentials secret name is empty, the aws-creds or sts-creds mutually exclusive and are not empty; validates if the credentials secret is not empty, that it can be retrieved.

Types

This section is empty.

Jump to

Keyboard shortcuts

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