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) CreateParallelData

func (_m *IClient) CreateParallelData(ctx context.Context, params *translate.CreateParallelDataInput, optFns ...func(*translate.Options)) (*translate.CreateParallelDataOutput, error)

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

func (*IClient) DeleteParallelData

func (_m *IClient) DeleteParallelData(ctx context.Context, params *translate.DeleteParallelDataInput, optFns ...func(*translate.Options)) (*translate.DeleteParallelDataOutput, error)

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

func (*IClient) DeleteTerminology

func (_m *IClient) DeleteTerminology(ctx context.Context, params *translate.DeleteTerminologyInput, optFns ...func(*translate.Options)) (*translate.DeleteTerminologyOutput, error)

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

func (*IClient) DescribeTextTranslationJob

func (_m *IClient) DescribeTextTranslationJob(ctx context.Context, params *translate.DescribeTextTranslationJobInput, optFns ...func(*translate.Options)) (*translate.DescribeTextTranslationJobOutput, error)

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

func (*IClient) GetParallelData

func (_m *IClient) GetParallelData(ctx context.Context, params *translate.GetParallelDataInput, optFns ...func(*translate.Options)) (*translate.GetParallelDataOutput, error)

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

func (*IClient) GetTerminology

func (_m *IClient) GetTerminology(ctx context.Context, params *translate.GetTerminologyInput, optFns ...func(*translate.Options)) (*translate.GetTerminologyOutput, error)

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

func (*IClient) ImportTerminology

func (_m *IClient) ImportTerminology(ctx context.Context, params *translate.ImportTerminologyInput, optFns ...func(*translate.Options)) (*translate.ImportTerminologyOutput, error)

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

func (*IClient) ListLanguages

func (_m *IClient) ListLanguages(ctx context.Context, params *translate.ListLanguagesInput, optFns ...func(*translate.Options)) (*translate.ListLanguagesOutput, error)

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

func (*IClient) ListParallelData

func (_m *IClient) ListParallelData(ctx context.Context, params *translate.ListParallelDataInput, optFns ...func(*translate.Options)) (*translate.ListParallelDataOutput, error)

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

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *translate.ListTagsForResourceInput, optFns ...func(*translate.Options)) (*translate.ListTagsForResourceOutput, error)

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

func (*IClient) ListTerminologies

func (_m *IClient) ListTerminologies(ctx context.Context, params *translate.ListTerminologiesInput, optFns ...func(*translate.Options)) (*translate.ListTerminologiesOutput, error)

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

func (*IClient) ListTextTranslationJobs

func (_m *IClient) ListTextTranslationJobs(ctx context.Context, params *translate.ListTextTranslationJobsInput, optFns ...func(*translate.Options)) (*translate.ListTextTranslationJobsOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) StartTextTranslationJob

func (_m *IClient) StartTextTranslationJob(ctx context.Context, params *translate.StartTextTranslationJobInput, optFns ...func(*translate.Options)) (*translate.StartTextTranslationJobOutput, error)

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

func (*IClient) StopTextTranslationJob

func (_m *IClient) StopTextTranslationJob(ctx context.Context, params *translate.StopTextTranslationJobInput, optFns ...func(*translate.Options)) (*translate.StopTextTranslationJobOutput, error)

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

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *translate.TagResourceInput, optFns ...func(*translate.Options)) (*translate.TagResourceOutput, error)

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

func (*IClient) TranslateDocument

func (_m *IClient) TranslateDocument(ctx context.Context, params *translate.TranslateDocumentInput, optFns ...func(*translate.Options)) (*translate.TranslateDocumentOutput, error)

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

func (*IClient) TranslateText

func (_m *IClient) TranslateText(ctx context.Context, params *translate.TranslateTextInput, optFns ...func(*translate.Options)) (*translate.TranslateTextOutput, error)

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

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *translate.UntagResourceInput, optFns ...func(*translate.Options)) (*translate.UntagResourceOutput, error)

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

func (*IClient) UpdateParallelData

func (_m *IClient) UpdateParallelData(ctx context.Context, params *translate.UpdateParallelDataInput, optFns ...func(*translate.Options)) (*translate.UpdateParallelDataOutput, error)

UpdateParallelData 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