package
0.0.0-20241110042726-8cac22a9eff7
Repository: https://github.com/portainer/k2d.git
Documentation: pkg.go.dev
# Functions
GenerateKubeconfig generates a Kubernetes configuration file (kubeconfig) with the provided CA path, server address, and authentication token.
GenerateTable takes a Kubernetes runtime.Object, expected to be a kind of resource list (e.g., PodList, ServiceList), and converts it into a metav1.Table format.
GetRegistryAuthFromSecret extracts the username and password for a given registry URL from a Kubernetes Secret.