kubeconfig

package
v1.7.16 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInitKubeConfigFiles

func CreateInitKubeConfigFiles(masterEndpoint, pkiDir, outDir, nodeName 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