mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlkioCalculator

type BlkioCalculator struct {
	mock.Mock
}

func (*BlkioCalculator) GetReadPs

func (_m *BlkioCalculator) GetReadPs() float64

func (*BlkioCalculator) GetTotalPs

func (_m *BlkioCalculator) GetTotalPs() float64

func (*BlkioCalculator) GetWritePs

func (_m *BlkioCalculator) GetWritePs() float64

type CPUCalculator

type CPUCalculator struct {
	mock.Mock
}

func (*CPUCalculator) PerCpuUsage

func (_m *CPUCalculator) PerCpuUsage() common.MapStr

func (*CPUCalculator) TotalUsage

func (_m *CPUCalculator) TotalUsage() float64

func (*CPUCalculator) UsageInKernelmode

func (_m *CPUCalculator) UsageInKernelmode() float64

func (*CPUCalculator) UsageInUsermode

func (_m *CPUCalculator) UsageInUsermode() float64

type CalculatorFactory

type CalculatorFactory struct {
	mock.Mock
}

func (*CalculatorFactory) NewBlkioCalculator

func (*CalculatorFactory) NewCPUCalculator

func (*CalculatorFactory) NewNetworkCalculator

type NetworkCalculator

type NetworkCalculator struct {
	mock.Mock
}

func (*NetworkCalculator) GetRxBytesPerSecond

func (_m *NetworkCalculator) GetRxBytesPerSecond() float64

func (*NetworkCalculator) GetRxDroppedPerSecond

func (_m *NetworkCalculator) GetRxDroppedPerSecond() float64

func (*NetworkCalculator) GetRxErrorsPerSecond

func (_m *NetworkCalculator) GetRxErrorsPerSecond() float64

func (*NetworkCalculator) GetRxPacketsPerSecond

func (_m *NetworkCalculator) GetRxPacketsPerSecond() float64

func (*NetworkCalculator) GetTxBytesPerSecond

func (_m *NetworkCalculator) GetTxBytesPerSecond() float64

func (*NetworkCalculator) GetTxDroppedPerSecond

func (_m *NetworkCalculator) GetTxDroppedPerSecond() float64

func (*NetworkCalculator) GetTxErrorsPerSecond

func (_m *NetworkCalculator) GetTxErrorsPerSecond() float64

func (*NetworkCalculator) GetTxPacketsPerSecond

func (_m *NetworkCalculator) GetTxPacketsPerSecond() float64

Jump to

Keyboard shortcuts

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