Documentation ¶
Index ¶
- func NewCmdProject(c *common.GlobalOptions) *cobra.Command
- func NewSubCmdProjectCreate(gOpt *common.GlobalOptions) *cobra.Command
- func NewSubCmdProjectDelete(gOpt *common.GlobalOptions) *cobra.Command
- func NewSubCmdProjectGet(gOpt *common.GlobalOptions) *cobra.Command
- func NewSubCmdProjectList(gOpt *common.GlobalOptions) *cobra.Command
- func NewSubCmdProjectSet(gOpt *common.GlobalOptions) *cobra.Command
- type CreateOptions
- type DeleteOptions
- type GetOptions
- type ListOptions
- type SetOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdProject ¶
func NewCmdProject(c *common.GlobalOptions) *cobra.Command
NewCmdProject creates and returns the cobra command that acts as a root for all other project CLI sub-commands
func NewSubCmdProjectCreate ¶
func NewSubCmdProjectCreate(gOpt *common.GlobalOptions) *cobra.Command
NewSubCmdProjectCreate creates and returns the cobra command for the `project get` CLI command
func NewSubCmdProjectDelete ¶
func NewSubCmdProjectDelete(gOpt *common.GlobalOptions) *cobra.Command
NewSubCmdProjectDelete creates and returns the cobra command for the `project delete` CLI command
func NewSubCmdProjectGet ¶
func NewSubCmdProjectGet(gOpt *common.GlobalOptions) *cobra.Command
NewSubCmdProjectGet creates and returns the cobra command for the `project get` CLI command
func NewSubCmdProjectList ¶
func NewSubCmdProjectList(gOpt *common.GlobalOptions) *cobra.Command
NewSubCmdProjectList creates and returns the cobra command for the `project list` CLI command
func NewSubCmdProjectSet ¶
func NewSubCmdProjectSet(gOpt *common.GlobalOptions) *cobra.Command
NewSubCmdProjectSet creates and returns the cobra command for the `project set` CLI command
Types ¶
type CreateOptions ¶
type CreateOptions struct { client.Clients Name string Description string // contains filtered or unexported fields }
CreateOptions holds the options for 'project get' sub command
func NewCreateOptions ¶
func NewCreateOptions(o *common.GlobalOptions) *CreateOptions
NewCreateOptions creates a ProjectCreateOptions struct
type DeleteOptions ¶
DeleteOptions holds the options for 'project delete' sub command
func NewDeleteOptions ¶
func NewDeleteOptions(o *common.GlobalOptions) *DeleteOptions
NewDeleteOptions creates a ProjectDeleteOptions struct
type GetOptions ¶
GetOptions holds the options for 'project get' sub command
func NewGetOptions ¶
func NewGetOptions(o *common.GlobalOptions) *GetOptions
NewGetOptions creates a ProjectGetOptions struct
type ListOptions ¶
ListOptions holds the options for 'project list' sub command
func NewListOptions ¶
func NewListOptions(o *common.GlobalOptions) (res *ListOptions)
NewListOptions initializes a ListOptions struct
type SetOptions ¶
type SetOptions struct { Name string // contains filtered or unexported fields }
SetOptions holds the options for 'project set' sub command
func NewSetOptions ¶
func NewSetOptions(o *common.GlobalOptions) *SetOptions
NewSetOptions creates a ProjectSetOptions struct