kubecfg

package
v0.0.0-...-75b0795 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(g auth.Generator, template *api.Config, h handlers.AuthHeaders) http.HandlerFunc

Handler returns an HTTP handler function that generates a kubeconfig file preconfigured with a set of clusters and a JSON Web Token for the requesting user.

func LoadTemplate

func LoadTemplate(filename string) (*api.Config, error)

LoadTemplate loads a kubeconfig template from a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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