mocks

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceStatusClient

type DeviceStatusClient struct {
	mock.Mock
}

DeviceStatusClient is an autogenerated mock type for the DeviceStatusClient type

func NewDeviceStatusClient

func NewDeviceStatusClient(t mockConstructorTestingTNewDeviceStatusClient) *DeviceStatusClient

NewDeviceStatusClient creates a new instance of DeviceStatusClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DeviceStatusClient) AllDeviceStatus

func (_m *DeviceStatusClient) AllDeviceStatus(ctx context.Context, offset int, limit int) (responses.MultiDeviceStatusResponse, errors.EdgeX)

AllDeviceStatus provides a mock function with given fields: ctx, offset, limit

func (*DeviceStatusClient) DeviceStatusByName

func (_m *DeviceStatusClient) DeviceStatusByName(ctx context.Context, name string) (responses.DeviceStatusResponse, errors.EdgeX)

DeviceStatusByName provides a mock function with given fields: ctx, name

func (*DeviceStatusClient) Update

Update provides a mock function with given fields: ctx, req

Jump to

Keyboard shortcuts

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