mocks

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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) CreateApi

func (_m *IClient) CreateApi(ctx context.Context, params *apigatewayv2.CreateApiInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateApiOutput, error)

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

func (*IClient) CreateApiMapping

func (_m *IClient) CreateApiMapping(ctx context.Context, params *apigatewayv2.CreateApiMappingInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateApiMappingOutput, error)

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

func (*IClient) CreateAuthorizer

func (_m *IClient) CreateAuthorizer(ctx context.Context, params *apigatewayv2.CreateAuthorizerInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateAuthorizerOutput, error)

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

func (*IClient) CreateDeployment

func (_m *IClient) CreateDeployment(ctx context.Context, params *apigatewayv2.CreateDeploymentInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateDeploymentOutput, error)

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

func (*IClient) CreateDomainName

func (_m *IClient) CreateDomainName(ctx context.Context, params *apigatewayv2.CreateDomainNameInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateDomainNameOutput, error)

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

func (*IClient) CreateIntegration

func (_m *IClient) CreateIntegration(ctx context.Context, params *apigatewayv2.CreateIntegrationInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateIntegrationOutput, error)

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

func (*IClient) CreateIntegrationResponse

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

func (*IClient) CreateModel

func (_m *IClient) CreateModel(ctx context.Context, params *apigatewayv2.CreateModelInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateModelOutput, error)

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

func (*IClient) CreateRoute

func (_m *IClient) CreateRoute(ctx context.Context, params *apigatewayv2.CreateRouteInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateRouteOutput, error)

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

func (*IClient) CreateRouteResponse

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

func (*IClient) CreateStage

func (_m *IClient) CreateStage(ctx context.Context, params *apigatewayv2.CreateStageInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateStageOutput, error)

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

func (_m *IClient) CreateVpcLink(ctx context.Context, params *apigatewayv2.CreateVpcLinkInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.CreateVpcLinkOutput, error)

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

func (*IClient) DeleteAccessLogSettings

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

func (*IClient) DeleteApi

func (_m *IClient) DeleteApi(ctx context.Context, params *apigatewayv2.DeleteApiInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteApiOutput, error)

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

func (*IClient) DeleteApiMapping

func (_m *IClient) DeleteApiMapping(ctx context.Context, params *apigatewayv2.DeleteApiMappingInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteApiMappingOutput, error)

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

func (*IClient) DeleteAuthorizer

func (_m *IClient) DeleteAuthorizer(ctx context.Context, params *apigatewayv2.DeleteAuthorizerInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteAuthorizerOutput, error)

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

func (*IClient) DeleteCorsConfiguration

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

func (*IClient) DeleteDeployment

func (_m *IClient) DeleteDeployment(ctx context.Context, params *apigatewayv2.DeleteDeploymentInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteDeploymentOutput, error)

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

func (*IClient) DeleteDomainName

func (_m *IClient) DeleteDomainName(ctx context.Context, params *apigatewayv2.DeleteDomainNameInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteDomainNameOutput, error)

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

func (*IClient) DeleteIntegration

func (_m *IClient) DeleteIntegration(ctx context.Context, params *apigatewayv2.DeleteIntegrationInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteIntegrationOutput, error)

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

func (*IClient) DeleteIntegrationResponse

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

func (*IClient) DeleteModel

func (_m *IClient) DeleteModel(ctx context.Context, params *apigatewayv2.DeleteModelInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteModelOutput, error)

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

func (*IClient) DeleteRoute

func (_m *IClient) DeleteRoute(ctx context.Context, params *apigatewayv2.DeleteRouteInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteRouteOutput, error)

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

func (*IClient) DeleteRouteRequestParameter

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

func (*IClient) DeleteRouteResponse

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

func (*IClient) DeleteRouteSettings

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

func (*IClient) DeleteStage

func (_m *IClient) DeleteStage(ctx context.Context, params *apigatewayv2.DeleteStageInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteStageOutput, error)

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

func (_m *IClient) DeleteVpcLink(ctx context.Context, params *apigatewayv2.DeleteVpcLinkInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteVpcLinkOutput, error)

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

func (*IClient) ExportApi

func (_m *IClient) ExportApi(ctx context.Context, params *apigatewayv2.ExportApiInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.ExportApiOutput, error)

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

func (*IClient) GetApi

func (_m *IClient) GetApi(ctx context.Context, params *apigatewayv2.GetApiInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetApiOutput, error)

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

func (*IClient) GetApiMapping

func (_m *IClient) GetApiMapping(ctx context.Context, params *apigatewayv2.GetApiMappingInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetApiMappingOutput, error)

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

func (*IClient) GetApiMappings

func (_m *IClient) GetApiMappings(ctx context.Context, params *apigatewayv2.GetApiMappingsInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetApiMappingsOutput, error)

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

func (*IClient) GetApis

func (_m *IClient) GetApis(ctx context.Context, params *apigatewayv2.GetApisInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetApisOutput, error)

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

func (*IClient) GetAuthorizer

func (_m *IClient) GetAuthorizer(ctx context.Context, params *apigatewayv2.GetAuthorizerInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetAuthorizerOutput, error)

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

func (*IClient) GetAuthorizers

func (_m *IClient) GetAuthorizers(ctx context.Context, params *apigatewayv2.GetAuthorizersInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetAuthorizersOutput, error)

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

func (*IClient) GetDeployment

func (_m *IClient) GetDeployment(ctx context.Context, params *apigatewayv2.GetDeploymentInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetDeploymentOutput, error)

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

func (*IClient) GetDeployments

func (_m *IClient) GetDeployments(ctx context.Context, params *apigatewayv2.GetDeploymentsInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetDeploymentsOutput, error)

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

func (*IClient) GetDomainName

func (_m *IClient) GetDomainName(ctx context.Context, params *apigatewayv2.GetDomainNameInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetDomainNameOutput, error)

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

func (*IClient) GetDomainNames

func (_m *IClient) GetDomainNames(ctx context.Context, params *apigatewayv2.GetDomainNamesInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetDomainNamesOutput, error)

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

func (*IClient) GetIntegration

func (_m *IClient) GetIntegration(ctx context.Context, params *apigatewayv2.GetIntegrationInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetIntegrationOutput, error)

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

func (*IClient) GetIntegrationResponse

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

func (*IClient) GetIntegrationResponses

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

func (*IClient) GetIntegrations

func (_m *IClient) GetIntegrations(ctx context.Context, params *apigatewayv2.GetIntegrationsInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetIntegrationsOutput, error)

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

func (*IClient) GetModel

func (_m *IClient) GetModel(ctx context.Context, params *apigatewayv2.GetModelInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetModelOutput, error)

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

func (*IClient) GetModelTemplate

func (_m *IClient) GetModelTemplate(ctx context.Context, params *apigatewayv2.GetModelTemplateInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetModelTemplateOutput, error)

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

func (*IClient) GetModels

func (_m *IClient) GetModels(ctx context.Context, params *apigatewayv2.GetModelsInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetModelsOutput, error)

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

func (*IClient) GetRoute

func (_m *IClient) GetRoute(ctx context.Context, params *apigatewayv2.GetRouteInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetRouteOutput, error)

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

func (*IClient) GetRouteResponse

func (_m *IClient) GetRouteResponse(ctx context.Context, params *apigatewayv2.GetRouteResponseInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetRouteResponseOutput, error)

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

func (*IClient) GetRouteResponses

func (_m *IClient) GetRouteResponses(ctx context.Context, params *apigatewayv2.GetRouteResponsesInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetRouteResponsesOutput, error)

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

func (*IClient) GetRoutes

func (_m *IClient) GetRoutes(ctx context.Context, params *apigatewayv2.GetRoutesInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetRoutesOutput, error)

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

func (*IClient) GetStage

func (_m *IClient) GetStage(ctx context.Context, params *apigatewayv2.GetStageInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetStageOutput, error)

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

func (*IClient) GetStages

func (_m *IClient) GetStages(ctx context.Context, params *apigatewayv2.GetStagesInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetStagesOutput, error)

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

func (*IClient) GetTags

func (_m *IClient) GetTags(ctx context.Context, params *apigatewayv2.GetTagsInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetTagsOutput, error)

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

func (_m *IClient) GetVpcLink(ctx context.Context, params *apigatewayv2.GetVpcLinkInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetVpcLinkOutput, error)

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

func (_m *IClient) GetVpcLinks(ctx context.Context, params *apigatewayv2.GetVpcLinksInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetVpcLinksOutput, error)

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

func (*IClient) ImportApi

func (_m *IClient) ImportApi(ctx context.Context, params *apigatewayv2.ImportApiInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.ImportApiOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) ReimportApi

func (_m *IClient) ReimportApi(ctx context.Context, params *apigatewayv2.ReimportApiInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.ReimportApiOutput, error)

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

func (*IClient) ResetAuthorizersCache

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateApi

func (_m *IClient) UpdateApi(ctx context.Context, params *apigatewayv2.UpdateApiInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateApiOutput, error)

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

func (*IClient) UpdateApiMapping

func (_m *IClient) UpdateApiMapping(ctx context.Context, params *apigatewayv2.UpdateApiMappingInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateApiMappingOutput, error)

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

func (*IClient) UpdateAuthorizer

func (_m *IClient) UpdateAuthorizer(ctx context.Context, params *apigatewayv2.UpdateAuthorizerInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateAuthorizerOutput, error)

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

func (*IClient) UpdateDeployment

func (_m *IClient) UpdateDeployment(ctx context.Context, params *apigatewayv2.UpdateDeploymentInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateDeploymentOutput, error)

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

func (*IClient) UpdateDomainName

func (_m *IClient) UpdateDomainName(ctx context.Context, params *apigatewayv2.UpdateDomainNameInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateDomainNameOutput, error)

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

func (*IClient) UpdateIntegration

func (_m *IClient) UpdateIntegration(ctx context.Context, params *apigatewayv2.UpdateIntegrationInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateIntegrationOutput, error)

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

func (*IClient) UpdateIntegrationResponse

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

func (*IClient) UpdateModel

func (_m *IClient) UpdateModel(ctx context.Context, params *apigatewayv2.UpdateModelInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateModelOutput, error)

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

func (*IClient) UpdateRoute

func (_m *IClient) UpdateRoute(ctx context.Context, params *apigatewayv2.UpdateRouteInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateRouteOutput, error)

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

func (*IClient) UpdateRouteResponse

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

func (*IClient) UpdateStage

func (_m *IClient) UpdateStage(ctx context.Context, params *apigatewayv2.UpdateStageInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateStageOutput, error)

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

func (_m *IClient) UpdateVpcLink(ctx context.Context, params *apigatewayv2.UpdateVpcLinkInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.UpdateVpcLinkOutput, error)

UpdateVpcLink 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