Versions in this module Expand all Collapse all v0 v0.2.0 Sep 3, 2020 v0.1.0 Sep 3, 2020 Changes in this version + type Session struct + Conn *govmomi.Client + Ctx context.Context + Datacenter *object.Datacenter + Datastore *object.Datastore + Folder *object.Folder + Network object.NetworkReference + ResourcePool *object.ResourcePool + func NewClient(ctx context.Context, server string, username string, password string) (*Session, error) + func (s *Session) DatastoreCapacity() (capacity, free float64, err error) + func (s *Session) GetDatacenter(name string) (*object.Datacenter, error) + func (s *Session) GetDatastore(name string) (*object.Datastore, error) + func (s *Session) GetNetwork(name string) (object.NetworkReference, error) + func (s *Session) GetResourcePool(name string) (*object.ResourcePool, error) + func (s *Session) GetVM(name string) (*object.VirtualMachine, error) + func (s *Session) GetVMTotalStorageSize(vmName string) (size float64, err error)