Versions in this module Expand all Collapse all v0 v0.13.1 May 8, 2020 v0.13.0 May 8, 2020 Changes in this version + func LoadGovcEnvVars(vm *types.VM) + func NewVM(ctx context.Context, dryRun bool, obj *object.VirtualMachine) types.Machine + func NewVMwareCluster(prefix string) (types.Cluster, error) + type Session struct + Finder *find.Finder + func GetOrCreateCachedSession(datacenter, user, pass, vcenter string) (*Session, error) + func GetSessionFromEnv() (*Session, error) + func (s *Session) FindByInstanceUUID(ctx context.Context, uuid string) (object.Reference, error) + func (s *Session) FindByUUID(ctx context.Context, uuid string) (object.Reference, error) + func (s Session) Clone(vm ptypes.VM, config *konfigadm.Config) (*object.VirtualMachine, error) + func (s Session) FindVM(nameOrID string) (*object.VirtualMachine, error) + func (s Session) GetVMs(ctx context.Context, prefix string, vm *types.VM) ([]*object.VirtualMachine, error)