Documentation ¶
Index ¶
- Constants
- func NewCmdURL(name, fullName string) *cobra.Command
- func NewCmdURLCreate(name, fullName string) *cobra.Command
- func NewCmdURLDelete(name, fullName string) *cobra.Command
- func NewCmdURLList(name, fullName string) *cobra.Command
- type URLCreateOptions
- type URLDeleteOptions
- type URLListOptions
Constants ¶
const RecommendedCommandName = "url"
RecommendedCommandName is the recommended url command name
Variables ¶
This section is empty.
Functions ¶
func NewCmdURLCreate ¶
NewCmdURLCreate implements the odo url create command.
func NewCmdURLDelete ¶
NewCmdURLDelete implements the odo url delete command.
func NewCmdURLList ¶
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) 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) 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) 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