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