Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindOptions ¶
type BindOptions struct { *base.Options // url is the argument accepted by the command. It contains the // reference to where an APIService exists. URL string // skipKonnector skips the deployment of the konnector. SkipKonnector bool }
BindOptions contains the options for creating an APIBinding.
func NewBindOptions ¶
func NewBindOptions(streams genericclioptions.IOStreams) *BindOptions
NewBindOptions returns new BindOptions.
func (*BindOptions) AddCmdFlags ¶ added in v0.0.11
func (b *BindOptions) AddCmdFlags(cmd *cobra.Command)
AddCmdFlags binds fields to cmd's flagset.
func (*BindOptions) Complete ¶
func (b *BindOptions) Complete(args []string) error
Complete ensures all fields are initialized.
func (*BindOptions) Run ¶
func (b *BindOptions) Run(ctx context.Context, urlCh chan<- string) error
Run starts the binding process.
func (*BindOptions) Validate ¶
func (b *BindOptions) Validate() error
Validate validates the BindOptions are complete and usable.
Click to show internal directories.
Click to hide internal directories.