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
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) GetKubeConfig ¶
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.