patcher

package
v2.14.2-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL