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

func (_m *IClient) BatchDeleteDocument(ctx context.Context, params *qbusiness.BatchDeleteDocumentInput, optFns ...func(*qbusiness.Options)) (*qbusiness.BatchDeleteDocumentOutput, error)

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

func (*IClient) BatchPutDocument

func (_m *IClient) BatchPutDocument(ctx context.Context, params *qbusiness.BatchPutDocumentInput, optFns ...func(*qbusiness.Options)) (*qbusiness.BatchPutDocumentOutput, error)

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

func (*IClient) Chat

func (_m *IClient) Chat(ctx context.Context, params *qbusiness.ChatInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ChatOutput, error)

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

func (*IClient) ChatSync

func (_m *IClient) ChatSync(ctx context.Context, params *qbusiness.ChatSyncInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ChatSyncOutput, error)

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

func (*IClient) CreateApplication

func (_m *IClient) CreateApplication(ctx context.Context, params *qbusiness.CreateApplicationInput, optFns ...func(*qbusiness.Options)) (*qbusiness.CreateApplicationOutput, error)

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

func (*IClient) CreateDataSource

func (_m *IClient) CreateDataSource(ctx context.Context, params *qbusiness.CreateDataSourceInput, optFns ...func(*qbusiness.Options)) (*qbusiness.CreateDataSourceOutput, error)

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

func (*IClient) CreateIndex

func (_m *IClient) CreateIndex(ctx context.Context, params *qbusiness.CreateIndexInput, optFns ...func(*qbusiness.Options)) (*qbusiness.CreateIndexOutput, error)

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

func (*IClient) CreatePlugin

func (_m *IClient) CreatePlugin(ctx context.Context, params *qbusiness.CreatePluginInput, optFns ...func(*qbusiness.Options)) (*qbusiness.CreatePluginOutput, error)

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

func (*IClient) CreateRetriever

func (_m *IClient) CreateRetriever(ctx context.Context, params *qbusiness.CreateRetrieverInput, optFns ...func(*qbusiness.Options)) (*qbusiness.CreateRetrieverOutput, error)

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

func (*IClient) CreateUser

func (_m *IClient) CreateUser(ctx context.Context, params *qbusiness.CreateUserInput, optFns ...func(*qbusiness.Options)) (*qbusiness.CreateUserOutput, error)

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

func (*IClient) CreateWebExperience

func (_m *IClient) CreateWebExperience(ctx context.Context, params *qbusiness.CreateWebExperienceInput, optFns ...func(*qbusiness.Options)) (*qbusiness.CreateWebExperienceOutput, error)

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

func (*IClient) DeleteApplication

func (_m *IClient) DeleteApplication(ctx context.Context, params *qbusiness.DeleteApplicationInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeleteApplicationOutput, error)

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

func (*IClient) DeleteChatControlsConfiguration

func (_m *IClient) DeleteChatControlsConfiguration(ctx context.Context, params *qbusiness.DeleteChatControlsConfigurationInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeleteChatControlsConfigurationOutput, error)

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

func (*IClient) DeleteConversation

func (_m *IClient) DeleteConversation(ctx context.Context, params *qbusiness.DeleteConversationInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeleteConversationOutput, error)

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

func (*IClient) DeleteDataSource

func (_m *IClient) DeleteDataSource(ctx context.Context, params *qbusiness.DeleteDataSourceInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeleteDataSourceOutput, error)

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

func (*IClient) DeleteGroup

func (_m *IClient) DeleteGroup(ctx context.Context, params *qbusiness.DeleteGroupInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeleteGroupOutput, error)

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

func (*IClient) DeleteIndex

func (_m *IClient) DeleteIndex(ctx context.Context, params *qbusiness.DeleteIndexInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeleteIndexOutput, error)

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

func (*IClient) DeletePlugin

func (_m *IClient) DeletePlugin(ctx context.Context, params *qbusiness.DeletePluginInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeletePluginOutput, error)

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

func (*IClient) DeleteRetriever

func (_m *IClient) DeleteRetriever(ctx context.Context, params *qbusiness.DeleteRetrieverInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeleteRetrieverOutput, error)

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

func (*IClient) DeleteUser

func (_m *IClient) DeleteUser(ctx context.Context, params *qbusiness.DeleteUserInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeleteUserOutput, error)

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

func (*IClient) DeleteWebExperience

func (_m *IClient) DeleteWebExperience(ctx context.Context, params *qbusiness.DeleteWebExperienceInput, optFns ...func(*qbusiness.Options)) (*qbusiness.DeleteWebExperienceOutput, error)

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

func (*IClient) GetApplication

func (_m *IClient) GetApplication(ctx context.Context, params *qbusiness.GetApplicationInput, optFns ...func(*qbusiness.Options)) (*qbusiness.GetApplicationOutput, error)

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

func (*IClient) GetChatControlsConfiguration

func (_m *IClient) GetChatControlsConfiguration(ctx context.Context, params *qbusiness.GetChatControlsConfigurationInput, optFns ...func(*qbusiness.Options)) (*qbusiness.GetChatControlsConfigurationOutput, error)

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

func (*IClient) GetDataSource

func (_m *IClient) GetDataSource(ctx context.Context, params *qbusiness.GetDataSourceInput, optFns ...func(*qbusiness.Options)) (*qbusiness.GetDataSourceOutput, error)

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

func (*IClient) GetGroup

func (_m *IClient) GetGroup(ctx context.Context, params *qbusiness.GetGroupInput, optFns ...func(*qbusiness.Options)) (*qbusiness.GetGroupOutput, error)

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

func (*IClient) GetIndex

func (_m *IClient) GetIndex(ctx context.Context, params *qbusiness.GetIndexInput, optFns ...func(*qbusiness.Options)) (*qbusiness.GetIndexOutput, error)

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

func (*IClient) GetPlugin

func (_m *IClient) GetPlugin(ctx context.Context, params *qbusiness.GetPluginInput, optFns ...func(*qbusiness.Options)) (*qbusiness.GetPluginOutput, error)

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

func (*IClient) GetRetriever

func (_m *IClient) GetRetriever(ctx context.Context, params *qbusiness.GetRetrieverInput, optFns ...func(*qbusiness.Options)) (*qbusiness.GetRetrieverOutput, error)

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

func (*IClient) GetUser

func (_m *IClient) GetUser(ctx context.Context, params *qbusiness.GetUserInput, optFns ...func(*qbusiness.Options)) (*qbusiness.GetUserOutput, error)

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

func (*IClient) GetWebExperience

func (_m *IClient) GetWebExperience(ctx context.Context, params *qbusiness.GetWebExperienceInput, optFns ...func(*qbusiness.Options)) (*qbusiness.GetWebExperienceOutput, error)

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

func (*IClient) ListApplications

func (_m *IClient) ListApplications(ctx context.Context, params *qbusiness.ListApplicationsInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListApplicationsOutput, error)

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

func (*IClient) ListConversations

func (_m *IClient) ListConversations(ctx context.Context, params *qbusiness.ListConversationsInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListConversationsOutput, error)

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

func (*IClient) ListDataSourceSyncJobs

func (_m *IClient) ListDataSourceSyncJobs(ctx context.Context, params *qbusiness.ListDataSourceSyncJobsInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListDataSourceSyncJobsOutput, error)

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

func (*IClient) ListDataSources

func (_m *IClient) ListDataSources(ctx context.Context, params *qbusiness.ListDataSourcesInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListDataSourcesOutput, error)

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

func (*IClient) ListDocuments

func (_m *IClient) ListDocuments(ctx context.Context, params *qbusiness.ListDocumentsInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListDocumentsOutput, error)

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

func (*IClient) ListGroups

func (_m *IClient) ListGroups(ctx context.Context, params *qbusiness.ListGroupsInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListGroupsOutput, error)

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

func (*IClient) ListIndices

func (_m *IClient) ListIndices(ctx context.Context, params *qbusiness.ListIndicesInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListIndicesOutput, error)

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

func (*IClient) ListMessages

func (_m *IClient) ListMessages(ctx context.Context, params *qbusiness.ListMessagesInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListMessagesOutput, error)

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

func (*IClient) ListPlugins

func (_m *IClient) ListPlugins(ctx context.Context, params *qbusiness.ListPluginsInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListPluginsOutput, error)

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

func (*IClient) ListRetrievers

func (_m *IClient) ListRetrievers(ctx context.Context, params *qbusiness.ListRetrieversInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListRetrieversOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListWebExperiences

func (_m *IClient) ListWebExperiences(ctx context.Context, params *qbusiness.ListWebExperiencesInput, optFns ...func(*qbusiness.Options)) (*qbusiness.ListWebExperiencesOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutFeedback

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

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

func (*IClient) PutGroup

func (_m *IClient) PutGroup(ctx context.Context, params *qbusiness.PutGroupInput, optFns ...func(*qbusiness.Options)) (*qbusiness.PutGroupOutput, error)

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

func (*IClient) StartDataSourceSyncJob

func (_m *IClient) StartDataSourceSyncJob(ctx context.Context, params *qbusiness.StartDataSourceSyncJobInput, optFns ...func(*qbusiness.Options)) (*qbusiness.StartDataSourceSyncJobOutput, error)

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

func (*IClient) StopDataSourceSyncJob

func (_m *IClient) StopDataSourceSyncJob(ctx context.Context, params *qbusiness.StopDataSourceSyncJobInput, optFns ...func(*qbusiness.Options)) (*qbusiness.StopDataSourceSyncJobOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateApplication

func (_m *IClient) UpdateApplication(ctx context.Context, params *qbusiness.UpdateApplicationInput, optFns ...func(*qbusiness.Options)) (*qbusiness.UpdateApplicationOutput, error)

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

func (*IClient) UpdateChatControlsConfiguration

func (_m *IClient) UpdateChatControlsConfiguration(ctx context.Context, params *qbusiness.UpdateChatControlsConfigurationInput, optFns ...func(*qbusiness.Options)) (*qbusiness.UpdateChatControlsConfigurationOutput, error)

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

func (*IClient) UpdateDataSource

func (_m *IClient) UpdateDataSource(ctx context.Context, params *qbusiness.UpdateDataSourceInput, optFns ...func(*qbusiness.Options)) (*qbusiness.UpdateDataSourceOutput, error)

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

func (*IClient) UpdateIndex

func (_m *IClient) UpdateIndex(ctx context.Context, params *qbusiness.UpdateIndexInput, optFns ...func(*qbusiness.Options)) (*qbusiness.UpdateIndexOutput, error)

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

func (*IClient) UpdatePlugin

func (_m *IClient) UpdatePlugin(ctx context.Context, params *qbusiness.UpdatePluginInput, optFns ...func(*qbusiness.Options)) (*qbusiness.UpdatePluginOutput, error)

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

func (*IClient) UpdateRetriever

func (_m *IClient) UpdateRetriever(ctx context.Context, params *qbusiness.UpdateRetrieverInput, optFns ...func(*qbusiness.Options)) (*qbusiness.UpdateRetrieverOutput, error)

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

func (*IClient) UpdateUser

func (_m *IClient) UpdateUser(ctx context.Context, params *qbusiness.UpdateUserInput, optFns ...func(*qbusiness.Options)) (*qbusiness.UpdateUserOutput, error)

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

func (*IClient) UpdateWebExperience

func (_m *IClient) UpdateWebExperience(ctx context.Context, params *qbusiness.UpdateWebExperienceInput, optFns ...func(*qbusiness.Options)) (*qbusiness.UpdateWebExperienceOutput, error)

UpdateWebExperience 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