existing

package
v0.0.0-...-efd9b15 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 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 Cluster

type Cluster 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 New

func New(kubeconfigPath string) (*Cluster, error)

New 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 (*Cluster) Create

func (e *Cluster) Create() error

Create implements clusterdeployer.ClusterProvisioner interface

func (*Cluster) Delete

func (e *Cluster) Delete() error

Delete implements clusterdeployer.ClusterProvisioner interface

func (*Cluster) GetKubeconfig

func (e *Cluster) 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