Documentation ¶
Index ¶
- Constants
- func BuildControlPlaneKubeconfig(organization, controlplane, token string) (string, error)
- func GetSecret(ctx context.Context, kube client.Client, ref xpv1.SecretReference) (*corev1.Secret, error)
- func GetSecretValue(ctx context.Context, kube client.Client, ref *v1.SecretKeySelector) (val string, err error)
Constants ¶
View Source
const ( UpboundKubeconfigKeyFmt = "upbound-" UpboundK8sResource = "k8s" UpboundProxy = "https://proxy.upbound.io/v1/controlPlanes/" )
Variables ¶
This section is empty.
Functions ¶
func BuildControlPlaneKubeconfig ¶
BuildControlPlaneKubeconfig build kubeconfig object
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.
Click to show internal directories.
Click to hide internal directories.