controlplaneauth

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpboundKubeconfigKeyFmt = "upbound-"
	UpboundK8sResource      = "k8s"
	UpboundProxy            = "https://proxy.upbound.io/v1/controlPlanes/"
)

Variables

This section is empty.

Functions

func BuildControlPlaneKubeconfig

func BuildControlPlaneKubeconfig(organization, controlplane, token string) (string, error)

BuildControlPlaneKubeconfig build kubeconfig object

func GetSecret added in v0.7.0

func GetSecret(ctx context.Context, kube client.Client, ref xpv1.SecretReference) (*corev1.Secret, error)

func GetSecretValue

func GetSecretValue(ctx context.Context, kube client.Client, ref *v1.SecretKeySelector) (val string, err error)

GetSecretValue fetches the referenced input secret key reference

Types

This section is empty.

Jump to

Keyboard shortcuts

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