Documentation ¶
Index ¶
- func NewCmdRunnable(c *common.GlobalOptions) *cobra.Command
- func NewSubCmdRunnableGet(gOpt *common.GlobalOptions) *cobra.Command
- func NewSubCmdRunnableList(gOpt *common.GlobalOptions) *cobra.Command
- func NewSubCmdRunnableRegister(gOpt *common.GlobalOptions) *cobra.Command
- type GetOptions
- type ListOptions
- type RegisterOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRunnable ¶
func NewCmdRunnable(c *common.GlobalOptions) *cobra.Command
NewCmdRunnable creates and returns the cobra command that acts as a root for all other runnable CLI sub-commands
func NewSubCmdRunnableGet ¶
func NewSubCmdRunnableGet(gOpt *common.GlobalOptions) *cobra.Command
NewSubCmdRunnableGet creates and returns the cobra command for the `runnable get` CLI command
func NewSubCmdRunnableList ¶
func NewSubCmdRunnableList(gOpt *common.GlobalOptions) *cobra.Command
NewSubCmdRunnableList creates and returns the cobra command for the `runnable list` CLI command
func NewSubCmdRunnableRegister ¶
func NewSubCmdRunnableRegister(gOpt *common.GlobalOptions) *cobra.Command
NewSubCmdRunnableRegister creates and returns the cobra command for the `runnable register` CLI command
Types ¶
type GetOptions ¶
GetOptions holds the options for 'runnable get' sub command
func NewGetOptions ¶
func NewGetOptions(o *common.GlobalOptions) *GetOptions
NewGetOptions creates a RunnableGetOptions struct
type ListOptions ¶
type ListOptions struct { client.Clients ID string Kind string Labels common.KeyValueArgs // contains filtered or unexported fields }
ListOptions holds the options for 'runnable list' sub command
func NewListOptions ¶
func NewListOptions(o *common.GlobalOptions) (res *ListOptions)
NewListOptions initializes a ListOptions struct
type RegisterOptions ¶
type RegisterOptions struct { client.Clients RunnableDesc string // contains filtered or unexported fields }
RegisterOptions holds the options for 'runnable register' sub command
func NewRegisterOptions ¶
func NewRegisterOptions(o *common.GlobalOptions) *RegisterOptions
NewRegisterOptions initializes a RegisterOptions struct