gardener

package
v0.0.0-...-6d4a0cd Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGardenerClusterConfig

func NewGardenerClusterConfig(kubeconfigPath string) (*restclient.Config, error)

func NewGardenerSecretsInterface

func NewGardenerSecretsInterface(gardenerClusterCfg *restclient.Config, gardenerProjectName string) (corev1.SecretInterface, error)

func RESTConfig

func RESTConfig(kubeconfig []byte) (*restclient.Config, error)

Types

type Config

type Config struct {
	Project        string `envconfig:"default=gardenerProject"`
	KubeconfigPath string `envconfig:"default=./dev/kubeconfig.yaml"`
}

Jump to

Keyboard shortcuts

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