runnable

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type GetOptions struct {
	client.Clients

	ID string
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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