vmware

package
v1.0.0-rc07 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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