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

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

func (*IClient) CreateAgent

func (_m *IClient) CreateAgent(ctx context.Context, params *bedrockagent.CreateAgentInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.CreateAgentOutput, error)

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

func (*IClient) CreateAgentActionGroup

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

func (*IClient) CreateAgentAlias

func (_m *IClient) CreateAgentAlias(ctx context.Context, params *bedrockagent.CreateAgentAliasInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.CreateAgentAliasOutput, error)

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

func (*IClient) CreateDataSource

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

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

func (*IClient) CreateFlow

func (_m *IClient) CreateFlow(ctx context.Context, params *bedrockagent.CreateFlowInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.CreateFlowOutput, error)

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

func (*IClient) CreateFlowAlias

func (_m *IClient) CreateFlowAlias(ctx context.Context, params *bedrockagent.CreateFlowAliasInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.CreateFlowAliasOutput, error)

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

func (*IClient) CreateFlowVersion

func (_m *IClient) CreateFlowVersion(ctx context.Context, params *bedrockagent.CreateFlowVersionInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.CreateFlowVersionOutput, error)

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

func (*IClient) CreateKnowledgeBase

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

func (*IClient) CreatePrompt

func (_m *IClient) CreatePrompt(ctx context.Context, params *bedrockagent.CreatePromptInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.CreatePromptOutput, error)

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

func (*IClient) CreatePromptVersion

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

func (*IClient) DeleteAgent

func (_m *IClient) DeleteAgent(ctx context.Context, params *bedrockagent.DeleteAgentInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.DeleteAgentOutput, error)

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

func (*IClient) DeleteAgentActionGroup

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

func (*IClient) DeleteAgentAlias

func (_m *IClient) DeleteAgentAlias(ctx context.Context, params *bedrockagent.DeleteAgentAliasInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.DeleteAgentAliasOutput, error)

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

func (*IClient) DeleteAgentVersion

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

func (*IClient) DeleteDataSource

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

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

func (*IClient) DeleteFlow

func (_m *IClient) DeleteFlow(ctx context.Context, params *bedrockagent.DeleteFlowInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.DeleteFlowOutput, error)

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

func (*IClient) DeleteFlowAlias

func (_m *IClient) DeleteFlowAlias(ctx context.Context, params *bedrockagent.DeleteFlowAliasInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.DeleteFlowAliasOutput, error)

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

func (*IClient) DeleteFlowVersion

func (_m *IClient) DeleteFlowVersion(ctx context.Context, params *bedrockagent.DeleteFlowVersionInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.DeleteFlowVersionOutput, error)

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

func (*IClient) DeleteKnowledgeBase

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

func (*IClient) DeletePrompt

func (_m *IClient) DeletePrompt(ctx context.Context, params *bedrockagent.DeletePromptInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.DeletePromptOutput, error)

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

func (*IClient) DisassociateAgentKnowledgeBase

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

func (*IClient) GetAgent

func (_m *IClient) GetAgent(ctx context.Context, params *bedrockagent.GetAgentInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.GetAgentOutput, error)

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

func (*IClient) GetAgentActionGroup

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

func (*IClient) GetAgentAlias

func (_m *IClient) GetAgentAlias(ctx context.Context, params *bedrockagent.GetAgentAliasInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.GetAgentAliasOutput, error)

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

func (*IClient) GetAgentKnowledgeBase

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

func (*IClient) GetAgentVersion

func (_m *IClient) GetAgentVersion(ctx context.Context, params *bedrockagent.GetAgentVersionInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.GetAgentVersionOutput, error)

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

func (*IClient) GetDataSource

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

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

func (*IClient) GetFlow

func (_m *IClient) GetFlow(ctx context.Context, params *bedrockagent.GetFlowInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.GetFlowOutput, error)

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

func (*IClient) GetFlowAlias

func (_m *IClient) GetFlowAlias(ctx context.Context, params *bedrockagent.GetFlowAliasInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.GetFlowAliasOutput, error)

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

func (*IClient) GetFlowVersion

func (_m *IClient) GetFlowVersion(ctx context.Context, params *bedrockagent.GetFlowVersionInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.GetFlowVersionOutput, error)

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

func (*IClient) GetIngestionJob

func (_m *IClient) GetIngestionJob(ctx context.Context, params *bedrockagent.GetIngestionJobInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.GetIngestionJobOutput, error)

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

func (*IClient) GetKnowledgeBase

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

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

func (*IClient) GetPrompt

func (_m *IClient) GetPrompt(ctx context.Context, params *bedrockagent.GetPromptInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.GetPromptOutput, error)

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

func (*IClient) ListAgentActionGroups

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

func (*IClient) ListAgentAliases

func (_m *IClient) ListAgentAliases(ctx context.Context, params *bedrockagent.ListAgentAliasesInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.ListAgentAliasesOutput, error)

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

func (*IClient) ListAgentKnowledgeBases

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

func (*IClient) ListAgentVersions

func (_m *IClient) ListAgentVersions(ctx context.Context, params *bedrockagent.ListAgentVersionsInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.ListAgentVersionsOutput, error)

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

func (*IClient) ListAgents

func (_m *IClient) ListAgents(ctx context.Context, params *bedrockagent.ListAgentsInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.ListAgentsOutput, error)

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

func (*IClient) ListDataSources

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

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

func (*IClient) ListFlowAliases

func (_m *IClient) ListFlowAliases(ctx context.Context, params *bedrockagent.ListFlowAliasesInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.ListFlowAliasesOutput, error)

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

func (*IClient) ListFlowVersions

func (_m *IClient) ListFlowVersions(ctx context.Context, params *bedrockagent.ListFlowVersionsInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.ListFlowVersionsOutput, error)

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

func (*IClient) ListFlows

func (_m *IClient) ListFlows(ctx context.Context, params *bedrockagent.ListFlowsInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.ListFlowsOutput, error)

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

func (*IClient) ListIngestionJobs

func (_m *IClient) ListIngestionJobs(ctx context.Context, params *bedrockagent.ListIngestionJobsInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.ListIngestionJobsOutput, error)

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

func (*IClient) ListKnowledgeBases

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

func (*IClient) ListPrompts

func (_m *IClient) ListPrompts(ctx context.Context, params *bedrockagent.ListPromptsInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.ListPromptsOutput, error)

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

func (*IClient) ListTagsForResource

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PrepareAgent

func (_m *IClient) PrepareAgent(ctx context.Context, params *bedrockagent.PrepareAgentInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.PrepareAgentOutput, error)

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

func (*IClient) PrepareFlow

func (_m *IClient) PrepareFlow(ctx context.Context, params *bedrockagent.PrepareFlowInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.PrepareFlowOutput, error)

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

func (*IClient) StartIngestionJob

func (_m *IClient) StartIngestionJob(ctx context.Context, params *bedrockagent.StartIngestionJobInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.StartIngestionJobOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateAgent

func (_m *IClient) UpdateAgent(ctx context.Context, params *bedrockagent.UpdateAgentInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.UpdateAgentOutput, error)

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

func (*IClient) UpdateAgentActionGroup

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

func (*IClient) UpdateAgentAlias

func (_m *IClient) UpdateAgentAlias(ctx context.Context, params *bedrockagent.UpdateAgentAliasInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.UpdateAgentAliasOutput, error)

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

func (*IClient) UpdateAgentKnowledgeBase

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

func (*IClient) UpdateDataSource

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

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

func (*IClient) UpdateFlow

func (_m *IClient) UpdateFlow(ctx context.Context, params *bedrockagent.UpdateFlowInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.UpdateFlowOutput, error)

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

func (*IClient) UpdateFlowAlias

func (_m *IClient) UpdateFlowAlias(ctx context.Context, params *bedrockagent.UpdateFlowAliasInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.UpdateFlowAliasOutput, error)

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

func (*IClient) UpdateKnowledgeBase

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

func (*IClient) UpdatePrompt

func (_m *IClient) UpdatePrompt(ctx context.Context, params *bedrockagent.UpdatePromptInput, optFns ...func(*bedrockagent.Options)) (*bedrockagent.UpdatePromptOutput, error)

UpdatePrompt 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