basic

package
v0.10.0-release Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessTokenSecret

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

func GetControllerBasicConfigFromSecret

func GetControllerBasicConfigFromSecret(cli client.Client, ref v1alpha1.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 v1alpha1.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