client

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientOpts

type ClientOpts struct {
	// contains filtered or unexported fields
}

func NewClientOpts

func NewClientOpts(which, description string) *ClientOpts

func (*ClientOpts) AddFlags

func (opts *ClientOpts) AddFlags(flags *pflag.FlagSet)

func (*ClientOpts) SetDefaultCurrentContext

func (opts *ClientOpts) SetDefaultCurrentContext(currCtx string) *ClientOpts

func (*ClientOpts) SetDefaultUserAndCluster

func (opts *ClientOpts) SetDefaultUserAndCluster(user, cluster string) *ClientOpts

func (*ClientOpts) ToRESTConfig

func (opts *ClientOpts) ToRESTConfig() (*rest.Config, error)

Jump to

Keyboard shortcuts

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