url

package
v0.0.0-...-8dda575 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 16 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 NewCmdURLList

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

NewCmdURLList implements the odo url list command.

Types

type URLCreateOptions

type URLCreateOptions struct {
	*clicomponent.CommonPushOptions
	// 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(name 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.CommonPushOptions
	// 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 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