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")
)
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_post.go
- api_put.go
- app_create.go
- app_delete.go
- app_ls.go
- apps.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_create.go
- cluster_kubeconfig.go
- cluster_ls.go
- cluster_prepare.go
- cluster_rm.go
- cluster_versions.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
- enterprise.go
- enterprise_auth.go
- enterprise_auth_approve.go
- enterprise_auth_init.go
- enterprise_channel.go
- enterprise_channel_assign.go
- enterprise_channel_create.go
- enterprise_channel_ls.go
- enterprise_channel_rm.go
- enterprise_channel_update.go
- enterprise_installer.go
- enterprise_installer_assign.go
- enterprise_installer_create.go
- enterprise_installer_ls.go
- enterprise_installer_rm.go
- enterprise_installer_update.go
- enterprise_policy.go
- enterprise_policy_assign.go
- enterprise_policy_create.go
- enterprise_policy_ls.go
- enterprise_policy_rm.go
- enterprise_policy_unassign.go
- enterprise_policy_update.go
- installer.go
- installer_create.go
- installer_ls.go
- login.go
- registry.go
- registry_add.go
- registry_add_dockerhub.go
- registry_add_ecr.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
Click to show internal directories.
Click to hide internal directories.