Documentation
¶
Index ¶
- func CreateCluster(ctx context.Context, opts *core.CreateOptions) error
- func DestroyCluster(ctx context.Context, o *core.DestroyOptions) error
- func IsRequiredOption(flag string, value string) error
- func NewCreateCommand(opts *core.CreateOptions) *cobra.Command
- func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command
- func ValidateCreateCredentialInfo(opts *core.CreateOptions) error
- func ValidateCredentialInfo(opts *core.DestroyOptions) 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 IsRequiredOption ¶ added in v0.1.10
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 *core.CreateOptions) 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 *core.DestroyOptions) error
ValidateCredentialInfo validates if the credentials secret name is empty, the aws-creds is 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.