vmware

package
v0.0.0-...-2170ac4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

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

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 NewProvider

func NewProvider() *Provider

NewProvider creates a new VMware cloud provider.

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

func (p *Provider) ReconcileDrift(ctx context.Context, drift *cloud.DriftReport) error

ReconcileDrift reports that VMware reconciliation requires manual intervention.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL