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 // Note: UseHyperKube can be removed when we drop the support of // provisioning clusters of version 1.17. UseHyperKube bool }
Basic initial cluster configuration
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
Click to show internal directories.
Click to hide internal directories.