Documentation ¶
Index ¶
- Constants
- func NewCmdAdd(name, fullName string) *cobra.Command
- func NewCmdDelete(name, fullName string) *cobra.Command
- func NewCmdList(name, fullName string) *cobra.Command
- func NewCmdRegistry(name, fullName string) *cobra.Command
- func NewCmdUpdate(name, fullName string) *cobra.Command
- type AddOptions
- type DeleteOptions
- type ListOptions
- type UpdateOptions
Constants ¶
const (
// RecommendedCommandName is the recommended registry command name
RecommendedCommandName = "registry"
)
Variables ¶
This section is empty.
Functions ¶
func NewCmdDelete ¶
NewCmdDelete implements the "odo registry delete" command
func NewCmdList ¶
NewCmdList implements the "odo registry list" command
func NewCmdRegistry ¶
NewCmdRegistry implements the registry configuration command
func NewCmdUpdate ¶
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) 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) 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) 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) 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