url

package
Version: v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const RecommendedCommandName = "url"

RecommendedCommandName is the recommended url command name

Variables

This section is empty.

Functions

func NewCmdURL

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

NewCmdURL returns the top-level url command

func NewCmdURLCreate

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

NewCmdURLCreate implements the odo url create command.

func NewCmdURLDelete

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

NewCmdURLDelete implements the odo url delete command.

func NewCmdURLDescribe

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

NewCmdURLDescribe implements the odo url describe command.

func NewCmdURLList

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

NewCmdURLList implements the odo url list command.

Types

type URLCreateOptions

type URLCreateOptions struct {
	*clicomponent.PushOptions
	// contains filtered or unexported fields
}

URLCreateOptions encapsulates the options for the odo url create command

func NewURLCreateOptions

func NewURLCreateOptions() *URLCreateOptions

NewURLCreateOptions creates a new URLCreateOptions instance

func (*URLCreateOptions) Complete

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

Complete completes URLCreateOptions after they've been Created

func (*URLCreateOptions) Run

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

Run contains the logic for the odo url create command

func (*URLCreateOptions) Validate

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

Validate validates the URLCreateOptions based on completed values

type URLDeleteOptions

type URLDeleteOptions struct {
	*clicomponent.PushOptions
	// contains filtered or unexported fields
}

URLDeleteOptions encapsulates the options for the odo url delete command

func NewURLDeleteOptions

func NewURLDeleteOptions() *URLDeleteOptions

NewURLDeleteOptions creates a new URLDeleteOptions instance

func (*URLDeleteOptions) Complete

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

Complete completes URLDeleteOptions after they've been Deleted

func (*URLDeleteOptions) Run

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

Run contains the logic for the odo url delete command

func (*URLDeleteOptions) Validate

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

Validate validates the URLDeleteOptions based on completed values

type URLDescribeOptions

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

URLDescribeOptions encapsulates the options for the odo url describe command

func NewURLDescribeOptions

func NewURLDescribeOptions() *URLDescribeOptions

NewURLDescribeOptions creates a new NewURLDescribeOptions instance

func (*URLDescribeOptions) Complete

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

Complete completes URLDescribeOptions after they've been Listed

func (*URLDescribeOptions) Run

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

Run contains the logic for the odo url describe command

func (*URLDescribeOptions) Validate

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

Validate validates the URLDescribeOptions based on completed values

type URLListOptions

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

URLListOptions encapsulates the options for the odo url list command

func NewURLListOptions

func NewURLListOptions() *URLListOptions

NewURLListOptions creates a new URLCreateOptions instance

func (*URLListOptions) Complete

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

Complete completes URLListOptions after they've been Listed

func (*URLListOptions) Run

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

Run contains the logic for the odo url list command

func (*URLListOptions) Validate

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

Validate validates the URLListOptions based on completed values

Jump to

Keyboard shortcuts

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