mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 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) DeleteSession

func (_m *IClient) DeleteSession(ctx context.Context, params *lexruntimev2.DeleteSessionInput, optFns ...func(*lexruntimev2.Options)) (*lexruntimev2.DeleteSessionOutput, error)

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

func (*IClient) GetSession

func (_m *IClient) GetSession(ctx context.Context, params *lexruntimev2.GetSessionInput, optFns ...func(*lexruntimev2.Options)) (*lexruntimev2.GetSessionOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutSession

func (_m *IClient) PutSession(ctx context.Context, params *lexruntimev2.PutSessionInput, optFns ...func(*lexruntimev2.Options)) (*lexruntimev2.PutSessionOutput, error)

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

func (*IClient) RecognizeText

func (_m *IClient) RecognizeText(ctx context.Context, params *lexruntimev2.RecognizeTextInput, optFns ...func(*lexruntimev2.Options)) (*lexruntimev2.RecognizeTextOutput, error)

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

func (*IClient) RecognizeUtterance

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

func (*IClient) StartConversation

func (_m *IClient) StartConversation(ctx context.Context, params *lexruntimev2.StartConversationInput, optFns ...func(*lexruntimev2.Options)) (*lexruntimev2.StartConversationOutput, error)

StartConversation 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