Documentation ¶
Index ¶
- Constants
- Variables
- func Execute(rootCmd *cobra.Command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error
- func GetRootCmd() *cobra.Command
- func NewCmdCompletion(out io.Writer, parentName string) *cobra.Command
- func RunCompletion(out io.Writer, cmd *cobra.Command, args []string) error
- func Version() *cobra.Command
Constants ¶
View Source
const (
KubeConfigEnvVar = "KUBECONFIG"
)
Variables ¶
View Source
var ( ErrCompletionShellNotSpecified = errors.New("Shell not specified.") ErrCompletionTooMayArguments = errors.New("Too many arguments. Expected only the shell type.") )
View Source
var (
ErrCompatibilityMatrixTermsNotAccepted = errors.New("You must read and accept the Compatibility Matrix Terms of Service before using this command. To view, please visit https://vendor.replicated.com/compatibility-matrix")
)
View Source
var ErrVMWaitDurationExceeded = errors.New("wait duration exceeded")
View Source
var ErrWaitDurationExceeded = errors.New("wait duration exceeded")
Functions ¶
func Execute ¶
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetRootCmd ¶ added in v0.10.0
RootCmd represents the base command when called without any subcommands
func NewCmdCompletion ¶ added in v0.57.0
func RunCompletion ¶ added in v0.57.0
Types ¶
This section is empty.
Source Files ¶
- api.go
- api_get.go
- api_patch.go
- api_post.go
- api_put.go
- app.go
- app_create.go
- app_ls.go
- app_rm.go
- cache_helper.go
- channel_adoption.go
- channel_counts.go
- channel_create.go
- channel_disable_semantic_versioning.go
- channel_enable_semantic_versioning.go
- channel_inspect.go
- channel_ls.go
- channel_releases.go
- channel_rm.go
- cluster.go
- cluster_addon.go
- cluster_addon_create.go
- cluster_addon_create_objectstore.go
- cluster_addon_ls.go
- cluster_addon_rm.go
- cluster_create.go
- cluster_kubeconfig.go
- cluster_ls.go
- cluster_nodegroup.go
- cluster_nodegroup_ls.go
- cluster_port.go
- cluster_port_expose.go
- cluster_port_ls.go
- cluster_port_rm.go
- cluster_prepare.go
- cluster_rm.go
- cluster_shell.go
- cluster_update.go
- cluster_update_nodegroup.go
- cluster_update_ttl.go
- cluster_upgrade.go
- cluster_versions.go
- collection.go
- collection_addmodel.go
- collection_create.go
- collection_ls.go
- collection_removemodel.go
- collection_rm.go
- collector_create.go
- collector_inspect.go
- collector_ls.go
- collector_promote.go
- collector_update.go
- collectors.go
- completion.go
- customer.go
- customer_archive.go
- customer_create.go
- customer_download_license.go
- customer_inspect.go
- customer_ls.go
- customer_update.go
- default.go
- default_clear.go
- default_clearall.go
- default_set.go
- default_show.go
- enterprise_portal_invite.go
- enterprise_portal_status.go
- enterprise_portal_user.go
- enterprise_portal_user_ls.go
- enterpriseportal.go
- enterpriseportal_status_get.go
- enterpriseportal_status_update.go
- installer.go
- installer_create.go
- installer_ls.go
- instance.go
- instance_inspect.go
- instance_ls.go
- instance_tag.go
- login.go
- logout.go
- model.go
- model_ls.go
- model_pull.go
- model_push.go
- model_rm.go
- network.go
- network_create.go
- network_join.go
- network_ls.go
- network_rm.go
- registry.go
- registry_add.go
- registry_add_dockerhub.go
- registry_add_ecr.go
- registry_add_gar.go
- registry_add_gcr.go
- registry_add_ghcr.go
- registry_add_other.go
- registry_add_quay.go
- registry_logs.go
- registry_ls.go
- registry_rm.go
- registry_validate.go
- release_compatibility.go
- release_create.go
- release_download.go
- release_inspect.go
- release_lint.go
- release_ls.go
- release_promote.go
- release_update.go
- release_validate.go
- root.go
- runner.go
- version.go
- version_upgrade.go
- vm.go
- vm_create.go
- vm_ls.go
- vm_port.go
- vm_port_expose.go
- vm_port_ls.go
- vm_port_rm.go
- vm_rm.go
- vm_update.go
- vm_update_ttl.go
- vm_versions.go
Click to show internal directories.
Click to hide internal directories.