existing

package
v0.0.0-...-03e4ed8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExistingCluster

type ExistingCluster struct {
	// contains filtered or unexported fields
}

Represents an existing cluster being used for bootstrapping, should not be able to actually delete or create, but can point to actual kubeconfig file.

func NewExistingCluster

func NewExistingCluster(kubeconfigPath string) (*ExistingCluster, error)

NewExistingCluster creates a new existing k8s bootstrap cluster object We should clean up any lingering resources when clusterctl is complete. TODO https://github.com/kubernetes-sigs/cluster-api/issues/448

func (*ExistingCluster) Create

func (e *ExistingCluster) Create() error

Create implements clusterdeployer.ClusterProvisioner interface

func (*ExistingCluster) Delete

func (e *ExistingCluster) Delete() error

Delete implements clusterdeployer.ClusterProvisioner interface

func (*ExistingCluster) GetKubeconfig

func (e *ExistingCluster) GetKubeconfig() (string, error)

GetKubeconfig implements clusterdeployer.ClusterProvisioner interface

Jump to

Keyboard shortcuts

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