mock

package
v0.0.0-...-2151b9b Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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.

func (*MockDevice) Providers

func (m *MockDevice) Providers() ([]provider.Provider, error)

Providers mocks base method.

func (*MockDevice) Type

func (m *MockDevice) Type() string

Type 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.

Jump to

Keyboard shortcuts

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