mocks

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) DeleteThingShadow

func (_m *IClient) DeleteThingShadow(ctx context.Context, params *iotdataplane.DeleteThingShadowInput, optFns ...func(*iotdataplane.Options)) (*iotdataplane.DeleteThingShadowOutput, error)

DeleteThingShadow provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetRetainedMessage

GetRetainedMessage provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetThingShadow

func (_m *IClient) GetThingShadow(ctx context.Context, params *iotdataplane.GetThingShadowInput, optFns ...func(*iotdataplane.Options)) (*iotdataplane.GetThingShadowOutput, error)

GetThingShadow provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListNamedShadowsForThing

ListNamedShadowsForThing provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListRetainedMessages

ListRetainedMessages provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() iotdataplane.Options

Options provides a mock function with given fields:

func (*IClient) Publish

func (_m *IClient) Publish(ctx context.Context, params *iotdataplane.PublishInput, optFns ...func(*iotdataplane.Options)) (*iotdataplane.PublishOutput, error)

Publish provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateThingShadow

func (_m *IClient) UpdateThingShadow(ctx context.Context, params *iotdataplane.UpdateThingShadowInput, optFns ...func(*iotdataplane.Options)) (*iotdataplane.UpdateThingShadowOutput, error)

UpdateThingShadow provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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