statistical

package
v0.0.0-...-a3a5c94 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskCache

type DiskCache struct {
	// contains filtered or unexported fields
}

DiskCache disk asynchronous statistics

func CreatDiskCache

func CreatDiskCache(ctx context.Context) *DiskCache

CreatDiskCache creation

func (*DiskCache) Get

func (d *DiskCache) Get() map[string]float64

Get to obtain disk statistics

func (*DiskCache) GetServiceDisk

func (d *DiskCache) GetServiceDisk(serviceID string) float64

GetServiceDisk GetServiceDisk

func (*DiskCache) GetTenantDisk

func (d *DiskCache) GetTenantDisk(tenantID string) float64

GetTenantDisk GetTenantDisk

func (*DiskCache) Start

func (d *DiskCache) Start()

Start start statistics

func (*DiskCache) Stop

func (d *DiskCache) Stop()

Stop stop

Jump to

Keyboard shortcuts

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