...

Package binding

Overview ▾

Constants

BindingRecommendedCommandName is the recommended binding sub-command name

const BindingRecommendedCommandName = "binding"

func NewCmdBinding

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

NewCmdBinding implements the component odo sub-command

type AddBindingOptions

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

func NewAddBindingOptions

func NewAddBindingOptions() *AddBindingOptions

NewAddBindingOptions returns new instance of ComponentOptions

func (*AddBindingOptions) Complete

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

func (*AddBindingOptions) Run

func (o *AddBindingOptions) Run(ctx context.Context) error

func (*AddBindingOptions) SetClientset

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

func (*AddBindingOptions) Validate

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