Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ImportProgressMetricName is the name of the import progress metric
ImportProgressMetricName = "kubevirt_cdi_import_progress_total"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImportProgress ¶
type ImportProgress struct {
// contains filtered or unexported fields
}
func Progress ¶
func Progress(ownerUID string) *ImportProgress
func (*ImportProgress) Add ¶
func (ip *ImportProgress) Add(value float64)
Add adds value to the importProgress metric
func (*ImportProgress) Delete ¶
func (ip *ImportProgress) Delete()
Delete removes the importProgress metric with the passed label
func (*ImportProgress) Get ¶
func (ip *ImportProgress) Get() (float64, error)
Get returns the importProgress value
Click to show internal directories.
Click to hide internal directories.