project

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const RecommendedCommandName = "project"

RecommendedCommandName is the recommended project command name

Variables

This section is empty.

Functions

func AddProjectFlag added in v0.0.18

func AddProjectFlag(cmd *cobra.Command)

AddProjectFlag adds a `project` flag to the given cobra command Also adds a completion handler to the flag

func NewCmdProject

func NewCmdProject(name, fullName string) *cobra.Command

NewCmdProject implements the project odo command

func NewCmdProjectCreate added in v0.0.19

func NewCmdProjectCreate(name, fullName string) *cobra.Command

NewCmdProjectCreate creates the project create command

func NewCmdProjectDelete added in v0.0.19

func NewCmdProjectDelete(name, fullName string) *cobra.Command

NewCmdProjectDelete creates the project delete command

func NewCmdProjectGet added in v0.0.19

func NewCmdProjectGet(name, fullName string) *cobra.Command

NewCmdProjectGet creates the project get command

func NewCmdProjectList added in v0.0.19

func NewCmdProjectList(name, fullName string) *cobra.Command

NewCmdProjectList implements the odo project list command.

func NewCmdProjectSet added in v0.0.19

func NewCmdProjectSet(name, fullName string) *cobra.Command

NewCmdProjectSet creates the project set command

Types

type ProjectCreateOptions added in v0.0.19

type ProjectCreateOptions struct {

	// generic context options common to all commands
	*genericclioptions.Context
	// contains filtered or unexported fields
}

ProjectCreateOptions encapsulates the options for the odo project create command

func NewProjectCreateOptions added in v0.0.19

func NewProjectCreateOptions() *ProjectCreateOptions

NewProjectCreateOptions creates a ProjectCreateOptions instance

func (*ProjectCreateOptions) Complete added in v0.0.19

func (pco *ProjectCreateOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

Complete completes ProjectCreateOptions after they've been created

func (*ProjectCreateOptions) Run added in v0.0.19

func (pco *ProjectCreateOptions) Run() (err error)

Run runs the project create command

func (*ProjectCreateOptions) Validate added in v0.0.19

func (pco *ProjectCreateOptions) Validate() (err error)

Validate validates the parameters of the ProjectCreateOptions

type ProjectDeleteOptions added in v0.0.19

type ProjectDeleteOptions struct {

	// generic context options common to all commands
	*genericclioptions.Context
	// contains filtered or unexported fields
}

ProjectDeleteOptions encapsulates the options for the odo project delete command

func NewProjectDeleteOptions added in v0.0.19

func NewProjectDeleteOptions() *ProjectDeleteOptions

NewProjectDeleteOptions creates a ProjectDeleteOptions instance

func (*ProjectDeleteOptions) Complete added in v0.0.19

func (pdo *ProjectDeleteOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

Complete completes ProjectDeleteOptions after they've been created

func (*ProjectDeleteOptions) Run added in v0.0.19

func (pdo *ProjectDeleteOptions) Run() (err error)

Run runs the project delete command

func (*ProjectDeleteOptions) Validate added in v0.0.19

func (pdo *ProjectDeleteOptions) Validate() (err error)

Validate validates the parameters of the ProjectDeleteOptions

type ProjectGetOptions added in v0.0.19

type ProjectGetOptions struct {

	// generic context options common to all commands
	*genericclioptions.Context
	// contains filtered or unexported fields
}

ProjectGetOptions encapsulates the options for the odo project get command

func NewProjectGetOptions added in v0.0.19

func NewProjectGetOptions() *ProjectGetOptions

NewProjectGetOptions creates a ProjectGetOptions instance

func (*ProjectGetOptions) Complete added in v0.0.19

func (pgo *ProjectGetOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

Complete completes ProjectGetOptions after they've been created

func (*ProjectGetOptions) Run added in v0.0.19

func (pgo *ProjectGetOptions) Run() (err error)

Run runs the project get command

func (*ProjectGetOptions) Validate added in v0.0.19

func (pgo *ProjectGetOptions) Validate() (err error)

Validate validates the parameters of the ProjectGetOptions

type ProjectListOptions added in v0.0.19

type ProjectListOptions struct {
	*genericclioptions.Context
}

ProjectListOptions encapsulates the options for the odo project list command

func NewProjectListOptions added in v0.0.19

func NewProjectListOptions() *ProjectListOptions

NewProjectListOptions creates a new ProjectListOptions instance

func (*ProjectListOptions) Complete added in v0.0.19

func (plo *ProjectListOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

Complete completes ProjectListOptions after they've been created

func (*ProjectListOptions) Run added in v0.0.19

func (plo *ProjectListOptions) Run() (err error)

Run contains the logic for the odo project list command

func (*ProjectListOptions) Validate added in v0.0.19

func (plo *ProjectListOptions) Validate() (err error)

Validate validates the ProjectListOptions based on completed values

type ProjectSetOptions added in v0.0.19

type ProjectSetOptions struct {

	// generic context options common to all commands
	*genericclioptions.Context
	// contains filtered or unexported fields
}

ProjectSetOptions encapsulates the options for the odo project set command

func NewProjectSetOptions added in v0.0.19

func NewProjectSetOptions() *ProjectSetOptions

NewProjectSetOptions creates a ProjectSetOptions instance

func (*ProjectSetOptions) Complete added in v0.0.19

func (pso *ProjectSetOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

Complete completes ProjectSetOptions after they've been created

func (*ProjectSetOptions) Run added in v0.0.19

func (pso *ProjectSetOptions) Run() (err error)

Run runs the project set command

func (*ProjectSetOptions) Validate added in v0.0.19

func (pso *ProjectSetOptions) Validate() (err error)

Validate validates the parameters of the ProjectSetOptions

Jump to

Keyboard shortcuts

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