registry

package
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: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RecommendedCommandName is the recommended registry command name
	RecommendedCommandName = "registry"
)

Variables

This section is empty.

Functions

func NewCmdAdd

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

NewCmdAdd implements the "odo registry add" command

func NewCmdDelete

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

NewCmdDelete implements the "odo registry delete" command

func NewCmdList

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

NewCmdList implements the "odo registry list" command

func NewCmdRegistry

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

NewCmdRegistry implements the registry configuration command

func NewCmdUpdate

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

NewCmdUpdate implements the "odo registry update" command

Types

type AddOptions

type AddOptions struct {
	// contains filtered or unexported fields
}

AddOptions encapsulates the options for the "odo registry add" command

func NewAddOptions

func NewAddOptions() *AddOptions

NewAddOptions creates a new AddOptions instance

func (*AddOptions) Complete

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

Complete completes AddOptions after they've been created

func (*AddOptions) Run

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

Run contains the logic for "odo registry add" command

func (*AddOptions) Validate

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

Validate validates the AddOptions based on completed values

type DeleteOptions

type DeleteOptions struct {
	// contains filtered or unexported fields
}

DeleteOptions encapsulates the options for the "odo registry delete" command

func NewDeleteOptions

func NewDeleteOptions() *DeleteOptions

NewDeleteOptions creates a new DeleteOptions instance

func (*DeleteOptions) Complete

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

Complete completes DeleteOptions after they've been created

func (*DeleteOptions) Run

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

Run contains the logic for "odo registry delete" command

func (*DeleteOptions) Validate

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

Validate validates the DeleteOptions based on completed values

type ListOptions

type ListOptions struct {
}

ListOptions encapsulates the options for "odo registry list" command

func NewListOptions

func NewListOptions() *ListOptions

NewListOptions creates a new ListOptions instance

func (*ListOptions) Complete

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

Complete completes ListOptions after they've been created

func (*ListOptions) Run

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

Run contains the logic for "odo registry list" command

func (*ListOptions) Validate

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

Validate validates the ListOptions based on completed values

type UpdateOptions

type UpdateOptions struct {
	// contains filtered or unexported fields
}

UpdateOptions encapsulates the options for the "odo registry update" command

func NewUpdateOptions

func NewUpdateOptions() *UpdateOptions

NewUpdateOptions creates a new UpdateOptions instance

func (*UpdateOptions) Complete

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

Complete completes UpdateOptions after they've been created

func (*UpdateOptions) Run

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

Run contains the logic for "odo registry update" command

func (*UpdateOptions) Validate

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

Validate validates the UpdateOptions based on completed values

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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