cluster

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: Apache-2.0 Imports: 20 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

Types

type InitConfiguration

type InitConfiguration struct {
	ClusterName       string
	ControlPlane      string
	PauseImage        string
	KubernetesVersion *versionutil.Version
	ImageRepository   string
	EtcdImageTag      string
	CoreDNSImageTag   string
	CloudProvider     string
	StrictCapDefaults bool
}

func NewInitConfiguration added in v1.1.0

func NewInitConfiguration(clusterName, cloudProvider, controlPlane, kubernetesDesiredVersion string, strictCapDefaults bool) (InitConfiguration, error)

func (InitConfiguration) ControlPlaneHost added in v1.1.0

func (initConfiguration InitConfiguration) ControlPlaneHost() string

func (InitConfiguration) ControlPlaneHostAndPort added in v1.1.0

func (initConfiguration InitConfiguration) ControlPlaneHostAndPort() string

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