Documentation ¶
Index ¶
- Constants
- func AddApplicationFlag(cmd *cobra.Command)
- func NewCmdApplication(name, fullName string) *cobra.Command
- func NewCmdDelete(name, fullName string) *cobra.Command
- func NewCmdDescribe(name, fullName string) *cobra.Command
- func NewCmdList(name, fullName string) *cobra.Command
- type DeleteOptions
- type DescribeOptions
- type ListOptions
Constants ¶
const RecommendedCommandName = "app"
RecommendedCommandName is the recommended app command name
Variables ¶
This section is empty.
Functions ¶
func AddApplicationFlag ¶ added in v0.0.18
AddApplicationFlag adds a `app` flag to the given cobra command Also adds a completion handler to the flag
func NewCmdApplication ¶
NewCmdApplication implements the odo application command
func NewCmdDelete ¶ added in v0.0.19
NewCmdDelete implements the odo command.
func NewCmdDescribe ¶ added in v0.0.19
NewCmdDescribe implements the odo command.
func NewCmdList ¶ added in v0.0.19
NewCmdList implements the odo command.
Types ¶
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
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
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 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
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