mocks

package
v0.0.0-...-eef5929 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) DeleteDevice

func (_m *Client) DeleteDevice(ctx context.Context, cs *model.ConnectionString, id string) error

DeleteDevice provides a mock function with given fields: ctx, cs, id

func (*Client) GetDevice

func (_m *Client) GetDevice(ctx context.Context, cs *model.ConnectionString, id string) (*iothub.Device, error)

GetDevice provides a mock function with given fields: ctx, cs, id

func (*Client) GetDeviceTwin

func (_m *Client) GetDeviceTwin(ctx context.Context, cs *model.ConnectionString, id string) (*iothub.DeviceTwin, error)

GetDeviceTwin provides a mock function with given fields: ctx, cs, id

func (*Client) GetDeviceTwins

func (_m *Client) GetDeviceTwins(ctx context.Context, cs *model.ConnectionString, deviceIDs []string) ([]iothub.DeviceTwin, error)

GetDeviceTwins provides a mock function with given fields: ctx, cs, deviceIDs

func (*Client) UpdateDeviceTwin

func (_m *Client) UpdateDeviceTwin(ctx context.Context, cs *model.ConnectionString, id string, r *iothub.DeviceTwinUpdate) error

UpdateDeviceTwin provides a mock function with given fields: ctx, cs, id, r

func (*Client) UpsertDevice

func (_m *Client) UpsertDevice(ctx context.Context, cs *model.ConnectionString, id string, deviceUpdate ...*iothub.Device) (*iothub.Device, error)

UpsertDevice provides a mock function with given fields: ctx, cs, id, deviceUpdate

Jump to

Keyboard shortcuts

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