Documentation
¶
Index ¶
- func CreateCluster(ctx context.Context, opts *core.CreateOptions) error
- func DestroyCluster(ctx context.Context, o *core.DestroyOptions) error
- func NewCreateCommand(opts *core.CreateOptions) *cobra.Command
- func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command
- func ValidateCreateCredentialInfo(opts awsutil.AWSCredentialsOptions, ...) error
- func ValidateCredentialInfo(opts awsutil.AWSCredentialsOptions, credentialSecretName, namespace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCluster ¶
func CreateCluster(ctx context.Context, opts *core.CreateOptions) error
func DestroyCluster ¶
func DestroyCluster(ctx context.Context, o *core.DestroyOptions) error
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.
Click to show internal directories.
Click to hide internal directories.