proxy

package
v0.24.6 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 15 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdProxy

func NewCmdProxy(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

NewCmdProxy returns the proxy Cobra command

Types

type ProxyOptions added in v0.18.0

type ProxyOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

ProxyOptions have the data required to perform the proxy operation

func NewProxyOptions added in v0.18.0

func NewProxyOptions(ioStreams genericclioptions.IOStreams) *ProxyOptions

NewProxyOptions creates the options for proxy

func (*ProxyOptions) Complete added in v0.18.0

func (o *ProxyOptions) Complete(f cmdutil.Factory) error

Complete adapts from the command line args and factory to the data required.

func (ProxyOptions) RunProxy added in v0.18.0

func (o ProxyOptions) RunProxy() error

RunProxy checks given arguments and executes command

func (ProxyOptions) Validate added in v0.18.0

func (o ProxyOptions) Validate() error

Validate checks to the ProxyOptions to see if there is sufficient information to run the command.

Jump to

Keyboard shortcuts

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