Documentation
¶
Overview ¶
Package vmware provides VMware vSphere-specific infrastructure drift detection.
The provider uses govmomi to inspect the configured datacenter, VM inventory, network attachments, and datastore usage for pre-provisioned nodes.
Index ¶
- type Provider
- func (p *Provider) DetectDrift(ctx context.Context, desired, actual *cloud.InfrastructureState) (*cloud.DriftReport, error)
- func (p *Provider) GetCurrentState(ctx context.Context, cfg v2.Config) (*cloud.InfrastructureState, error)
- func (p *Provider) ReconcileDrift(ctx context.Context, drift *cloud.DriftReport) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements the CloudProvider interface for VMware vSphere.
func (*Provider) DetectDrift ¶
func (p *Provider) DetectDrift(ctx context.Context, desired, actual *cloud.InfrastructureState) (*cloud.DriftReport, error)
DetectDrift compares desired state with actual state and returns a drift report.
func (*Provider) GetCurrentState ¶
func (p *Provider) GetCurrentState(ctx context.Context, cfg v2.Config) (*cloud.InfrastructureState, error)
GetCurrentState retrieves the current infrastructure state from VMware vSphere.
func (*Provider) ReconcileDrift ¶
ReconcileDrift reports that VMware reconciliation requires manual intervention.
Click to show internal directories.
Click to hide internal directories.