mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 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) DeleteLexicon

func (_m *IClient) DeleteLexicon(ctx context.Context, params *polly.DeleteLexiconInput, optFns ...func(*polly.Options)) (*polly.DeleteLexiconOutput, error)

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

func (*IClient) DescribeVoices

func (_m *IClient) DescribeVoices(ctx context.Context, params *polly.DescribeVoicesInput, optFns ...func(*polly.Options)) (*polly.DescribeVoicesOutput, error)

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

func (*IClient) GetLexicon

func (_m *IClient) GetLexicon(ctx context.Context, params *polly.GetLexiconInput, optFns ...func(*polly.Options)) (*polly.GetLexiconOutput, error)

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

func (*IClient) GetSpeechSynthesisTask

func (_m *IClient) GetSpeechSynthesisTask(ctx context.Context, params *polly.GetSpeechSynthesisTaskInput, optFns ...func(*polly.Options)) (*polly.GetSpeechSynthesisTaskOutput, error)

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

func (*IClient) ListLexicons

func (_m *IClient) ListLexicons(ctx context.Context, params *polly.ListLexiconsInput, optFns ...func(*polly.Options)) (*polly.ListLexiconsOutput, error)

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

func (*IClient) ListSpeechSynthesisTasks

func (_m *IClient) ListSpeechSynthesisTasks(ctx context.Context, params *polly.ListSpeechSynthesisTasksInput, optFns ...func(*polly.Options)) (*polly.ListSpeechSynthesisTasksOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutLexicon

func (_m *IClient) PutLexicon(ctx context.Context, params *polly.PutLexiconInput, optFns ...func(*polly.Options)) (*polly.PutLexiconOutput, error)

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

func (*IClient) StartSpeechSynthesisTask

func (_m *IClient) StartSpeechSynthesisTask(ctx context.Context, params *polly.StartSpeechSynthesisTaskInput, optFns ...func(*polly.Options)) (*polly.StartSpeechSynthesisTaskOutput, error)

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

func (*IClient) SynthesizeSpeech

func (_m *IClient) SynthesizeSpeech(ctx context.Context, params *polly.SynthesizeSpeechInput, optFns ...func(*polly.Options)) (*polly.SynthesizeSpeechOutput, error)

SynthesizeSpeech 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