Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Credentials ¶
type Credentials struct { Auth []byte `json:"auth"` Username string `json:"-"` Password string `json:"-"` }
func (Credentials) Empty ¶
func (c Credentials) Empty() bool
type LoginOptions ¶
type LoginOptions struct { ConfigFile string Credentials Credentials HostPort string SkipCheck bool CreateDirectory bool Out io.Writer ErrOut io.Writer ServiceAccount string }
func (*LoginOptions) Complete ¶
func (o *LoginOptions) Complete(f *clientcmd.Factory, args []string) error
func (*LoginOptions) Run ¶
func (o *LoginOptions) Run() error
func (*LoginOptions) Validate ¶
func (o *LoginOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.