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 Finder *find.Finder // contains filtered or unexported fields }
Session is a vSphere session with a configured Finder.
func GetOrCreate ¶
func GetOrCreate( ctx context.Context, server, datacenter, username, password string, thumbprint string) (*Session, error)
GetOrCreate gets a cached session or creates a new one if one does not already exist.
func (*Session) FindByBIOSUUID ¶
FindByBIOSUUID finds an object by its BIOS UUID.
To avoid comments about this function's name, please see the Golang WIKI https://github.com/golang/go/wiki/CodeReviewComments#initialisms. This function is named in accordance with the example "XMLHTTP".
Click to show internal directories.
Click to hide internal directories.