github.com/vmware/govmomi@v0.51.0/vim25/progress/report.go (about) 1 // © Broadcom. All Rights Reserved. 2 // The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. 3 // SPDX-License-Identifier: Apache-2.0 4 5 package progress 6 7 // Report defines the interface for types that can deliver progress reports. 8 // Examples include uploads/downloads in the http client and the task info 9 // field in the task managed object. 10 type Report interface { 11 Percentage() float32 12 Detail() string 13 Error() error 14 }