govmomi

package
v1.11.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

Package govmomi contains tools for interacting with vSphere APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VMService

type VMService struct{}

VMService provdes API to interact with the VMs using govmomi.

func (*VMService) DestroyVM

DestroyVM powers off and destroys a virtual machine.

func (*VMService) ReconcileVM

func (vms *VMService) ReconcileVM(ctx context.Context, vmCtx *capvcontext.VMContext) (vm infrav1.VirtualMachine, _ error)

ReconcileVM makes sure that the VM is in the desired state by:

  1. Creating the VM if it does not exist, then...
  2. Updating the VM with the bootstrap data, such as the cloud-init meta and user data, before...
  3. Powering on the VM, and finally...
  4. Returning the real-time state of the VM to the caller

Directories

Path Synopsis
Package cluster contains tools for managing ComputeClusters.
Package cluster contains tools for managing ComputeClusters.
Package clustermodules contains tools for handling Cluster Modules.
Package clustermodules contains tools for handling Cluster Modules.
Package extra contains config with a VM's guestInfo RPC interface.
Package extra contains config with a VM's guestInfo RPC interface.
Package find is used to find VCenter objects based for failure domain handling.
Package find is used to find VCenter objects based for failure domain handling.
Package ipam contains tools for to deal with CAPI IPAddress and related types.
Package ipam contains tools for to deal with CAPI IPAddress and related types.
Package metadata contains tools to manage metadata tags on VCenter objects.
Package metadata contains tools to manage metadata tags on VCenter objects.
Package net contains tools for handling VM networks.
Package net contains tools for handling VM networks.
Package pci contains tools for PCI devices.
Package pci contains tools for PCI devices.
Package template has tools for finding VM templates.
Package template has tools for finding VM templates.
Package vcenter has tools for cloning virtual machines in vcenter.
Package vcenter has tools for cloning virtual machines in vcenter.

Jump to

Keyboard shortcuts

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