basic

package
v1.11.4-release Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessTokenSecret

func GetAccessTokenSecret(cli client.Client, ref v1.SecretReference) (*corev1.Secret, error)

func GetControllerBasicConfigFromSecret

func GetControllerBasicConfigFromSecret(cli client.Client, ref v1.SecretReference) (clientUsername, clientPassword string, rootCAs *x509.CertPool, err error)

Types

type Basic

type Basic interface {
	clientconfig.Manager
}

func New

func New(client client.Client, clusterRef v1.ClusterReference) Basic

type Claims

type Claims struct {
	Username string `json:"username"`
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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