Documentation ¶
Index ¶
- Variables
- func Execute()
- func ExitCLI(errorCode int)
- func OnError(err error)
- func RegisterCLIExitInterceptor(interceptor func(int))
- func SkipConfigValidation() setupOption
- func SkipVersionMismatchCheck() setupOption
- func WithOptionalResourceName() setupOption
- type CobraRunFn
- type MiddlewareWrapper
- type RunFn
- type Validator
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AllowedRunEnvironments = []installer.RunEnvironmentType{ installer.DockerRunEnvironmentType, installer.KubernetesRunEnvironmentType, installer.NoneRunEnvironmentType, } AllowedInstallationMode = []installer.InstallationModeType{ installer.WithDemoInstallationModeType, installer.WithoutDemoInstallationModeType, installer.NotChosenInstallationModeType, } )
Functions ¶
func RegisterCLIExitInterceptor ¶
func RegisterCLIExitInterceptor(interceptor func(int))
func SkipConfigValidation ¶
func SkipConfigValidation() setupOption
func SkipVersionMismatchCheck ¶
func SkipVersionMismatchCheck() setupOption
func WithOptionalResourceName ¶
func WithOptionalResourceName() setupOption
Types ¶
type CobraRunFn ¶
func WithResourceMiddleware ¶
func WithResourceMiddleware(runFn RunFn, params ...Validator) CobraRunFn
func WithResultHandler ¶
func WithResultHandler(runFn RunFn) CobraRunFn
type MiddlewareWrapper ¶
func WithParamsHandler ¶
func WithParamsHandler(validators ...Validator) MiddlewareWrapper
Source Files ¶
- config.go
- configure_cmd.go
- dashboard_cmd.go
- docgen_cmd.go
- legacy_datastore_cmd.go
- legacy_environment_cmd.go
- legacy_test_cmd.go
- middleware.go
- resource_apply_cmd.go
- resource_delete_cmd.go
- resource_export_cmd.go
- resource_get_cmd.go
- resource_list_cmd.go
- resource_run_cmd.go
- resources.go
- root.go
- server_cmd.go
- server_install_cmd.go
- start_cmd.go
- version_cmd.go
Click to show internal directories.
Click to hide internal directories.