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
Click to show internal directories.
Click to hide internal directories.