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, cluster *clientauthentication.Cluster) (*Authenticator, error)
GetAuthenticator returns an exec-based plugin for providing client credentials.
func (*Authenticator) UpdateTransportConfig ¶
func (a *Authenticator) UpdateTransportConfig(c *transport.Config) error
UpdateTransportConfig updates the transport.Config to use credentials returned by the plugin.
Source Files ¶
exec.go metrics.go
- Version
- v0.23.3
- Published
- Jan 26, 2022
- Platform
- js/wasm
- Imports
- 32 packages
- Last checked
- 22 seconds ago –
Tools for package owners.