mocks

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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) AnalyzeDocument

func (_m *IClient) AnalyzeDocument(ctx context.Context, params *textract.AnalyzeDocumentInput, optFns ...func(*textract.Options)) (*textract.AnalyzeDocumentOutput, error)

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

func (*IClient) AnalyzeExpense

func (_m *IClient) AnalyzeExpense(ctx context.Context, params *textract.AnalyzeExpenseInput, optFns ...func(*textract.Options)) (*textract.AnalyzeExpenseOutput, error)

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

func (*IClient) AnalyzeID

func (_m *IClient) AnalyzeID(ctx context.Context, params *textract.AnalyzeIDInput, optFns ...func(*textract.Options)) (*textract.AnalyzeIDOutput, error)

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

func (*IClient) CreateAdapter

func (_m *IClient) CreateAdapter(ctx context.Context, params *textract.CreateAdapterInput, optFns ...func(*textract.Options)) (*textract.CreateAdapterOutput, error)

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

func (*IClient) CreateAdapterVersion

func (_m *IClient) CreateAdapterVersion(ctx context.Context, params *textract.CreateAdapterVersionInput, optFns ...func(*textract.Options)) (*textract.CreateAdapterVersionOutput, error)

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

func (*IClient) DeleteAdapter

func (_m *IClient) DeleteAdapter(ctx context.Context, params *textract.DeleteAdapterInput, optFns ...func(*textract.Options)) (*textract.DeleteAdapterOutput, error)

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

func (*IClient) DeleteAdapterVersion

func (_m *IClient) DeleteAdapterVersion(ctx context.Context, params *textract.DeleteAdapterVersionInput, optFns ...func(*textract.Options)) (*textract.DeleteAdapterVersionOutput, error)

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

func (*IClient) DetectDocumentText

func (_m *IClient) DetectDocumentText(ctx context.Context, params *textract.DetectDocumentTextInput, optFns ...func(*textract.Options)) (*textract.DetectDocumentTextOutput, error)

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

func (*IClient) GetAdapter

func (_m *IClient) GetAdapter(ctx context.Context, params *textract.GetAdapterInput, optFns ...func(*textract.Options)) (*textract.GetAdapterOutput, error)

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

func (*IClient) GetAdapterVersion

func (_m *IClient) GetAdapterVersion(ctx context.Context, params *textract.GetAdapterVersionInput, optFns ...func(*textract.Options)) (*textract.GetAdapterVersionOutput, error)

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

func (*IClient) GetDocumentAnalysis

func (_m *IClient) GetDocumentAnalysis(ctx context.Context, params *textract.GetDocumentAnalysisInput, optFns ...func(*textract.Options)) (*textract.GetDocumentAnalysisOutput, error)

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

func (*IClient) GetDocumentTextDetection

func (_m *IClient) GetDocumentTextDetection(ctx context.Context, params *textract.GetDocumentTextDetectionInput, optFns ...func(*textract.Options)) (*textract.GetDocumentTextDetectionOutput, error)

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

func (*IClient) GetExpenseAnalysis

func (_m *IClient) GetExpenseAnalysis(ctx context.Context, params *textract.GetExpenseAnalysisInput, optFns ...func(*textract.Options)) (*textract.GetExpenseAnalysisOutput, error)

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

func (*IClient) GetLendingAnalysis

func (_m *IClient) GetLendingAnalysis(ctx context.Context, params *textract.GetLendingAnalysisInput, optFns ...func(*textract.Options)) (*textract.GetLendingAnalysisOutput, error)

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

func (*IClient) GetLendingAnalysisSummary

func (_m *IClient) GetLendingAnalysisSummary(ctx context.Context, params *textract.GetLendingAnalysisSummaryInput, optFns ...func(*textract.Options)) (*textract.GetLendingAnalysisSummaryOutput, error)

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

func (*IClient) ListAdapterVersions

func (_m *IClient) ListAdapterVersions(ctx context.Context, params *textract.ListAdapterVersionsInput, optFns ...func(*textract.Options)) (*textract.ListAdapterVersionsOutput, error)

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

func (*IClient) ListAdapters

func (_m *IClient) ListAdapters(ctx context.Context, params *textract.ListAdaptersInput, optFns ...func(*textract.Options)) (*textract.ListAdaptersOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) StartDocumentAnalysis

func (_m *IClient) StartDocumentAnalysis(ctx context.Context, params *textract.StartDocumentAnalysisInput, optFns ...func(*textract.Options)) (*textract.StartDocumentAnalysisOutput, error)

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

func (*IClient) StartDocumentTextDetection

func (_m *IClient) StartDocumentTextDetection(ctx context.Context, params *textract.StartDocumentTextDetectionInput, optFns ...func(*textract.Options)) (*textract.StartDocumentTextDetectionOutput, error)

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

func (*IClient) StartExpenseAnalysis

func (_m *IClient) StartExpenseAnalysis(ctx context.Context, params *textract.StartExpenseAnalysisInput, optFns ...func(*textract.Options)) (*textract.StartExpenseAnalysisOutput, error)

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

func (*IClient) StartLendingAnalysis

func (_m *IClient) StartLendingAnalysis(ctx context.Context, params *textract.StartLendingAnalysisInput, optFns ...func(*textract.Options)) (*textract.StartLendingAnalysisOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateAdapter

func (_m *IClient) UpdateAdapter(ctx context.Context, params *textract.UpdateAdapterInput, optFns ...func(*textract.Options)) (*textract.UpdateAdapterOutput, error)

UpdateAdapter 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