exec

package
Version: v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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) UpdateTransportConfig

func (a *Authenticator) UpdateTransportConfig(c *transport.Config) error

UpdateTransportConfig updates the transport.Config to use credentials returned by the plugin.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL