auth

package
v0.1.102 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 17 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Referenced from: https://github.com/kubernetes/client-go/blob/master/plugin/pkg/client/auth/exec/exec.go

Index

Constants

This section is empty.

Variables

View Source
var AuthKubernetesCallbackCache = dutyCache.NewCache[CallbackFunc]("k8s-cb-cache", 0)

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(connHash string) (*Authenticator, error)

GetAuthenticator returns an exec-based plugin for providing client credentials.

func (*Authenticator) Login

func (a *Authenticator) Login() error

func (*Authenticator) WrapTransport

func (a *Authenticator) WrapTransport(rt http.RoundTripper) http.RoundTripper

type CallbackFunc

type CallbackFunc func() (*rest.Config, error)

type YroundTripper

type YroundTripper struct {
	// contains filtered or unexported fields
}

func (*YroundTripper) RoundTrip

func (r *YroundTripper) RoundTrip(req *http.Request) (*http.Response, error)

func (*YroundTripper) WrappedRoundTripper

func (r *YroundTripper) WrappedRoundTripper() http.RoundTripper

Jump to

Keyboard shortcuts

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