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, creds model.AWSCredentials, deviceID string) error

DeleteDevice provides a mock function with given fields: ctx, creds, deviceID

func (*Client) GetDevice

func (_m *Client) GetDevice(ctx context.Context, creds model.AWSCredentials, deviceID string) (*iotcore.Device, error)

GetDevice provides a mock function with given fields: ctx, creds, deviceID

func (*Client) GetDeviceShadow

func (_m *Client) GetDeviceShadow(ctx context.Context, creds model.AWSCredentials, id string) (*iotcore.DeviceShadow, error)

GetDeviceShadow provides a mock function with given fields: ctx, creds, id

func (*Client) UpdateDeviceShadow

func (_m *Client) UpdateDeviceShadow(ctx context.Context, creds model.AWSCredentials, deviceID string, update iotcore.DeviceShadowUpdate) (*iotcore.DeviceShadow, error)

UpdateDeviceShadow provides a mock function with given fields: ctx, creds, deviceID, update

func (*Client) UpsertDevice

func (_m *Client) UpsertDevice(ctx context.Context, creds model.AWSCredentials, deviceID string, device *iotcore.Device, policy string) (*iotcore.Device, error)

UpsertDevice provides a mock function with given fields: ctx, creds, deviceID, device, policy

Jump to

Keyboard shortcuts

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