Documentation
¶
Index ¶
- Constants
- type ClusterActuator
- type DeploymentClient
- type VsphereClient
- func (vc *VsphereClient) Create(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error
- func (vc *VsphereClient) Delete(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error
- func (vc *VsphereClient) Exists(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) (bool, error)
- func (vc *VsphereClient) Update(ctx context.Context, cluster *clusterv1.Cluster, ...) error
Constants ¶
View Source
const InstanceStatusAnnotationKey = "instance-status"
View Source
const ProviderName = "vsphere"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterActuator ¶
type ClusterActuator struct {
// contains filtered or unexported fields
}
ClusterActuator represents the vsphere cluster actuator responsible for maintaining the cluster level objects
func NewClusterActuator ¶
func NewClusterActuator(clusterV1alpha1 clusterv1alpha1.ClusterV1alpha1Interface, k8sClient kubernetes.Interface, lister v1alpha1.Interface, eventRecorder record.EventRecorder) (*ClusterActuator, error)
NewClusterActuator creates the instance for the ClusterActuator
func (*ClusterActuator) Delete ¶
func (ca *ClusterActuator) Delete(cluster *clusterv1.Cluster) error
Delete will delete any cluster level resources for the cluster.
func (*ClusterActuator) Reconcile ¶
func (ca *ClusterActuator) Reconcile(cluster *clusterv1.Cluster) error
Reconcile will create or update the cluster
type DeploymentClient ¶
type DeploymentClient struct{}
Contains vsphere-specific deployment logic that implements ProviderDeployer interface at sigs.k8s.io/cluster-api/cmd/clusterctl/clusterdeployer/clusterdeployer.go
func NewDeploymentClient ¶
func NewDeploymentClient() *DeploymentClient
func (*DeploymentClient) GetIP ¶
type VsphereClient ¶
type VsphereClient struct {
// contains filtered or unexported fields
}
func NewGovmomiMachineActuator ¶
func NewGovmomiMachineActuator(m manager.Manager, clusterV1alpha1 clusterv1alpha1.ClusterV1alpha1Interface, k8sClient kubernetes.Interface, lister v1alpha1.Interface, eventRecorder record.EventRecorder) (*VsphereClient, error)
TODO: remove 2nd arguments
func (*VsphereClient) Create ¶
func (*VsphereClient) Delete ¶
func (*VsphereClient) Exists ¶
Source Files
¶
- clusteractuator.go
- deployer.go
- instancestatus.go
- machineactuator.go
Click to show internal directories.
Click to hide internal directories.