mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 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) BatchDeleteEvaluationJob added in v0.1.0

func (_m *IClient) BatchDeleteEvaluationJob(ctx context.Context, params *bedrock.BatchDeleteEvaluationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.BatchDeleteEvaluationJobOutput, error)

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

func (*IClient) CreateEvaluationJob

func (_m *IClient) CreateEvaluationJob(ctx context.Context, params *bedrock.CreateEvaluationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateEvaluationJobOutput, error)

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

func (*IClient) CreateGuardrail

func (_m *IClient) CreateGuardrail(ctx context.Context, params *bedrock.CreateGuardrailInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateGuardrailOutput, error)

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

func (*IClient) CreateGuardrailVersion

func (_m *IClient) CreateGuardrailVersion(ctx context.Context, params *bedrock.CreateGuardrailVersionInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateGuardrailVersionOutput, error)

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

func (*IClient) CreateInferenceProfile added in v0.1.0

func (_m *IClient) CreateInferenceProfile(ctx context.Context, params *bedrock.CreateInferenceProfileInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateInferenceProfileOutput, error)

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

func (*IClient) CreateMarketplaceModelEndpoint added in v0.1.0

func (_m *IClient) CreateMarketplaceModelEndpoint(ctx context.Context, params *bedrock.CreateMarketplaceModelEndpointInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateMarketplaceModelEndpointOutput, error)

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

func (*IClient) CreateModelCopyJob added in v0.1.0

func (_m *IClient) CreateModelCopyJob(ctx context.Context, params *bedrock.CreateModelCopyJobInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateModelCopyJobOutput, error)

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

func (*IClient) CreateModelCustomizationJob

func (_m *IClient) CreateModelCustomizationJob(ctx context.Context, params *bedrock.CreateModelCustomizationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateModelCustomizationJobOutput, error)

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

func (*IClient) CreateModelImportJob added in v0.1.0

func (_m *IClient) CreateModelImportJob(ctx context.Context, params *bedrock.CreateModelImportJobInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateModelImportJobOutput, error)

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

func (*IClient) CreateModelInvocationJob added in v0.1.0

func (_m *IClient) CreateModelInvocationJob(ctx context.Context, params *bedrock.CreateModelInvocationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateModelInvocationJobOutput, error)

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

func (*IClient) CreateProvisionedModelThroughput

func (_m *IClient) CreateProvisionedModelThroughput(ctx context.Context, params *bedrock.CreateProvisionedModelThroughputInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateProvisionedModelThroughputOutput, error)

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

func (*IClient) DeleteCustomModel

func (_m *IClient) DeleteCustomModel(ctx context.Context, params *bedrock.DeleteCustomModelInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteCustomModelOutput, error)

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

func (*IClient) DeleteGuardrail

func (_m *IClient) DeleteGuardrail(ctx context.Context, params *bedrock.DeleteGuardrailInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteGuardrailOutput, error)

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

func (*IClient) DeleteImportedModel added in v0.1.0

func (_m *IClient) DeleteImportedModel(ctx context.Context, params *bedrock.DeleteImportedModelInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteImportedModelOutput, error)

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

func (*IClient) DeleteInferenceProfile added in v0.1.0

func (_m *IClient) DeleteInferenceProfile(ctx context.Context, params *bedrock.DeleteInferenceProfileInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteInferenceProfileOutput, error)

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

func (*IClient) DeleteMarketplaceModelEndpoint added in v0.1.0

func (_m *IClient) DeleteMarketplaceModelEndpoint(ctx context.Context, params *bedrock.DeleteMarketplaceModelEndpointInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteMarketplaceModelEndpointOutput, error)

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

func (*IClient) DeleteModelInvocationLoggingConfiguration

func (_m *IClient) DeleteModelInvocationLoggingConfiguration(ctx context.Context, params *bedrock.DeleteModelInvocationLoggingConfigurationInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteModelInvocationLoggingConfigurationOutput, error)

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

func (*IClient) DeleteProvisionedModelThroughput

func (_m *IClient) DeleteProvisionedModelThroughput(ctx context.Context, params *bedrock.DeleteProvisionedModelThroughputInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteProvisionedModelThroughputOutput, error)

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

func (*IClient) DeregisterMarketplaceModelEndpoint added in v0.1.0

func (_m *IClient) DeregisterMarketplaceModelEndpoint(ctx context.Context, params *bedrock.DeregisterMarketplaceModelEndpointInput, optFns ...func(*bedrock.Options)) (*bedrock.DeregisterMarketplaceModelEndpointOutput, error)

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

func (*IClient) GetCustomModel

func (_m *IClient) GetCustomModel(ctx context.Context, params *bedrock.GetCustomModelInput, optFns ...func(*bedrock.Options)) (*bedrock.GetCustomModelOutput, error)

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

func (*IClient) GetEvaluationJob

func (_m *IClient) GetEvaluationJob(ctx context.Context, params *bedrock.GetEvaluationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.GetEvaluationJobOutput, error)

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

func (*IClient) GetFoundationModel

func (_m *IClient) GetFoundationModel(ctx context.Context, params *bedrock.GetFoundationModelInput, optFns ...func(*bedrock.Options)) (*bedrock.GetFoundationModelOutput, error)

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

func (*IClient) GetGuardrail

func (_m *IClient) GetGuardrail(ctx context.Context, params *bedrock.GetGuardrailInput, optFns ...func(*bedrock.Options)) (*bedrock.GetGuardrailOutput, error)

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

func (*IClient) GetImportedModel added in v0.1.0

func (_m *IClient) GetImportedModel(ctx context.Context, params *bedrock.GetImportedModelInput, optFns ...func(*bedrock.Options)) (*bedrock.GetImportedModelOutput, error)

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

func (*IClient) GetInferenceProfile added in v0.1.0

func (_m *IClient) GetInferenceProfile(ctx context.Context, params *bedrock.GetInferenceProfileInput, optFns ...func(*bedrock.Options)) (*bedrock.GetInferenceProfileOutput, error)

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

func (*IClient) GetMarketplaceModelEndpoint added in v0.1.0

func (_m *IClient) GetMarketplaceModelEndpoint(ctx context.Context, params *bedrock.GetMarketplaceModelEndpointInput, optFns ...func(*bedrock.Options)) (*bedrock.GetMarketplaceModelEndpointOutput, error)

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

func (*IClient) GetModelCopyJob added in v0.1.0

func (_m *IClient) GetModelCopyJob(ctx context.Context, params *bedrock.GetModelCopyJobInput, optFns ...func(*bedrock.Options)) (*bedrock.GetModelCopyJobOutput, error)

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

func (*IClient) GetModelCustomizationJob

func (_m *IClient) GetModelCustomizationJob(ctx context.Context, params *bedrock.GetModelCustomizationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.GetModelCustomizationJobOutput, error)

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

func (*IClient) GetModelImportJob added in v0.1.0

func (_m *IClient) GetModelImportJob(ctx context.Context, params *bedrock.GetModelImportJobInput, optFns ...func(*bedrock.Options)) (*bedrock.GetModelImportJobOutput, error)

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

func (*IClient) GetModelInvocationJob added in v0.1.0

func (_m *IClient) GetModelInvocationJob(ctx context.Context, params *bedrock.GetModelInvocationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.GetModelInvocationJobOutput, error)

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

func (*IClient) GetModelInvocationLoggingConfiguration

func (_m *IClient) GetModelInvocationLoggingConfiguration(ctx context.Context, params *bedrock.GetModelInvocationLoggingConfigurationInput, optFns ...func(*bedrock.Options)) (*bedrock.GetModelInvocationLoggingConfigurationOutput, error)

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

func (*IClient) GetPromptRouter added in v0.1.0

func (_m *IClient) GetPromptRouter(ctx context.Context, params *bedrock.GetPromptRouterInput, optFns ...func(*bedrock.Options)) (*bedrock.GetPromptRouterOutput, error)

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

func (*IClient) GetProvisionedModelThroughput

func (_m *IClient) GetProvisionedModelThroughput(ctx context.Context, params *bedrock.GetProvisionedModelThroughputInput, optFns ...func(*bedrock.Options)) (*bedrock.GetProvisionedModelThroughputOutput, error)

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

func (*IClient) ListCustomModels

func (_m *IClient) ListCustomModels(ctx context.Context, params *bedrock.ListCustomModelsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListCustomModelsOutput, error)

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

func (*IClient) ListEvaluationJobs

func (_m *IClient) ListEvaluationJobs(ctx context.Context, params *bedrock.ListEvaluationJobsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListEvaluationJobsOutput, error)

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

func (*IClient) ListFoundationModels

func (_m *IClient) ListFoundationModels(ctx context.Context, params *bedrock.ListFoundationModelsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListFoundationModelsOutput, error)

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

func (*IClient) ListGuardrails

func (_m *IClient) ListGuardrails(ctx context.Context, params *bedrock.ListGuardrailsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListGuardrailsOutput, error)

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

func (*IClient) ListImportedModels added in v0.1.0

func (_m *IClient) ListImportedModels(ctx context.Context, params *bedrock.ListImportedModelsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListImportedModelsOutput, error)

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

func (*IClient) ListInferenceProfiles added in v0.1.0

func (_m *IClient) ListInferenceProfiles(ctx context.Context, params *bedrock.ListInferenceProfilesInput, optFns ...func(*bedrock.Options)) (*bedrock.ListInferenceProfilesOutput, error)

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

func (*IClient) ListMarketplaceModelEndpoints added in v0.1.0

func (_m *IClient) ListMarketplaceModelEndpoints(ctx context.Context, params *bedrock.ListMarketplaceModelEndpointsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListMarketplaceModelEndpointsOutput, error)

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

func (*IClient) ListModelCopyJobs added in v0.1.0

func (_m *IClient) ListModelCopyJobs(ctx context.Context, params *bedrock.ListModelCopyJobsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListModelCopyJobsOutput, error)

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

func (*IClient) ListModelCustomizationJobs

func (_m *IClient) ListModelCustomizationJobs(ctx context.Context, params *bedrock.ListModelCustomizationJobsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListModelCustomizationJobsOutput, error)

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

func (*IClient) ListModelImportJobs added in v0.1.0

func (_m *IClient) ListModelImportJobs(ctx context.Context, params *bedrock.ListModelImportJobsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListModelImportJobsOutput, error)

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

func (*IClient) ListModelInvocationJobs added in v0.1.0

func (_m *IClient) ListModelInvocationJobs(ctx context.Context, params *bedrock.ListModelInvocationJobsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListModelInvocationJobsOutput, error)

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

func (*IClient) ListPromptRouters added in v0.1.0

func (_m *IClient) ListPromptRouters(ctx context.Context, params *bedrock.ListPromptRoutersInput, optFns ...func(*bedrock.Options)) (*bedrock.ListPromptRoutersOutput, error)

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

func (*IClient) ListProvisionedModelThroughputs

func (_m *IClient) ListProvisionedModelThroughputs(ctx context.Context, params *bedrock.ListProvisionedModelThroughputsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListProvisionedModelThroughputsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutModelInvocationLoggingConfiguration

func (_m *IClient) PutModelInvocationLoggingConfiguration(ctx context.Context, params *bedrock.PutModelInvocationLoggingConfigurationInput, optFns ...func(*bedrock.Options)) (*bedrock.PutModelInvocationLoggingConfigurationOutput, error)

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

func (*IClient) RegisterMarketplaceModelEndpoint added in v0.1.0

func (_m *IClient) RegisterMarketplaceModelEndpoint(ctx context.Context, params *bedrock.RegisterMarketplaceModelEndpointInput, optFns ...func(*bedrock.Options)) (*bedrock.RegisterMarketplaceModelEndpointOutput, error)

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

func (*IClient) StopEvaluationJob

func (_m *IClient) StopEvaluationJob(ctx context.Context, params *bedrock.StopEvaluationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.StopEvaluationJobOutput, error)

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

func (*IClient) StopModelCustomizationJob

func (_m *IClient) StopModelCustomizationJob(ctx context.Context, params *bedrock.StopModelCustomizationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.StopModelCustomizationJobOutput, error)

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

func (*IClient) StopModelInvocationJob added in v0.1.0

func (_m *IClient) StopModelInvocationJob(ctx context.Context, params *bedrock.StopModelInvocationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.StopModelInvocationJobOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateGuardrail

func (_m *IClient) UpdateGuardrail(ctx context.Context, params *bedrock.UpdateGuardrailInput, optFns ...func(*bedrock.Options)) (*bedrock.UpdateGuardrailOutput, error)

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

func (*IClient) UpdateMarketplaceModelEndpoint added in v0.1.0

func (_m *IClient) UpdateMarketplaceModelEndpoint(ctx context.Context, params *bedrock.UpdateMarketplaceModelEndpointInput, optFns ...func(*bedrock.Options)) (*bedrock.UpdateMarketplaceModelEndpointOutput, error)

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

func (*IClient) UpdateProvisionedModelThroughput

func (_m *IClient) UpdateProvisionedModelThroughput(ctx context.Context, params *bedrock.UpdateProvisionedModelThroughputInput, optFns ...func(*bedrock.Options)) (*bedrock.UpdateProvisionedModelThroughputOutput, error)

UpdateProvisionedModelThroughput 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