phases

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeoutMachineReadyEnv = "CLUSTER_API_KUBECONFIG_READY_TIMEOUT"
)

Variables

This section is empty.

Functions

func ApplyAddons

func ApplyAddons(client clusterclient.Client, addons string) error

func ApplyBootstrapComponents

func ApplyBootstrapComponents(client clusterclient.Client, components string) error

func ApplyCluster

func ApplyCluster(client clusterclient.Client, cluster *clusterv1.Cluster) error

func ApplyClusterAPIComponents

func ApplyClusterAPIComponents(client clusterclient.Client, providerComponents string) error

func ApplyMachines

func ApplyMachines(client clusterclient.Client, namespace string, machines []*clusterv1.Machine) error

func CreateBootstrapCluster

func CreateBootstrapCluster(provisioner bootstrap.ClusterProvisioner, cleanupBootstrapCluster bool, clientFactory clusterclient.Factory) (clusterclient.Client, func(), error)

func GetKubeconfig

func GetKubeconfig(bootstrapClient clusterclient.Client, provider provider.Deployer, kubeconfigOutput string, clusterName, namespace string) (string, error)

GetKubeconfig returns a kubeconfig for the target cluster

func Pivot

func Pivot(source sourceClient, target targetClient, providerComponents string) error

Pivot deploys the provided provider components to a target cluster and then migrates all cluster-api resources from the source cluster to the target cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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