probe

package
v0.0.0-...-d8b8add Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KB = uint64(1024)

Functions

This section is empty.

Types

type DiskUsage

type DiskUsage struct {
	Free      uint64 `json:"free"`
	Available uint64 `json:"available"`
	Size      uint64 `json:"size"`
	Used      uint64 `json:"used"`
	Usage     uint64 `json:"usage"`
	Dir       uint64 `json:"dir"`
	// contains filtered or unexported fields
}

func NewDiskUsage

func NewDiskUsage(volumePath string, refresh uint64) *DiskUsage

func (*DiskUsage) Start

func (usage *DiskUsage) Start()

func (*DiskUsage) Update

func (usage *DiskUsage) Update()

Jump to

Keyboard shortcuts

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