Documentation ¶
Index ¶
- Constants
- func CreateBucketIfNotFound(awsClient *aws.Client, bucket string) error
- func CreateLogGroupIfNotFound(awsClient *aws.Client, logGroup string) error
- func ErrorAPINotReady(apiName string, status string) error
- func ErrorAWSCredentialsRequired() error
- func ErrorClusterAccessConfigOrPromptsRequired() error
- func ErrorClusterAlreadyCreated(clusterName string, region string) error
- func ErrorClusterAlreadyDeleted(clusterName string, region string) error
- func ErrorClusterConfigOrPromptsRequired() error
- func ErrorClusterConfigure(out string) error
- func ErrorClusterDebug(out string) error
- func ErrorClusterDoesNotExist(clusterName string, region string) error
- func ErrorClusterDown(out string) error
- func ErrorClusterDownInProgress(clusterName string, region string) error
- func ErrorClusterInfo(out string) error
- func ErrorClusterRefresh(out string) error
- func ErrorClusterUp(out string) error
- func ErrorClusterUpInProgress(clusterName string, region string) error
- func ErrorConnectToDockerDaemon() error
- func ErrorCortexYAMLNotFound() error
- func ErrorDockerCtrlC() error
- func ErrorDockerPermissions(err error) error
- func ErrorEnvironmentNotFound(envName string) error
- func ErrorFailedClusterStatus(status clusterstate.Status, clusterName string, region string) error
- func ErrorFieldNotFoundInEnvironment(fieldName string, envName string) error
- func ErrorInvalidOperatorEndpoint(endpoint string) error
- func ErrorInvalidProvider(providerStr string) error
- func ErrorNotSupportedInLocalEnvironment() error
- func ErrorOneAWSConfigFieldSet(setConfigField string, missingConfigField string, configPath string) error
- func ErrorOneAWSEnvVarSet(setEnvVar string, missingEnvVar string) error
- func ErrorOperatorConfigFromLocalEnvironment() error
- func ErrorOperatorEndpointInLocalEnvironment() error
- func ErrorResponseUnknown(body string, statusCode int) error
- func ErrorShellCompletionNotSupported(shell string) error
- func Execute()
- func MustGetOperatorConfig(envName string) cluster.OperatorConfig
- func ReadOrConfigureEnv(envName string) (cliconfig.Environment, error)
- type AWSCredentials
Constants ¶
View Source
const ( ErrInvalidProvider = "cli.invalid_provider" ErrNotSupportedInLocalEnvironment = "cli.not_supported_in_local_environment" ErrEnvironmentNotFound = "cli.environment_not_found" ErrOperatorEndpointInLocalEnvironment = "cli.operator_endpoint_in_local_environment" ErrOperatorConfigFromLocalEnvironment = "cli.operater_config_from_local_environment" ErrFieldNotFoundInEnvironment = "cli.field_not_found_in_environment" ErrInvalidOperatorEndpoint = "cli.invalid_operator_endpoint" ErrCortexYAMLNotFound = "cli.cortex_yaml_not_found" ErrConnectToDockerDaemon = "cli.connect_to_docker_daemon" ErrDockerPermissions = "cli.docker_permissions" ErrDockerCtrlC = "cli.docker_ctrl_c" ErrResponseUnknown = "cli.response_unknown" ErrAPINotReady = "cli.api_not_ready" ErrOneAWSEnvVarSet = "cli.one_aws_env_var_set" ErrOneAWSConfigFieldSet = "cli.one_aws_config_field_set" ErrClusterUp = "cli.cluster_up" ErrClusterConfigure = "cli.cluster_configure" ErrClusterInfo = "cli.cluster_info" ErrClusterDebug = "cli.cluster_debug" ErrClusterRefresh = "cli.cluster_refresh" ErrClusterDown = "cli.cluster_down" ErrDuplicateCLIEnvNames = "cli.duplicate_cli_env_names" ErrClusterUpInProgress = "cli.cluster_up_in_progress" ErrClusterAlreadyCreated = "cli.cluster_already_created" ErrClusterDownInProgress = "cli.cluster_down_in_progress" ErrClusterAlreadyDeleted = "cli.cluster_already_deleted" ErrFailedClusterStatus = "cli.failed_cluster_status" ErrClusterDoesNotExist = "cli.cluster_does_not_exist" ErrAWSCredentialsRequired = "cli.aws_credentials_required" ErrClusterConfigOrPromptsRequired = "cli.cluster_config_or_prompts_required" ErrClusterAccessConfigOrPromptsRequired = "cli.cluster_access_config_or_prompts_required" ErrShellCompletionNotSupported = "cli.shell_completion_not_supported" )
Variables ¶
This section is empty.
Functions ¶
func CreateBucketIfNotFound ¶ added in v0.15.0
func CreateLogGroupIfNotFound ¶ added in v0.15.0
func ErrorAPINotReady ¶ added in v0.4.0
func ErrorAWSCredentialsRequired ¶ added in v0.16.0
func ErrorAWSCredentialsRequired() error
func ErrorClusterAccessConfigOrPromptsRequired ¶ added in v0.16.0
func ErrorClusterAccessConfigOrPromptsRequired() error
func ErrorClusterAlreadyCreated ¶ added in v0.15.0
func ErrorClusterAlreadyDeleted ¶ added in v0.15.0
func ErrorClusterConfigOrPromptsRequired ¶ added in v0.16.0
func ErrorClusterConfigOrPromptsRequired() error
func ErrorClusterConfigure ¶ added in v0.17.0
func ErrorClusterDebug ¶ added in v0.15.0
func ErrorClusterDoesNotExist ¶ added in v0.15.0
func ErrorClusterDown ¶ added in v0.15.0
func ErrorClusterDownInProgress ¶ added in v0.15.0
func ErrorClusterInfo ¶ added in v0.15.0
func ErrorClusterRefresh ¶ added in v0.15.0
func ErrorClusterUp ¶ added in v0.15.0
func ErrorClusterUpInProgress ¶ added in v0.15.0
func ErrorConnectToDockerDaemon ¶ added in v0.15.0
func ErrorConnectToDockerDaemon() error
func ErrorCortexYAMLNotFound ¶ added in v0.15.0
func ErrorCortexYAMLNotFound() error
func ErrorDockerCtrlC ¶ added in v0.15.0
func ErrorDockerCtrlC() error
func ErrorDockerPermissions ¶ added in v0.15.0
func ErrorEnvironmentNotFound ¶ added in v0.16.0
func ErrorFailedClusterStatus ¶ added in v0.15.0
func ErrorFailedClusterStatus(status clusterstate.Status, clusterName string, region string) error
func ErrorFieldNotFoundInEnvironment ¶ added in v0.16.0
unexpected error if code tries to create operator config from local environment
func ErrorInvalidOperatorEndpoint ¶ added in v0.15.0
func ErrorInvalidProvider ¶ added in v0.16.0
func ErrorNotSupportedInLocalEnvironment ¶ added in v0.16.0
func ErrorNotSupportedInLocalEnvironment() error
func ErrorOneAWSConfigFieldSet ¶ added in v0.15.0
func ErrorOneAWSEnvVarSet ¶ added in v0.15.0
func ErrorOperatorConfigFromLocalEnvironment ¶ added in v0.16.0
func ErrorOperatorConfigFromLocalEnvironment() error
unexpected error if code tries to create operator config from local environment
func ErrorOperatorEndpointInLocalEnvironment ¶ added in v0.16.0
func ErrorOperatorEndpointInLocalEnvironment() error
func ErrorResponseUnknown ¶ added in v0.15.0
func ErrorShellCompletionNotSupported ¶ added in v0.17.0
func MustGetOperatorConfig ¶ added in v0.16.0
func MustGetOperatorConfig(envName string) cluster.OperatorConfig
func ReadOrConfigureEnv ¶ added in v0.16.0
func ReadOrConfigureEnv(envName string) (cliconfig.Environment, error)
Types ¶
type AWSCredentials ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.