Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockDevice
- func (m *MockDevice) Alive(arg0 context.Context) (bool, error)
- func (m *MockDevice) DeviceID(arg0 context.Context) (string, error)
- func (m *MockDevice) EXPECT() *MockDeviceMockRecorder
- func (m *MockDevice) IPAddr(arg0 context.Context) (string, error)
- func (m *MockDevice) Providers() ([]provider.Provider, error)
- func (m *MockDevice) Type() string
- type MockDeviceMockRecorder
- func (mr *MockDeviceMockRecorder) Alive(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceMockRecorder) DeviceID(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceMockRecorder) IPAddr(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceMockRecorder) Providers() *gomock.Call
- func (mr *MockDeviceMockRecorder) Type() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDevice ¶
type MockDevice struct {
// contains filtered or unexported fields
}
MockDevice is a mock of Device interface.
func NewMockDevice ¶
func NewMockDevice(ctrl *gomock.Controller) *MockDevice
NewMockDevice creates a new mock instance.
func (*MockDevice) Alive ¶
func (m *MockDevice) Alive(arg0 context.Context) (bool, error)
Alive mocks base method.
func (*MockDevice) DeviceID ¶
func (m *MockDevice) DeviceID(arg0 context.Context) (string, error)
DeviceID mocks base method.
func (*MockDevice) EXPECT ¶
func (m *MockDevice) EXPECT() *MockDeviceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDevice) IPAddr ¶
func (m *MockDevice) IPAddr(arg0 context.Context) (string, error)
IPAddr mocks base method.
type MockDeviceMockRecorder ¶
type MockDeviceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceMockRecorder is the mock recorder for MockDevice.
func (*MockDeviceMockRecorder) Alive ¶
func (mr *MockDeviceMockRecorder) Alive(arg0 interface{}) *gomock.Call
Alive indicates an expected call of Alive.
func (*MockDeviceMockRecorder) DeviceID ¶
func (mr *MockDeviceMockRecorder) DeviceID(arg0 interface{}) *gomock.Call
DeviceID indicates an expected call of DeviceID.
func (*MockDeviceMockRecorder) IPAddr ¶
func (mr *MockDeviceMockRecorder) IPAddr(arg0 interface{}) *gomock.Call
IPAddr indicates an expected call of IPAddr.
func (*MockDeviceMockRecorder) Providers ¶
func (mr *MockDeviceMockRecorder) Providers() *gomock.Call
Providers indicates an expected call of Providers.
func (*MockDeviceMockRecorder) Type ¶
func (mr *MockDeviceMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
Click to show internal directories.
Click to hide internal directories.