plugin

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

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
	// contains filtered or unexported fields
}

BindOptions contains the options for creating an APIBinding.

func NewBindOptions

func NewBindOptions(streams genericclioptions.IOStreams) *BindOptions

NewBindOptions returns new BindOptions.

func (*BindOptions) BindFlags

func (b *BindOptions) BindFlags(cmd *cobra.Command)

BindFlags 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) error

Run starts the binding process.

func (*BindOptions) Validate

func (b *BindOptions) Validate() error

Validate validates the BindOptions are complete and usable.

Jump to

Keyboard shortcuts

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