kubeconfig

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInitKubeConfigFiles

func CreateInitKubeConfigFiles(masterEndpoint, pkiDir, outDir string) error

CreateInitKubeConfigFiles is called from the main init and does the work for the default phase behaviour

func GetKubeConfigBytesFromSpec

func GetKubeConfigBytesFromSpec(config BuildConfigProperties) ([]byte, error)

GetKubeConfigBytesFromSpec takes properties how to build a KubeConfig file and then returns the bytes of that file

Types

type BuildConfigProperties

type BuildConfigProperties struct {
	CertDir         string
	ClientName      string
	Organization    []string
	APIServer       string
	Token           string
	MakeClientCerts bool
}

BuildConfigProperties holds some simple information about how this phase should build the KubeConfig object

Jump to

Keyboard shortcuts

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