mocks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 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) CreateAssistant

func (_m *IClient) CreateAssistant(ctx context.Context, params *wisdom.CreateAssistantInput, optFns ...func(*wisdom.Options)) (*wisdom.CreateAssistantOutput, error)

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

func (*IClient) CreateAssistantAssociation

func (_m *IClient) CreateAssistantAssociation(ctx context.Context, params *wisdom.CreateAssistantAssociationInput, optFns ...func(*wisdom.Options)) (*wisdom.CreateAssistantAssociationOutput, error)

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

func (*IClient) CreateContent

func (_m *IClient) CreateContent(ctx context.Context, params *wisdom.CreateContentInput, optFns ...func(*wisdom.Options)) (*wisdom.CreateContentOutput, error)

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

func (*IClient) CreateKnowledgeBase

func (_m *IClient) CreateKnowledgeBase(ctx context.Context, params *wisdom.CreateKnowledgeBaseInput, optFns ...func(*wisdom.Options)) (*wisdom.CreateKnowledgeBaseOutput, error)

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

func (*IClient) CreateQuickResponse

func (_m *IClient) CreateQuickResponse(ctx context.Context, params *wisdom.CreateQuickResponseInput, optFns ...func(*wisdom.Options)) (*wisdom.CreateQuickResponseOutput, error)

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

func (*IClient) CreateSession

func (_m *IClient) CreateSession(ctx context.Context, params *wisdom.CreateSessionInput, optFns ...func(*wisdom.Options)) (*wisdom.CreateSessionOutput, error)

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

func (*IClient) DeleteAssistant

func (_m *IClient) DeleteAssistant(ctx context.Context, params *wisdom.DeleteAssistantInput, optFns ...func(*wisdom.Options)) (*wisdom.DeleteAssistantOutput, error)

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

func (*IClient) DeleteAssistantAssociation

func (_m *IClient) DeleteAssistantAssociation(ctx context.Context, params *wisdom.DeleteAssistantAssociationInput, optFns ...func(*wisdom.Options)) (*wisdom.DeleteAssistantAssociationOutput, error)

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

func (*IClient) DeleteContent

func (_m *IClient) DeleteContent(ctx context.Context, params *wisdom.DeleteContentInput, optFns ...func(*wisdom.Options)) (*wisdom.DeleteContentOutput, error)

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

func (*IClient) DeleteImportJob

func (_m *IClient) DeleteImportJob(ctx context.Context, params *wisdom.DeleteImportJobInput, optFns ...func(*wisdom.Options)) (*wisdom.DeleteImportJobOutput, error)

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

func (*IClient) DeleteKnowledgeBase

func (_m *IClient) DeleteKnowledgeBase(ctx context.Context, params *wisdom.DeleteKnowledgeBaseInput, optFns ...func(*wisdom.Options)) (*wisdom.DeleteKnowledgeBaseOutput, error)

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

func (*IClient) DeleteQuickResponse

func (_m *IClient) DeleteQuickResponse(ctx context.Context, params *wisdom.DeleteQuickResponseInput, optFns ...func(*wisdom.Options)) (*wisdom.DeleteQuickResponseOutput, error)

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

func (*IClient) GetAssistant

func (_m *IClient) GetAssistant(ctx context.Context, params *wisdom.GetAssistantInput, optFns ...func(*wisdom.Options)) (*wisdom.GetAssistantOutput, error)

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

func (*IClient) GetAssistantAssociation

func (_m *IClient) GetAssistantAssociation(ctx context.Context, params *wisdom.GetAssistantAssociationInput, optFns ...func(*wisdom.Options)) (*wisdom.GetAssistantAssociationOutput, error)

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

func (*IClient) GetContent

func (_m *IClient) GetContent(ctx context.Context, params *wisdom.GetContentInput, optFns ...func(*wisdom.Options)) (*wisdom.GetContentOutput, error)

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

func (*IClient) GetContentSummary

func (_m *IClient) GetContentSummary(ctx context.Context, params *wisdom.GetContentSummaryInput, optFns ...func(*wisdom.Options)) (*wisdom.GetContentSummaryOutput, error)

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

func (*IClient) GetImportJob

func (_m *IClient) GetImportJob(ctx context.Context, params *wisdom.GetImportJobInput, optFns ...func(*wisdom.Options)) (*wisdom.GetImportJobOutput, error)

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

func (*IClient) GetKnowledgeBase

func (_m *IClient) GetKnowledgeBase(ctx context.Context, params *wisdom.GetKnowledgeBaseInput, optFns ...func(*wisdom.Options)) (*wisdom.GetKnowledgeBaseOutput, error)

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

func (*IClient) GetQuickResponse

func (_m *IClient) GetQuickResponse(ctx context.Context, params *wisdom.GetQuickResponseInput, optFns ...func(*wisdom.Options)) (*wisdom.GetQuickResponseOutput, error)

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

func (*IClient) GetRecommendations

func (_m *IClient) GetRecommendations(ctx context.Context, params *wisdom.GetRecommendationsInput, optFns ...func(*wisdom.Options)) (*wisdom.GetRecommendationsOutput, error)

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

func (*IClient) GetSession

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

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

func (*IClient) ListAssistantAssociations

func (_m *IClient) ListAssistantAssociations(ctx context.Context, params *wisdom.ListAssistantAssociationsInput, optFns ...func(*wisdom.Options)) (*wisdom.ListAssistantAssociationsOutput, error)

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

func (*IClient) ListAssistants

func (_m *IClient) ListAssistants(ctx context.Context, params *wisdom.ListAssistantsInput, optFns ...func(*wisdom.Options)) (*wisdom.ListAssistantsOutput, error)

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

func (*IClient) ListContents

func (_m *IClient) ListContents(ctx context.Context, params *wisdom.ListContentsInput, optFns ...func(*wisdom.Options)) (*wisdom.ListContentsOutput, error)

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

func (*IClient) ListImportJobs

func (_m *IClient) ListImportJobs(ctx context.Context, params *wisdom.ListImportJobsInput, optFns ...func(*wisdom.Options)) (*wisdom.ListImportJobsOutput, error)

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

func (*IClient) ListKnowledgeBases

func (_m *IClient) ListKnowledgeBases(ctx context.Context, params *wisdom.ListKnowledgeBasesInput, optFns ...func(*wisdom.Options)) (*wisdom.ListKnowledgeBasesOutput, error)

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

func (*IClient) ListQuickResponses

func (_m *IClient) ListQuickResponses(ctx context.Context, params *wisdom.ListQuickResponsesInput, optFns ...func(*wisdom.Options)) (*wisdom.ListQuickResponsesOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) NotifyRecommendationsReceived

func (_m *IClient) NotifyRecommendationsReceived(ctx context.Context, params *wisdom.NotifyRecommendationsReceivedInput, optFns ...func(*wisdom.Options)) (*wisdom.NotifyRecommendationsReceivedOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) QueryAssistant

func (_m *IClient) QueryAssistant(ctx context.Context, params *wisdom.QueryAssistantInput, optFns ...func(*wisdom.Options)) (*wisdom.QueryAssistantOutput, error)

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

func (*IClient) RemoveKnowledgeBaseTemplateUri

func (_m *IClient) RemoveKnowledgeBaseTemplateUri(ctx context.Context, params *wisdom.RemoveKnowledgeBaseTemplateUriInput, optFns ...func(*wisdom.Options)) (*wisdom.RemoveKnowledgeBaseTemplateUriOutput, error)

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

func (*IClient) SearchContent

func (_m *IClient) SearchContent(ctx context.Context, params *wisdom.SearchContentInput, optFns ...func(*wisdom.Options)) (*wisdom.SearchContentOutput, error)

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

func (*IClient) SearchQuickResponses

func (_m *IClient) SearchQuickResponses(ctx context.Context, params *wisdom.SearchQuickResponsesInput, optFns ...func(*wisdom.Options)) (*wisdom.SearchQuickResponsesOutput, error)

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

func (*IClient) SearchSessions

func (_m *IClient) SearchSessions(ctx context.Context, params *wisdom.SearchSessionsInput, optFns ...func(*wisdom.Options)) (*wisdom.SearchSessionsOutput, error)

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

func (*IClient) StartContentUpload

func (_m *IClient) StartContentUpload(ctx context.Context, params *wisdom.StartContentUploadInput, optFns ...func(*wisdom.Options)) (*wisdom.StartContentUploadOutput, error)

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

func (*IClient) StartImportJob

func (_m *IClient) StartImportJob(ctx context.Context, params *wisdom.StartImportJobInput, optFns ...func(*wisdom.Options)) (*wisdom.StartImportJobOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateContent

func (_m *IClient) UpdateContent(ctx context.Context, params *wisdom.UpdateContentInput, optFns ...func(*wisdom.Options)) (*wisdom.UpdateContentOutput, error)

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

func (*IClient) UpdateKnowledgeBaseTemplateUri

func (_m *IClient) UpdateKnowledgeBaseTemplateUri(ctx context.Context, params *wisdom.UpdateKnowledgeBaseTemplateUriInput, optFns ...func(*wisdom.Options)) (*wisdom.UpdateKnowledgeBaseTemplateUriOutput, error)

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

func (*IClient) UpdateQuickResponse

func (_m *IClient) UpdateQuickResponse(ctx context.Context, params *wisdom.UpdateQuickResponseInput, optFns ...func(*wisdom.Options)) (*wisdom.UpdateQuickResponseOutput, error)

UpdateQuickResponse 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