Documentation ¶
Index ¶
Constants ¶
View Source
const KubeConfigStubBinaryName = "authenticator"
Variables ¶
This section is empty.
Functions ¶
func NeedsStubbedExec ¶
func NeedsStubbedExec(rawConfig *clientcmdapi.Config) bool
NeedsStubbedExec returns true if the config contains at least one user with an Exec type AuthInfo.
func ReplaceAuthExecWithStub ¶
func ReplaceAuthExecWithStub(rawConfig *clientcmdapi.Config, address string) error
ReplaceAuthExecWithStub goes through the kubeconfig and replaces all uses of the Exec auth method by an invocation of the stub binary.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.