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

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

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

func (*IClient) CreateAssistantAssociation

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

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

func (*IClient) CreateContent

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

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

func (*IClient) CreateContentAssociation

func (_m *IClient) CreateContentAssociation(ctx context.Context, params *qconnect.CreateContentAssociationInput, optFns ...func(*qconnect.Options)) (*qconnect.CreateContentAssociationOutput, error)

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

func (*IClient) CreateKnowledgeBase

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

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

func (*IClient) CreateQuickResponse

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

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

func (*IClient) CreateSession

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

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

func (*IClient) DeleteAssistant

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

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

func (*IClient) DeleteAssistantAssociation

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

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

func (*IClient) DeleteContent

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

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

func (*IClient) DeleteContentAssociation

func (_m *IClient) DeleteContentAssociation(ctx context.Context, params *qconnect.DeleteContentAssociationInput, optFns ...func(*qconnect.Options)) (*qconnect.DeleteContentAssociationOutput, error)

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

func (*IClient) DeleteImportJob

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

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

func (*IClient) DeleteKnowledgeBase

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

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

func (*IClient) DeleteQuickResponse

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

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

func (*IClient) GetAssistant

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

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

func (*IClient) GetAssistantAssociation

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

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

func (*IClient) GetContent

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

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

func (*IClient) GetContentAssociation

func (_m *IClient) GetContentAssociation(ctx context.Context, params *qconnect.GetContentAssociationInput, optFns ...func(*qconnect.Options)) (*qconnect.GetContentAssociationOutput, error)

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

func (*IClient) GetContentSummary

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

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

func (*IClient) GetImportJob

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

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

func (*IClient) GetKnowledgeBase

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

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

func (*IClient) GetQuickResponse

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

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

func (*IClient) GetRecommendations

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

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

func (*IClient) GetSession

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

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

func (*IClient) ListAssistantAssociations

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

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

func (*IClient) ListAssistants

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

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

func (*IClient) ListContentAssociations

func (_m *IClient) ListContentAssociations(ctx context.Context, params *qconnect.ListContentAssociationsInput, optFns ...func(*qconnect.Options)) (*qconnect.ListContentAssociationsOutput, error)

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

func (*IClient) ListContents

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

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

func (*IClient) ListImportJobs

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

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

func (*IClient) ListKnowledgeBases

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

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

func (*IClient) ListQuickResponses

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

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) NotifyRecommendationsReceived

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutFeedback

func (_m *IClient) PutFeedback(ctx context.Context, params *qconnect.PutFeedbackInput, optFns ...func(*qconnect.Options)) (*qconnect.PutFeedbackOutput, error)

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

func (*IClient) QueryAssistant

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

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

func (*IClient) RemoveKnowledgeBaseTemplateUri

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

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

func (*IClient) SearchContent

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

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

func (*IClient) SearchQuickResponses

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

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

func (*IClient) SearchSessions

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

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

func (*IClient) StartContentUpload

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

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

func (*IClient) StartImportJob

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

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateContent

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

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

func (*IClient) UpdateKnowledgeBaseTemplateUri

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

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

func (*IClient) UpdateQuickResponse

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

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

func (*IClient) UpdateSession

func (_m *IClient) UpdateSession(ctx context.Context, params *qconnect.UpdateSessionInput, optFns ...func(*qconnect.Options)) (*qconnect.UpdateSessionOutput, error)

UpdateSession 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