rebuild

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Info is the global variable used to
	// hold information about sync progress
	Info *types.SyncInfo
)

Functions

func GetRebuildInfo

func GetRebuildInfo() *types.SyncInfo

GetRebuildInfo returns the updated SyncInfo such as total used size of snapshots and size of individual snapshots.

func SetStatus

func SetStatus(disk, status string)

SetStatus is the status of rebuilding for a given disk

func SetSyncInfo

func SetSyncInfo(syncInfo *types.SyncInfo)

SetSyncInfo initializes Info structure to hold rebuild info. It is queried via REST API call.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL