Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthOptions ¶
type AuthOptions struct {
Server string
CAFile string
InsecureTLS bool
APIVersion unversioned.GroupVersion
// flags and printing helpers
Username string
Password string
Project string
// infra
StartingKubeConfig *kclientcmdapi.Config
DefaultNamespace string
Config *restclient.Config
Reader io.Reader
Out io.Writer
Client *client.Client
KClient kclient.Interface
// cert data to be used when authenticating
CertFile string
KeyFile string
Token string
PathOptions *kclientcmd.PathOptions
ClientFn func() (*client.Client, kclient.Interface, error)
}
=====================================
func (*AuthOptions) Complete ¶
func (o *AuthOptions) Complete(f *osclientcmd.Factory, cmd *cobra.Command, args []string) error
func (*AuthOptions) GatherAuthInfo ¶
func (o *AuthOptions) GatherAuthInfo() (string, error)
func (*AuthOptions) GatherProjectInfo ¶
func (o *AuthOptions) GatherProjectInfo() (string, error)
Click to show internal directories.
Click to hide internal directories.