...

Package remove

Overview ▾

Constants

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

func NewCmdRegistry

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

NewCmdRegistry implements the "odo preference remove registry" command

func NewCmdRemove

func NewCmdRemove(name, fullName string, testClientset clientset.Clientset) *cobra.Command

NewCmdRemove implements the registry configuration command

type RegistryOptions

RegistryOptions encapsulates the options for the "odo preference remove registry" command

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

func NewRegistryOptions

func NewRegistryOptions() *RegistryOptions

NewRegistryOptions creates a new RegistryOptions instance

func (*RegistryOptions) Complete

func (o *RegistryOptions) Complete(ctx context.Context, cmdline cmdline.Cmdline, args []string) (err error)

Complete completes RegistryOptions after they've been created

func (*RegistryOptions) Run

func (o *RegistryOptions) Run(ctx context.Context) (err error)

Run contains the logic for "odo preference remove registry" command

func (*RegistryOptions) SetClientset

func (o *RegistryOptions) SetClientset(clientset *clientset.Clientset)

func (*RegistryOptions) UseDevfile

func (o *RegistryOptions) UseDevfile(ctx context.Context, cmdline cmdline.Cmdline, args []string) bool

func (*RegistryOptions) Validate

func (o *RegistryOptions) Validate(ctx context.Context) (err error)

Validate validates the RegistryOptions based on completed values