util

package
v2.14.8+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKubeconfigSecret

func CreateKubeconfigSecret(kubeconfig *clientcmdapi.Config, name string, namespace string) (*corev1.Secret, string, error)

func SingleSeedKubeconfig

func SingleSeedKubeconfig(kubeconfig *clientcmdapi.Config, seedName string) (*clientcmdapi.Config, error)

SingleSeedKubeconfig takes a kubeconfig and returns a new kubeconfig that only has the required parts to connect to the given seed. An error is returned when the given seed has no valid matching context in the kubeconfig.

Types

This section is empty.

Jump to

Keyboard shortcuts

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