gke

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: AGPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate added in v0.14.0

func Generate(c *config.Config) error

Generate creates the kubeconfig for GKE

Types

type Generator added in v0.15.0

type Generator struct {
	// contains filtered or unexported fields
}

Generator provides a struct through which we call our funcs

type Kubeenv

type Kubeenv struct {
	CaCert         string `yaml:"CA_CERT" json:"CA_CERT"`
	KubeletCert    string `yaml:"KUBELET_CERT" json:"KUBELET_CERT"`
	KubeletKey     string `yaml:"KUBELET_KEY" json:"KUBELET_KEY"`
	KubeMasterName string `yaml:"KUBERNETES_MASTER_NAME" json:"KUBERNETES_MASTER_NAME"`
}

Kubeenv stores the kube-env YAML

Jump to

Keyboard shortcuts

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