application

package
v0.0.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const RecommendedCommandName = "app"

RecommendedCommandName is the recommended app command name

Variables

This section is empty.

Functions

func AddApplicationFlag added in v0.0.18

func AddApplicationFlag(cmd *cobra.Command)

AddApplicationFlag adds a `app` flag to the given cobra command Also adds a completion handler to the flag

func NewCmdApplication

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

NewCmdApplication implements the odo application command

func NewCmdCreate added in v0.0.19

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

NewCmdCreate implements the odo command.

func NewCmdDelete added in v0.0.19

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

NewCmdDelete implements the odo command.

func NewCmdDescribe added in v0.0.19

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

NewCmdDescribe implements the odo command.

func NewCmdGet added in v0.0.19

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

NewCmdGet implements the odo command.

func NewCmdList added in v0.0.19

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

NewCmdList implements the odo command.

func NewCmdSet added in v0.0.19

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

NewCmdSet implements the odo command.

Types

type CreateOptions added in v0.0.19

type CreateOptions struct {
	*genericclioptions.Context
	// contains filtered or unexported fields
}

CreateOptions encapsulates the options for the odo command

func NewCreateOptions added in v0.0.19

func NewCreateOptions() *CreateOptions

NewCreateOptions creates a new CreateOptions instance

func (*CreateOptions) Complete added in v0.0.19

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

Complete completes CreateOptions after they've been created

func (*CreateOptions) Run added in v0.0.19

func (o *CreateOptions) Run() (err error)

Run contains the logic for the odo command

func (*CreateOptions) Validate added in v0.0.19

func (o *CreateOptions) Validate() (err error)

Validate validates the CreateOptions based on completed values

type DeleteOptions added in v0.0.19

type DeleteOptions struct {
	*genericclioptions.Context
	// contains filtered or unexported fields
}

DeleteOptions encapsulates the options for the odo command

func NewDeleteOptions added in v0.0.19

func NewDeleteOptions() *DeleteOptions

NewDeleteOptions creates a new DeleteOptions instance

func (*DeleteOptions) Complete added in v0.0.19

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

Complete completes DeleteOptions after they've been created

func (*DeleteOptions) Run added in v0.0.19

func (o *DeleteOptions) Run() (err error)

Run contains the logic for the odo command

func (*DeleteOptions) Validate added in v0.0.19

func (o *DeleteOptions) Validate() (err error)

Validate validates the DeleteOptions based on completed values

type DescribeOptions added in v0.0.19

type DescribeOptions struct {
	*genericclioptions.Context
	// contains filtered or unexported fields
}

DescribeOptions encapsulates the options for the odo command

func NewDescribeOptions added in v0.0.19

func NewDescribeOptions() *DescribeOptions

NewDescribeOptions creates a new DescribeOptions instance

func (*DescribeOptions) Complete added in v0.0.19

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

Complete completes DescribeOptions after they've been created

func (*DescribeOptions) Run added in v0.0.19

func (o *DescribeOptions) Run() (err error)

Run contains the logic for the odo command

func (*DescribeOptions) Validate added in v0.0.19

func (o *DescribeOptions) Validate() (err error)

Validate validates the DescribeOptions based on completed values

type GetOptions added in v0.0.19

type GetOptions struct {
	*genericclioptions.Context
	// contains filtered or unexported fields
}

GetOptions encapsulates the options for the odo command

func NewGetOptions added in v0.0.19

func NewGetOptions() *GetOptions

NewGetOptions creates a new GetOptions instance

func (*GetOptions) Complete added in v0.0.19

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

Complete completes GetOptions after they've been created

func (*GetOptions) Run added in v0.0.19

func (o *GetOptions) Run() (err error)

Run contains the logic for the odo command

func (*GetOptions) Validate added in v0.0.19

func (o *GetOptions) Validate() (err error)

Validate validates the GetOptions based on completed values

type ListOptions added in v0.0.19

type ListOptions struct {
	*genericclioptions.Context
	// contains filtered or unexported fields
}

ListOptions encapsulates the options for the odo command

func NewListOptions added in v0.0.19

func NewListOptions() *ListOptions

NewListOptions creates a new ListOptions instance

func (*ListOptions) Complete added in v0.0.19

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

Complete completes ListOptions after they've been created

func (*ListOptions) Run added in v0.0.19

func (o *ListOptions) Run() (err error)

Run contains the logic for the odo command

func (*ListOptions) Validate added in v0.0.19

func (o *ListOptions) Validate() (err error)

Validate validates the ListOptions based on completed values

type SetOptions added in v0.0.19

type SetOptions struct {
	*genericclioptions.Context
	// contains filtered or unexported fields
}

SetOptions encapsulates the options for the odo command

func NewSetOptions added in v0.0.19

func NewSetOptions() *SetOptions

NewSetOptions creates a new SetOptions instance

func (*SetOptions) Complete added in v0.0.19

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

Complete completes SetOptions after they've been created

func (*SetOptions) Run added in v0.0.19

func (o *SetOptions) Run() (err error)

Run contains the logic for the odo command

func (*SetOptions) Validate added in v0.0.19

func (o *SetOptions) Validate() (err error)

Validate validates the SetOptions based on completed values

Jump to

Keyboard shortcuts

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