mocks

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommand

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

MockCommand is a mock of Command interface

func NewMockCommand

func NewMockCommand(ctrl *gomock.Controller) *MockCommand

NewMockCommand creates a new mock instance

func (*MockCommand) Close

func (m *MockCommand) Close()

Close mocks base method

func (*MockCommand) EXPECT

func (m *MockCommand) EXPECT() *MockCommandMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCommand) Run

func (m *MockCommand) Run(arg0 string) float64

Run mocks base method

type MockCommandMockRecorder

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

MockCommandMockRecorder is the mock recorder for MockCommand

func (*MockCommandMockRecorder) Close

func (mr *MockCommandMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockCommandMockRecorder) Run

func (mr *MockCommandMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

type MockGetResource

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

MockGetResource is a mock of GetResource interface

func NewMockGetResource

func NewMockGetResource(ctrl *gomock.Controller) *MockGetResource

NewMockGetResource creates a new mock instance

func (*MockGetResource) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGetResource) GetResource

func (m *MockGetResource) GetResource(arg0 string) (float64, error)

GetResource mocks base method

func (*MockGetResource) SetDeviceID

func (m *MockGetResource) SetDeviceID(arg0 string)

SetDeviceID mocks base method

type MockGetResourceMockRecorder

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

MockGetResourceMockRecorder is the mock recorder for MockGetResource

func (*MockGetResourceMockRecorder) GetResource

func (mr *MockGetResourceMockRecorder) GetResource(arg0 interface{}) *gomock.Call

GetResource indicates an expected call of GetResource

func (*MockGetResourceMockRecorder) SetDeviceID

func (mr *MockGetResourceMockRecorder) SetDeviceID(arg0 interface{}) *gomock.Call

SetDeviceID indicates an expected call of SetDeviceID

type MockMonitor

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

MockMonitor is a mock of Monitor interface

func NewMockMonitor

func NewMockMonitor(ctrl *gomock.Controller) *MockMonitor

NewMockMonitor creates a new mock instance

func (*MockMonitor) EXPECT

func (m *MockMonitor) EXPECT() *MockMonitorMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMonitor) StartMonitoringResource

func (m *MockMonitor) StartMonitoringResource()

StartMonitoringResource mocks base method

type MockMonitorMockRecorder

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

MockMonitorMockRecorder is the mock recorder for MockMonitor

func (*MockMonitorMockRecorder) StartMonitoringResource

func (mr *MockMonitorMockRecorder) StartMonitoringResource() *gomock.Call

StartMonitoringResource indicates an expected call of StartMonitoringResource

Jump to

Keyboard shortcuts

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