authorization

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenPathEnvVar = "KUBERNETES_SERVICE_TOKEN_PATH"
)

Variables

This section is empty.

Functions

func CreateToken

func CreateToken() (string, error)

func HttpWithBearerToken

func HttpWithBearerToken(_ *rest.Config, _ *http.Client) (server.Filter, error)

func RefreshSecretKey

func RefreshSecretKey()

func ValidateToken

func ValidateToken(tokenString string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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