plugin

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindAPIServiceOptions

type BindAPIServiceOptions struct {
	Options *base.Options
	Logs    *logs.Options

	JSONYamlPrintFlags *genericclioptions.JSONYamlPrintFlags
	OutputFormat       string
	Print              *genericclioptions.PrintFlags

	// skipKonnector skips the deployment of the konnector.
	SkipKonnector          bool
	KonnectorImageOverride string
	DowngradeKonnector     bool
	NoBanner               bool
	// contains filtered or unexported fields
}

BindAPIServiceOptions are the options for the kubectl-bind-apiservice command.

func NewBindAPIServiceOptions

func NewBindAPIServiceOptions(streams genericclioptions.IOStreams) *BindAPIServiceOptions

NewBindAPIServiceOptions returns new BindAPIServiceOptions.

func (*BindAPIServiceOptions) AddCmdFlags added in v0.0.14

func (b *BindAPIServiceOptions) AddCmdFlags(cmd *cobra.Command)

AddCmdFlags binds fields to cmd's flagset.

func (*BindAPIServiceOptions) Complete

func (b *BindAPIServiceOptions) Complete(args []string) error

Complete ensures all fields are initialized.

func (*BindAPIServiceOptions) Run

Run starts the binding process.

func (*BindAPIServiceOptions) Validate

func (b *BindAPIServiceOptions) Validate() error

Validate validates the BindAPIServiceOptions are complete and usable.

Jump to

Keyboard shortcuts

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