Documentation ¶
Index ¶
- Constants
- func AppendUsageTip(err error, cmd *cobra.Command) error
- type ActivateServiceAccountError
- type ArgValidationError
- type AuthError
- type DSAInputPlanError
- type DSAInvalidPlanError
- type DatabaseInputFlavorError
- type DatabaseInvalidFlavorError
- type DatabaseInvalidStorageError
- type DeleteDefaultProfile
- type DeleteInexistentProfile
- type EmptyUpdateError
- type FlagValidationError
- type InputUnknownError
- type InvalidProfileNameError
- type ObservabilityInputPlanError
- type ObservabilityInvalidPlanError
- type ProjectIdError
- type RequiredMutuallyExclusiveFlagsError
- type ServiceDisabledError
- type SetInexistentProfile
- type SingleArgExpectedError
- type SingleOptionalArgExpectedError
- type SubcommandMissingError
Constants ¶
View Source
const ( MISSING_PROJECT_ID = `` /* 301-byte string literal not displayed */ EMPTY_UPDATE = `` /* 130-byte string literal not displayed */ REQUIRED_MUTUALLY_EXCLUSIVE_FLAGS = `the following flags are mutually exclusive and at least one of them is required: %s` FAILED_AUTH = `` /* 173-byte string literal not displayed */ FAILED_SERVICE_ACCOUNT_ACTIVATION = `` /* 204-byte string literal not displayed */ SET_INEXISTENT_PROFILE = `` /* 128-byte string literal not displayed */ DELETE_INEXISTENT_PROFILE = `the configuration profile %q does not exist. To list all profiles, run: $ stackit config profile list` DELETE_DEFAULT_PROFILE = `the default configuration profile %q cannot be deleted.` OBSERVABILITY_INVALID_INPUT_PLAN = `` /* 249-byte string literal not displayed */ OBSERVABILITY_INVALID_PLAN = `the provided instance plan is not valid. %s For more details on the available plans, run: $ stackit %s plans` DSA_INVALID_INPUT_PLAN = `` /* 281-byte string literal not displayed */ DSA_INVALID_PLAN = `the provided instance plan is not valid. %s For more details on the available plans, run: $ stackit %s plans` DATABASE_INVALID_INPUT_FLAVOR = `` /* 272-byte string literal not displayed */ DATABASE_INVALID_FLAVOR = `` /* 129-byte string literal not displayed */ DATABASE_INVALID_STORAGE = `` /* 172-byte string literal not displayed */ FLAG_VALIDATION = `the provided flag --%s is invalid: %s` ARG_VALIDATION = `the provided argument "%s" is invalid: %s` ARG_UNKNOWN = `unknown argument %q` ARG_MISSING = `missing argument %q` SINGLE_ARG_EXPECTED = `expected 1 argument %q, %d were provided` SINGLE_OPTIONAL_ARG_EXPECTED = `expected no more than 1 argument %q, %d were provided` SUBCOMMAND_UNKNOWN = `unknown subcommand %q` SUBCOMMAND_MISSING = `missing subcommand` INVALID_PROFILE_NAME = `` /* 164-byte string literal not displayed */ USAGE_TIP = `For usage help, run: $ %s --help` SERVICE_DISABLED = `This service isn't enabled for the current project. To enable it, run: $ stackit %s enable` )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActivateServiceAccountError ¶
type ActivateServiceAccountError struct{}
func (*ActivateServiceAccountError) Error ¶
func (e *ActivateServiceAccountError) Error() string
type ArgValidationError ¶
func (*ArgValidationError) Error ¶
func (e *ArgValidationError) Error() string
type DSAInputPlanError ¶
func (*DSAInputPlanError) Error ¶
func (e *DSAInputPlanError) Error() string
type DSAInvalidPlanError ¶
func (*DSAInvalidPlanError) Error ¶
func (e *DSAInvalidPlanError) Error() string
type DatabaseInputFlavorError ¶
func (*DatabaseInputFlavorError) Error ¶
func (e *DatabaseInputFlavorError) Error() string
type DatabaseInvalidFlavorError ¶
func (*DatabaseInvalidFlavorError) Error ¶
func (e *DatabaseInvalidFlavorError) Error() string
type DatabaseInvalidStorageError ¶
func (*DatabaseInvalidStorageError) Error ¶
func (e *DatabaseInvalidStorageError) Error() string
type DeleteDefaultProfile ¶ added in v0.8.0
type DeleteDefaultProfile struct {
DefaultProfile string
}
func (*DeleteDefaultProfile) Error ¶ added in v0.8.0
func (e *DeleteDefaultProfile) Error() string
type DeleteInexistentProfile ¶ added in v0.8.0
type DeleteInexistentProfile struct {
Profile string
}
func (*DeleteInexistentProfile) Error ¶ added in v0.8.0
func (e *DeleteInexistentProfile) Error() string
type EmptyUpdateError ¶
type EmptyUpdateError struct{}
func (*EmptyUpdateError) Error ¶
func (e *EmptyUpdateError) Error() string
type FlagValidationError ¶
func (*FlagValidationError) Error ¶
func (e *FlagValidationError) Error() string
type InputUnknownError ¶
Used when an unexpected non-flag input (either arg or subcommand) is found
func (*InputUnknownError) Error ¶
func (e *InputUnknownError) Error() string
type InvalidProfileNameError ¶ added in v0.8.0
type InvalidProfileNameError struct {
Profile string
}
func (*InvalidProfileNameError) Error ¶ added in v0.8.0
func (e *InvalidProfileNameError) Error() string
type ObservabilityInputPlanError ¶ added in v0.12.0
func (*ObservabilityInputPlanError) Error ¶ added in v0.12.0
func (e *ObservabilityInputPlanError) Error() string
type ObservabilityInvalidPlanError ¶ added in v0.12.0
func (*ObservabilityInvalidPlanError) Error ¶ added in v0.12.0
func (e *ObservabilityInvalidPlanError) Error() string
type ProjectIdError ¶
type ProjectIdError struct{}
func (*ProjectIdError) Error ¶
func (e *ProjectIdError) Error() string
type RequiredMutuallyExclusiveFlagsError ¶ added in v0.6.0
type RequiredMutuallyExclusiveFlagsError struct {
Flags []string
}
func (*RequiredMutuallyExclusiveFlagsError) Error ¶ added in v0.6.0
func (e *RequiredMutuallyExclusiveFlagsError) Error() string
type ServiceDisabledError ¶ added in v0.8.1
type ServiceDisabledError struct {
Service string
}
func (*ServiceDisabledError) Error ¶ added in v0.8.1
func (e *ServiceDisabledError) Error() string
type SetInexistentProfile ¶ added in v0.8.0
type SetInexistentProfile struct {
Profile string
}
func (*SetInexistentProfile) Error ¶ added in v0.8.0
func (e *SetInexistentProfile) Error() string
type SingleArgExpectedError ¶
func (*SingleArgExpectedError) Error ¶
func (e *SingleArgExpectedError) Error() string
type SingleOptionalArgExpectedError ¶
func (*SingleOptionalArgExpectedError) Error ¶
func (e *SingleOptionalArgExpectedError) Error() string
type SubcommandMissingError ¶
func (*SubcommandMissingError) Error ¶
func (e *SubcommandMissingError) Error() string
Click to show internal directories.
Click to hide internal directories.