Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterDeployer ¶
type ClusterDeployer struct {
// contains filtered or unexported fields
}
func New ¶
func New( bootstrapProvisioner bootstrap.ClusterProvisioner, clientFactory clusterclient.Factory, providerComponents string, addonComponents string, cleanupBootstrapCluster bool) *ClusterDeployer
func (*ClusterDeployer) Create ¶
func (d *ClusterDeployer) Create(cluster *clusterv1.Cluster, machines []*clusterv1.Machine, provider ProviderDeployer, kubeconfigOutput string, providerComponentsStoreFactory ProviderComponentsStoreFactory) error
Create the cluster from the provided cluster definition and machine list.
func (*ClusterDeployer) Delete ¶
func (d *ClusterDeployer) Delete(targetClient clusterclient.Client, namespace string) error
type ProviderComponentsStore ¶
type ProviderComponentsStoreFactory ¶
type ProviderComponentsStoreFactory interface {
NewFromCoreClientset(clientset *kubernetes.Clientset) (ProviderComponentsStore, error)
}
func NewProviderComponentsStoreFactory ¶
func NewProviderComponentsStoreFactory() ProviderComponentsStoreFactory
type ProviderDeployer ¶
type ProviderDeployer interface { // TODO: This requirement can be removed once after: https://github.com/kubernetes-sigs/cluster-api/issues/158 GetIP(cluster *clusterv1.Cluster, machine *clusterv1.Machine) (string, error) // TODO: This requirement can be removed after: https://github.com/kubernetes-sigs/cluster-api/issues/160 GetKubeConfig(cluster *clusterv1.Cluster, controlPlaneMachine *clusterv1.Machine) (string, error) }
Deprecated interface for Provider specific logic. Please do not extend or add. This interface should be removed once issues/158 and issues/160 below are fixed.
Click to show internal directories.
Click to hide internal directories.