Help us shape the future of Go! Take the 2026 Go Developer Survey

project

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

type DeleteOptions struct {
	client.Clients

	Name string
	// contains filtered or unexported fields
}

DeleteOptions holds the options for 'project delete' sub command

func NewDeleteOptions

func NewDeleteOptions(o *common.GlobalOptions) *DeleteOptions

NewDeleteOptions creates a ProjectDeleteOptions struct

type GetOptions

type GetOptions struct {
	client.Clients

	Name string
	// contains filtered or unexported fields
}

GetOptions holds the options for 'project get' sub command

func NewGetOptions

func NewGetOptions(o *common.GlobalOptions) *GetOptions

NewGetOptions creates a ProjectGetOptions struct

type ListOptions

type ListOptions struct {
	client.Clients
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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