reportdisk

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand() *cobra.Command

Types

type MeasurementSizes

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

func (*MeasurementSizes) AddSize

func (s *MeasurementSizes) AddSize(db, rp, measurement string, size int64)

func (*MeasurementSizes) ForEach

func (s *MeasurementSizes) ForEach(f func(db, rp, measurement string, size int64))

type Options

type Options struct {
	Stderr io.Writer
	Stdout io.Writer
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions() *Options

type ProgressReporter

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

func NewProgressReporter

func NewProgressReporter(w io.Writer) *ProgressReporter

func (*ProgressReporter) Report

func (p *ProgressReporter) Report(current int64, total int64)

type ShardDetails

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

type ShardSizes

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

func (*ShardSizes) AddTsmFileWithSize

func (s *ShardSizes) AddTsmFileWithSize(db, rp, id string, size int64)

func (*ShardSizes) ForEach

func (s *ShardSizes) ForEach(f func(db, rp, id string, detail ShardDetails))

Jump to

Keyboard shortcuts

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