Help us shape the future of Go! Take the 2026 Go Developer Survey

url

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: 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 added in v0.0.19

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

NewCmdURLCreate implements the odo url create command.

func NewCmdURLDelete added in v0.0.19

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

NewCmdURLDelete implements the odo url delete command.

func NewCmdURLList added in v0.0.19

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

NewCmdURLList implements the odo url list command.

Types

type URLCreateOptions added in v0.0.19

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

URLCreateOptions encapsulates the options for the odo url create command

func NewURLCreateOptions added in v0.0.19

func NewURLCreateOptions() *URLCreateOptions

NewURLCreateOptions creates a new UrlCreateOptions instance

func (*URLCreateOptions) Complete added in v0.0.19

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

Complete completes UrlCreateOptions after they've been Created

func (*URLCreateOptions) Run added in v0.0.19

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

Run contains the logic for the odo url create command

func (*URLCreateOptions) Validate added in v0.0.19

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

Validate validates the UrlCreateOptions based on completed values

type URLDeleteOptions added in v0.0.19

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

URLDeleteOptions encapsulates the options for the odo url delete command

func NewURLDeleteOptions added in v0.0.19

func NewURLDeleteOptions() *URLDeleteOptions

NewURLDeleteOptions creates a new UrlDeleteOptions instance

func (*URLDeleteOptions) Complete added in v0.0.19

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

Complete completes URLDeleteOptions after they've been Deleted

func (*URLDeleteOptions) Run added in v0.0.19

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

Run contains the logic for the odo url delete command

func (*URLDeleteOptions) Validate added in v0.0.19

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

Validate validates the URLDeleteOptions based on completed values

type URLListOptions added in v0.0.19

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

URLListOptions encapsulates the options for the odo url list command

func NewURLListOptions added in v0.0.19

func NewURLListOptions() *URLListOptions

NewURLListOptions creates a new UrlCreateOptions instance

func (*URLListOptions) Complete added in v0.0.19

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

Complete completes UrlListOptions after they've been Listed

func (*URLListOptions) Run added in v0.0.19

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

Run contains the logic for the odo url list command

func (*URLListOptions) Validate added in v0.0.19

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