cluster

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(initConfiguration InitConfiguration) error

Init creates a cluster definition scaffold in the local machine, in the current folder, at a directory named after ClusterName provided in the InitConfiguration parameter

FIXME: being this a part of the go API accept the toplevel directory instead of

using the PWD

Types

type InitConfiguration

type InitConfiguration struct {
	ClusterName         string
	ControlPlane        string
	CiliumImage         string
	CiliumInitImage     string
	CiliumOperatorImage string
	KuredImage          string
	DexImage            string
	GangwayClientSecret string
	GangwayImage        string
	KubernetesVersion   *versionutil.Version
	ImageRepository     string
	EtcdImageTag        string
	CoreDNSImageTag     string
	CloudProvider       string
	StrictCapDefaults   bool
}

func (InitConfiguration) KubernetesVersionAtLeast added in v0.9.1

func (initConfiguration InitConfiguration) KubernetesVersionAtLeast(version string) bool

type ScaffoldFile added in v0.8.0

type ScaffoldFile struct {
	Location    string
	Content     string
	DoNotRender bool
}

Jump to

Keyboard shortcuts

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