kube_config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 5 Imported by: 14

Documentation

Index

Constants

View Source
const MimeTypeYaml = "application/x-yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoints

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

func NewEndpoints

func NewEndpoints(c *KubeConfig) *Endpoints

func (*Endpoints) GetKubeConfig

func (e *Endpoints) GetKubeConfig(w http.ResponseWriter, req *http.Request)

type KubeConfig

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

func NewKubeConfig

func NewKubeConfig(clusterName, url, ca, namespace string) *KubeConfig

func (*KubeConfig) Generate

func (c *KubeConfig) Generate(output io.Writer, token string)

Jump to

Keyboard shortcuts

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