controller

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BootstrapCredsSecret = "capa-manager-bootstrap-credentials"

BootstrapCredsSecret defines the tag for capa manager bootstrap credentials.

Variables

This section is empty.

Functions

func GetClient

func GetClient(kubeconfigPath string, kubeconfigContext string) (*kubernetes.Clientset, error)

GetClient creates the config for a kubernetes client and returns a client-go client for the cluster.

func PrintBootstrapCredentials

func PrintBootstrapCredentials(secret *corev1.Secret)

PrintBootstrapCredentials will print the bootstrap credentials.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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