cmd

package
v0.2.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 33 Imported by: 0

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

func NewCmdAlpha(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command

NewCmdAlpha creates a command that acts as an alternate root command for features in alpha

func NewDefaultOneXCtlCommand

func NewDefaultOneXCtlCommand() *cobra.Command

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL