package exec
import "k8s.io/client-go/plugin/pkg/client/auth/exec"
Index ¶
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
Authenticator is a client credential provider that rotates credentials by executing a plugin. The plugin input and output are defined by the API group client.authentication.k8s.io.
func GetAuthenticator ¶
func GetAuthenticator(config *api.ExecConfig) (*Authenticator, error)
GetAuthenticator returns an exec-based plugin for providing client credentials.
func (*Authenticator) WrapTransport ¶
func (a *Authenticator) WrapTransport(rt http.RoundTripper) http.RoundTripper
WrapTransport instruments an existing http.RoundTripper with credentials returned by the plugin.
Source Files ¶
exec.go
- Version
- v7.0.0+incompatible
- Published
- Mar 27, 2018
- Platform
- js/wasm
- Imports
- 17 packages
- Last checked
- 34 minutes ago –
Tools for package owners.