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 // flags and printing helpers Username string Password string Project string // infra StartingKubeConfig *kclientcmdapi.Config DefaultNamespace string Config *rest.Config KubeClient internalclientset.Interface ProjectClient projectinternalversion.ProjectInterface Reader io.Reader Out io.Writer // cert data to be used when authenticating CertFile string KeyFile string Token string PathOptions *kclientcmd.PathOptions CommandName string RequestTimeout time.Duration }
=====================================
func (*AuthOptions) Complete ¶
func (o *AuthOptions) Complete(f *osclientcmd.Factory, cmd *cobra.Command, args []string, commandName string) error
func (*AuthOptions) GatherAuthInfo ¶
func (o *AuthOptions) GatherAuthInfo() (string, error)
func (*AuthOptions) GatherProjectInfo ¶
func (o *AuthOptions) GatherProjectInfo() (string, error)
# Who Am I? # Which Project Am I in ? # Do I have permissions ? # This method needs a valid ClientConfig
Click to show internal directories.
Click to hide internal directories.