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)
Click to show internal directories.
Click to hide internal directories.