vmware / govmomi

Go library for the VMware vSphere API
Apache License 2.0
2.27k stars 897 forks source link

vcsim: add TaskHistoryCollector support #3389

Closed dougm closed 3 months ago

dougm commented 3 months ago

refactor portions of 'EventHistoryCollector' to 'HistoryCollector' for use with 'TaskHistoryCollector'

TaskHistoryCollector provides a way to collect Task history beyond the 10 minute max of the 'RecentTask' property. And unlike 'RecentTask', can filter based on Task state and collect tasks of child entities.

govc: add history flags to 'tasks' command

Closes #2567

dougm commented 3 months ago

Thanks @akutz !