Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRefreshInterval = 6 * time.Hour
Variables ¶
This section is empty.
Functions ¶
func InitService ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) DescribeDisk ¶
type ServiceOpt ¶
type ServiceOpt func(*Service)
func WithIgnoredDevices ¶
func WithIgnoredDevices(ignored []string) ServiceOpt
func WithRefreshInterval ¶
func WithRefreshInterval(interval time.Duration) ServiceOpt
Click to show internal directories.
Click to hide internal directories.