Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { *govmomi.Client Datacenters []*object.Datacenter VsphereVersion string }
Session is a vSphere session with a configured Finder.
type VirtualMachine ¶
type VirtualMachine struct { *object.VirtualMachine Datacenter *object.Datacenter }
func GetVMByIP ¶
func GetVMByIP(ctx context.Context, ipAddy string, datacenters []*object.Datacenter) (*VirtualMachine, error)
Click to show internal directories.
Click to hide internal directories.