plugin

package
v0.30.3 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 20 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	// APIExportRef is the argument accepted by the command. It contains the
	// reference to where APIExport exists. For ex: <absolute_ref_to_workspace>:<apiexport>.
	APIExportRef string
	// Name of the APIBinding.
	APIBindingName string
	// BindWaitTimeout is how long to wait for the APIBinding to be created and successful.
	BindWaitTimeout time.Duration
	// AcceptedPermissionClaims is the list of accepted permission claims for the APIBinding.
	AcceptedPermissionClaims []string
	// RejectedPermissionClaims is the list of rejected permission claims for the APIBinding.
	RejectedPermissionClaims []string
	// 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 creates an apibinding for the user.

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