Documentation ¶
Overview ¶
Package cmd create a root cobra command and add subcommands to it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAlpha ¶
NewCmdAlpha creates a command that acts as an alternate root command for features in alpha
func NewDefaultOneXCtlCommand ¶
NewDefaultOneXCtlCommand creates the `onexctl` command with default arguments.
func NewDefaultOneXctlCommandWithArgs ¶
func NewDefaultOneXctlCommandWithArgs(o OneXctlOptions) *cobra.Command
NewDefaultOneXctlCommandWithArgs creates the `onexctl` command with arguments
func NewOneXCtlCommand ¶
func NewOneXCtlCommand(o OneXctlOptions) *cobra.Command
NewOneXctlCommand creates the `onexctl` command and its nested children.
Types ¶
type OneXctlOptions ¶
type OneXctlOptions struct { PluginHandler genericcmd.PluginHandler Arguments []string genericiooptions.IOStreams }
Directories ¶
Path | Synopsis |
---|---|
Package color print colors supported by the current terminal.
|
Package color print colors supported by the current terminal. |
Package info print the host information.
|
Package info print the host information. |
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey.
|
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey. |
Package minerset provides functions to manage minersets on onex platform.
|
Package minerset provides functions to manage minersets on onex platform. |
Package used to generate demo command code.
|
Package used to generate demo command code. |
Package options print a list of global command-line options (applies to all commands).
|
Package options print a list of global command-line options (applies to all commands). |
Package secret provides functions to manage secrets on onex platform.
|
Package secret provides functions to manage secrets on onex platform. |
Package user provides functions to manage users on onex cloud platform.
|
Package user provides functions to manage users on onex cloud platform. |
Package validate is used to validate the basic environment for onexctl to run.
|
Package validate is used to validate the basic environment for onexctl to run. |
Package version print the client and server version information.
|
Package version print the client and server version information. |
Click to show internal directories.
Click to hide internal directories.