-
Add vslm package for managing First Class Disks
-
Add LoginByToken to session KeepAliveHandler
-
New vapi/rest and and vapi/tags packages
-
Allowing the use of STS for exchanging tokens
-
Add object.VirtualMachine.UUID method
-
SetRootCAs on the soap.Client returns an error for invalid certificates
-
Add ClusterComputeResource.MoveInto method
-
Add VirtualDiskManager wrapper to set UUID
-
Add vmxnet2, pcnet32 and sriov to VirtualDeviceList.EthernetCardTypes
-
Add new vSphere 6.7 APIs
-
Decrease LoginExtensionByCertificate tunnel usage
-
SAML token authentication support via SessionManager.LoginByToken
-
New SSO admin client for managing users
-
New STS client for issuing and renewing SAML tokens
-
New Lookup Service client for discovering endpoints such as STS and ssoadmin
-
Switch from gvt to go dep for managing dependencies
-
vcsim: add Destroy method for Folder and Datacenter types
-
In progress.Reader emit final report on EOF.
-
vcsim: add EventManager.QueryEvents
-
Add HostStorageSystem.AttachScsiLun method
-
Avoid possible panic in Datastore.Stat (#969)
-
Destroy event history collectors (#962)
-
Add VirtualDiskManager.CreateChildDisk method
-
Add support for SOAP request operation ID header
-
Moved ovf helpers from govc import.ovf command to ovf and nfc packages
-
Added guest/toolbox (client) package
-
Added toolbox package and toolbox command
-
Added simulator package and vcsim command
-
WaitOptions.MaxWaitSeconds is now optional
-
Support removal of ExtraConfig entries
-
GuestPosixFileAttributes OwnerId and GroupId fields are now pointers, rather than omitempty ints to allow chown with root uid:gid
-
Updated examples/ using view package
-
Add DatastoreFile.TailFunc method
-
Export VirtualMachine.FindSnapshot method
-
Add AuthorizationManager {Enable,Disable}Methods
-
Add PBM client
-
Add view.ContainerView type and methods
-
Add Collector.RetrieveWithFilter method
-
Add property.Filter type
-
Implement EthernetCardBackingInfo for OpaqueNetwork
-
Finder: support changing object root in find mode
-
Add VirtualDiskManager.QueryVirtualDiskInfo
-
Add performance.Manager APIs
-
Add DatastoreFileManager API wrapper
-
Add HostVsanInternalSystem API wrappers
-
Add Container support to view package
-
Finder supports Folder recursion without specifying a path
-
Add VirtualMachine.QueryConfigTarget method
-
Add device option to VirtualMachine.WaitForNetIP
-
Remove _Task suffix from vapp methods
-
Add DiagnosticLog helper
-
Add DatastorePath helper
-
Disable use of service ticket for datastore HTTP access by default
-
Attach context to HTTP requests for cancellations
-
Update to vim25/6.5 API
- Add object.AuthorizationManager methods: RetrieveRolePermissions, RetrieveAllPermissions, AddRole, RemoveRole, UpdateRole
- Allow DatastoreFile.Follow reader to drain current body after stopping
-
Avoid possible NPE in VirtualMachine.Device method
-
Add support for OpaqueNetwork type to Finder
-
Add HostConfigManager.AccountManager support for ESX 5.5
- Add Finder.ResourcePoolListAll method
- Add object.DistributedVirtualPortgroup.Reconfigure method
-
Add option to set soap.Client.UserAgent
-
Add service ticket thumbprint validation
-
Update use of http.DefaultTransport fields to 1.7
-
Set default locale to en_US (override with GOVMOMI_LOCALE env var)
-
Add object.HostCertificateInfo (types.HostCertificateManagerCertificateInfo helpers)
-
Add object.HostCertificateManager type and HostConfigManager.CertificateManager method
-
Add soap.Client SetRootCAs and SetDialTLS methods
-
Add object.DatastoreFile helpers for streaming and tailing datastore files
-
Add object VirtualMachine.Unregister method
-
Add object.ListView methods: Add, Remove, Reset
-
Update to Go 1.7 - using stdlib's context package
-
Add session.Manager.AcquireLocalTicket
-
Include StoragePod in Finder.FolderList
-
Add Finder methods for finding by ManagedObjectReference: Element, ObjectReference
-
Add mo.ManagedObjectReference methods: Reference, String, FromString
-
Add support using SessionManagerGenericServiceTicket.HostName for Datastore HTTP access
- Fix object.ObjectName method
-
Move InventoryPath field to object.Common
-
Add HostDatastoreSystem.CreateLocalDatastore method
-
Add DatastoreNamespaceManager methods: CreateDirectory, DeleteDirectory
-
Add HostServiceSystem
-
Add HostStorageSystem methods: MarkAsSdd, MarkAsNonSdd, MarkAsLocal, MarkAsNonLocal
-
Add HostStorageSystem.RescanAllHba method
-
Get complete file details in Datastore.Stat
-
SOAP decoding fixes
-
Add VirtualMachine.RemoveAllSnapshot
- Fix mo.Entity interface
-
Add Common.Rename method
-
Add mo.Entity interface
-
Add OptionManager
-
Add Finder.FolderList method
-
Add VirtualMachine.WaitForNetIP method
-
Add VirtualMachine.RevertToSnapshot method
-
Add Datastore.Download method
Generated fields using xsd type 'int' change to Go type 'int32'
VirtualDevice.UnitNumber field changed to pointer type
-
Add method to convert virtual device list to array with virtual device changes that can be used in the VirtualMachineConfigSpec.
-
Make datastore cluster traversable in lister
-
Add finder.DatastoreCluster methods (also known as storage pods)
-
Add Drone CI check
-
Add object.Datastore Type and AttachedClusterHosts methods
-
Add finder.*OrDefault methods
-
Add object.VirtualNicManager wrapper
-
Add object.HostVsanSystem wrapper
-
Add object.HostSystem methods: EnterMaintenanceMode, ExitMaintenanceMode, Disconnect, Reconnect
-
Add finder.Folder method
-
Add object.Common.Destroy method
-
Add object.ComputeResource.Reconfigure method
-
Add license.AssignmentManager wrapper
-
Add object.HostFirewallSystem wrapper
-
Add object.DiagnosticManager wrapper
-
Add LoginExtensionByCertificate support
-
Add object.ExtensionManager
...
-
Update to vim25/6.0 API
-
Stop returning children from
ManagedObjectList
Change the
ManagedObjectList
function in thefind
package to only return the managed objects specified by the path argument and not their children. The original behavior was used by govc'sls
command and is now available in the newly added functionManagedObjectListChildren
. -
Add retry functionality to vim25 package
-
Change finder functions to no longer take varargs
The
find
package had functions to return a list of objects, given a variable number of patterns. This makes it impossible to distinguish which patterns produced results and which ones didn't.In particular for govc, where multiple arguments can be passed from the command line, it is useful to let the user know which ones produce results and which ones don't.
To evaluate multiple patterns, the user should call the find functions multiple times (either serially or in parallel).
-
Make optional boolean fields pointers (
vim25/types
).False is the zero value of a boolean field, which means they are not serialized if the field is marked "omitempty". If the field is a pointer instead, the zero value will be the nil pointer, and both true and false values are serialized.
Prior to this version the API of this library was in flux.
Notable changes w.r.t. the state of this library before March 2015 are:
- All functions that may execute a request take a
context.Context
parameter. - The
vim25
package contains a minimal client implementation. - The property collector and its convenience functions live in the
property
package.