codeset

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCodeset

func NewCmdCodeset(c *common.GlobalOptions) *cobra.Command

NewCmdCodeset creates and returns the cobra command that acts as a root for all other codeset CLI sub-commands

func NewSubCmdCodesetDelete

func NewSubCmdCodesetDelete(gOpt *common.GlobalOptions) *cobra.Command

NewSubCmdCodesetDelete creates and returns the cobra command for the `codeset delete` CLI command

func NewSubCmdCodesetGet

func NewSubCmdCodesetGet(gOpt *common.GlobalOptions) *cobra.Command

NewSubCmdCodesetGet creates and returns the cobra command for the `codeset get` CLI command

func NewSubCmdCodesetList

func NewSubCmdCodesetList(gOpt *common.GlobalOptions) *cobra.Command

NewSubCmdCodesetList creates and returns the cobra command for the `codeset list` CLI command

func NewSubCmdCodesetRegister

func NewSubCmdCodesetRegister(gOpt *common.GlobalOptions) *cobra.Command

NewSubCmdCodesetRegister creates and returns the cobra command for the `codeset register` CLI command

func NewSubCmdCodesetSet added in v0.2.1

func NewSubCmdCodesetSet(gOpt *common.GlobalOptions) *cobra.Command

NewSubCmdCodesetSet creates and returns the cobra command for the `codeset set` CLI command

Types

type DeleteOptions

type DeleteOptions struct {
	client.Clients

	Name    string
	Project string
	// contains filtered or unexported fields
}

DeleteOptions holds the options for 'codeset delete' sub command

func NewDeleteOptions

func NewDeleteOptions(o *common.GlobalOptions) *DeleteOptions

NewDeleteOptions creates a CodesetDeleteOptions struct

type GetOptions

type GetOptions struct {
	client.Clients

	Name    string
	Project string
	// contains filtered or unexported fields
}

GetOptions holds the options for 'codeset get' sub command

func NewGetOptions

func NewGetOptions(o *common.GlobalOptions) *GetOptions

NewGetOptions creates a CodesetGetOptions struct

type ListOptions

type ListOptions struct {
	client.Clients

	Project string
	Label   string
	All     bool
	// contains filtered or unexported fields
}

ListOptions holds the options for 'codeset list' sub command

func NewListOptions

func NewListOptions(o *common.GlobalOptions) (res *ListOptions)

NewListOptions initializes a ListOptions struct

type RegisterOptions

type RegisterOptions struct {
	client.Clients

	Name        string
	Project     string
	Description string
	Labels      []string
	Location    string
	Password    string
	User        string
	// contains filtered or unexported fields
}

RegisterOptions holds the options for 'codeset register' sub command

func NewRegisterOptions

func NewRegisterOptions(o *common.GlobalOptions) *RegisterOptions

NewRegisterOptions creates a CodesetRegisterOptions struct

type SetOptions added in v0.2.1

type SetOptions struct {
	Name string
	// contains filtered or unexported fields
}

SetOptions holds the options for 'codeset set' sub command

func NewSetOptions added in v0.2.1

func NewSetOptions(o *common.GlobalOptions) *SetOptions

NewSetOptions creates a CodesetSetOptions struct

Jump to

Keyboard shortcuts

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