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
Click to show internal directories.
Click to hide internal directories.