rainbond: github.com/goodrain/rainbond/worker/master/volumes/statistical Index | Files

package statistical

import "github.com/goodrain/rainbond/worker/master/volumes/statistical"

Index

Package Files

cache.go

type DiskCache Uses

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

DiskCache 磁盘异步统计

func CreatDiskCache Uses

func CreatDiskCache(ctx context.Context) *DiskCache

CreatDiskCache 创建

func (*DiskCache) Get Uses

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

Get 获取磁盘统计结果

func (*DiskCache) GetServiceDisk Uses

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

GetServiceDisk GetServiceDisk

func (*DiskCache) GetTenantDisk Uses

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

GetTenantDisk GetTenantDisk

func (*DiskCache) Start Uses

func (d *DiskCache) Start()

Start 开始启动统计

func (*DiskCache) Stop Uses

func (d *DiskCache) Stop()

Stop stop

Package statistical imports 10 packages (graph) and is imported by 1 packages. Updated 2019-01-18. Refresh now. Tools for package owners.