mocks

package
v0.0.0-...-66e1447 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPU

type CPU struct {
	mock.Mock
}

CPU is an autogenerated mock type for the CPU type

func (*CPU) Execute

func (_m *CPU) Execute(ctx context.Context, action symo.MetricCommand) (*symo.CPUData, error)

Execute provides a mock function with given fields: ctx, action

type LoadAvg

type LoadAvg struct {
	mock.Mock
}

LoadAvg is an autogenerated mock type for the LoadAvg type

func (*LoadAvg) Execute

func (_m *LoadAvg) Execute(ctx context.Context) (*symo.LoadAvgData, error)

Execute provides a mock function with given fields: ctx

type LoadDisks

type LoadDisks struct {
	mock.Mock
}

LoadDisks is an autogenerated mock type for the LoadDisks type

func (*LoadDisks) Execute

func (_m *LoadDisks) Execute(ctx context.Context, action symo.MetricCommand) (symo.LoadDisksData, error)

Execute provides a mock function with given fields: ctx, action

type Logger

type Logger struct {
	mock.Mock
}

Logger is an autogenerated mock type for the Logger type

func (*Logger) Debug

func (_m *Logger) Debug(args ...interface{})

Debug provides a mock function with given fields: args

func (*Logger) Error

func (_m *Logger) Error(args ...interface{})

Error provides a mock function with given fields: args

func (*Logger) Fatal

func (_m *Logger) Fatal(args ...interface{})

Fatal provides a mock function with given fields: args

func (*Logger) Info

func (_m *Logger) Info(args ...interface{})

Info provides a mock function with given fields: args

type NewClienter

type NewClienter struct {
	mock.Mock
}

NewClienter is an autogenerated mock type for the NewClienter type

func (*NewClienter) NewClient

func (_m *NewClienter) NewClient(_a0 symo.ClientData) (<-chan *symo.Stats, func(), error)

NewClient provides a mock function with given fields: _a0

type UsedFS

type UsedFS struct {
	mock.Mock
}

UsedFS is an autogenerated mock type for the UsedFS type

func (*UsedFS) Execute

func (_m *UsedFS) Execute(ctx context.Context, action symo.MetricCommand) (symo.UsedFSData, error)

Execute provides a mock function with given fields: ctx, action

Jump to

Keyboard shortcuts

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