mocks

package
v0.1.1 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) AssociateApi

func (_m *IClient) AssociateApi(ctx context.Context, params *appsync.AssociateApiInput, optFns ...func(*appsync.Options)) (*appsync.AssociateApiOutput, error)

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

func (*IClient) AssociateMergedGraphqlApi

func (_m *IClient) AssociateMergedGraphqlApi(ctx context.Context, params *appsync.AssociateMergedGraphqlApiInput, optFns ...func(*appsync.Options)) (*appsync.AssociateMergedGraphqlApiOutput, error)

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

func (*IClient) AssociateSourceGraphqlApi

func (_m *IClient) AssociateSourceGraphqlApi(ctx context.Context, params *appsync.AssociateSourceGraphqlApiInput, optFns ...func(*appsync.Options)) (*appsync.AssociateSourceGraphqlApiOutput, error)

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

func (*IClient) CreateApi added in v0.1.0

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

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

func (*IClient) CreateApiCache

func (_m *IClient) CreateApiCache(ctx context.Context, params *appsync.CreateApiCacheInput, optFns ...func(*appsync.Options)) (*appsync.CreateApiCacheOutput, error)

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

func (*IClient) CreateApiKey

func (_m *IClient) CreateApiKey(ctx context.Context, params *appsync.CreateApiKeyInput, optFns ...func(*appsync.Options)) (*appsync.CreateApiKeyOutput, error)

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

func (*IClient) CreateChannelNamespace added in v0.1.0

func (_m *IClient) CreateChannelNamespace(ctx context.Context, params *appsync.CreateChannelNamespaceInput, optFns ...func(*appsync.Options)) (*appsync.CreateChannelNamespaceOutput, error)

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

func (*IClient) CreateDataSource

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

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

func (*IClient) CreateDomainName

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

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

func (*IClient) CreateFunction

func (_m *IClient) CreateFunction(ctx context.Context, params *appsync.CreateFunctionInput, optFns ...func(*appsync.Options)) (*appsync.CreateFunctionOutput, error)

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

func (*IClient) CreateGraphqlApi

func (_m *IClient) CreateGraphqlApi(ctx context.Context, params *appsync.CreateGraphqlApiInput, optFns ...func(*appsync.Options)) (*appsync.CreateGraphqlApiOutput, error)

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

func (*IClient) CreateResolver

func (_m *IClient) CreateResolver(ctx context.Context, params *appsync.CreateResolverInput, optFns ...func(*appsync.Options)) (*appsync.CreateResolverOutput, error)

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

func (*IClient) CreateType

func (_m *IClient) CreateType(ctx context.Context, params *appsync.CreateTypeInput, optFns ...func(*appsync.Options)) (*appsync.CreateTypeOutput, error)

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

func (*IClient) DeleteApi added in v0.1.0

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

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

func (*IClient) DeleteApiCache

func (_m *IClient) DeleteApiCache(ctx context.Context, params *appsync.DeleteApiCacheInput, optFns ...func(*appsync.Options)) (*appsync.DeleteApiCacheOutput, error)

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

func (*IClient) DeleteApiKey

func (_m *IClient) DeleteApiKey(ctx context.Context, params *appsync.DeleteApiKeyInput, optFns ...func(*appsync.Options)) (*appsync.DeleteApiKeyOutput, error)

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

func (*IClient) DeleteChannelNamespace added in v0.1.0

func (_m *IClient) DeleteChannelNamespace(ctx context.Context, params *appsync.DeleteChannelNamespaceInput, optFns ...func(*appsync.Options)) (*appsync.DeleteChannelNamespaceOutput, error)

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

func (*IClient) DeleteDataSource

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

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

func (*IClient) DeleteDomainName

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

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

func (*IClient) DeleteFunction

func (_m *IClient) DeleteFunction(ctx context.Context, params *appsync.DeleteFunctionInput, optFns ...func(*appsync.Options)) (*appsync.DeleteFunctionOutput, error)

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

func (*IClient) DeleteGraphqlApi

func (_m *IClient) DeleteGraphqlApi(ctx context.Context, params *appsync.DeleteGraphqlApiInput, optFns ...func(*appsync.Options)) (*appsync.DeleteGraphqlApiOutput, error)

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

func (*IClient) DeleteResolver

func (_m *IClient) DeleteResolver(ctx context.Context, params *appsync.DeleteResolverInput, optFns ...func(*appsync.Options)) (*appsync.DeleteResolverOutput, error)

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

func (*IClient) DeleteType

func (_m *IClient) DeleteType(ctx context.Context, params *appsync.DeleteTypeInput, optFns ...func(*appsync.Options)) (*appsync.DeleteTypeOutput, error)

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

func (*IClient) DisassociateApi

func (_m *IClient) DisassociateApi(ctx context.Context, params *appsync.DisassociateApiInput, optFns ...func(*appsync.Options)) (*appsync.DisassociateApiOutput, error)

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

func (*IClient) DisassociateMergedGraphqlApi

func (_m *IClient) DisassociateMergedGraphqlApi(ctx context.Context, params *appsync.DisassociateMergedGraphqlApiInput, optFns ...func(*appsync.Options)) (*appsync.DisassociateMergedGraphqlApiOutput, error)

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

func (*IClient) DisassociateSourceGraphqlApi

func (_m *IClient) DisassociateSourceGraphqlApi(ctx context.Context, params *appsync.DisassociateSourceGraphqlApiInput, optFns ...func(*appsync.Options)) (*appsync.DisassociateSourceGraphqlApiOutput, error)

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

func (*IClient) EvaluateCode

func (_m *IClient) EvaluateCode(ctx context.Context, params *appsync.EvaluateCodeInput, optFns ...func(*appsync.Options)) (*appsync.EvaluateCodeOutput, error)

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

func (*IClient) EvaluateMappingTemplate

func (_m *IClient) EvaluateMappingTemplate(ctx context.Context, params *appsync.EvaluateMappingTemplateInput, optFns ...func(*appsync.Options)) (*appsync.EvaluateMappingTemplateOutput, error)

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

func (*IClient) FlushApiCache

func (_m *IClient) FlushApiCache(ctx context.Context, params *appsync.FlushApiCacheInput, optFns ...func(*appsync.Options)) (*appsync.FlushApiCacheOutput, error)

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

func (*IClient) GetApi added in v0.1.0

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

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

func (*IClient) GetApiAssociation

func (_m *IClient) GetApiAssociation(ctx context.Context, params *appsync.GetApiAssociationInput, optFns ...func(*appsync.Options)) (*appsync.GetApiAssociationOutput, error)

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

func (*IClient) GetApiCache

func (_m *IClient) GetApiCache(ctx context.Context, params *appsync.GetApiCacheInput, optFns ...func(*appsync.Options)) (*appsync.GetApiCacheOutput, error)

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

func (*IClient) GetChannelNamespace added in v0.1.0

func (_m *IClient) GetChannelNamespace(ctx context.Context, params *appsync.GetChannelNamespaceInput, optFns ...func(*appsync.Options)) (*appsync.GetChannelNamespaceOutput, error)

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

func (*IClient) GetDataSource

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

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

func (*IClient) GetDataSourceIntrospection

func (_m *IClient) GetDataSourceIntrospection(ctx context.Context, params *appsync.GetDataSourceIntrospectionInput, optFns ...func(*appsync.Options)) (*appsync.GetDataSourceIntrospectionOutput, error)

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

func (*IClient) GetDomainName

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

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

func (*IClient) GetFunction

func (_m *IClient) GetFunction(ctx context.Context, params *appsync.GetFunctionInput, optFns ...func(*appsync.Options)) (*appsync.GetFunctionOutput, error)

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

func (*IClient) GetGraphqlApi

func (_m *IClient) GetGraphqlApi(ctx context.Context, params *appsync.GetGraphqlApiInput, optFns ...func(*appsync.Options)) (*appsync.GetGraphqlApiOutput, error)

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

func (*IClient) GetGraphqlApiEnvironmentVariables

func (_m *IClient) GetGraphqlApiEnvironmentVariables(ctx context.Context, params *appsync.GetGraphqlApiEnvironmentVariablesInput, optFns ...func(*appsync.Options)) (*appsync.GetGraphqlApiEnvironmentVariablesOutput, error)

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

func (*IClient) GetIntrospectionSchema

func (_m *IClient) GetIntrospectionSchema(ctx context.Context, params *appsync.GetIntrospectionSchemaInput, optFns ...func(*appsync.Options)) (*appsync.GetIntrospectionSchemaOutput, error)

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

func (*IClient) GetResolver

func (_m *IClient) GetResolver(ctx context.Context, params *appsync.GetResolverInput, optFns ...func(*appsync.Options)) (*appsync.GetResolverOutput, error)

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

func (*IClient) GetSchemaCreationStatus

func (_m *IClient) GetSchemaCreationStatus(ctx context.Context, params *appsync.GetSchemaCreationStatusInput, optFns ...func(*appsync.Options)) (*appsync.GetSchemaCreationStatusOutput, error)

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

func (*IClient) GetSourceApiAssociation

func (_m *IClient) GetSourceApiAssociation(ctx context.Context, params *appsync.GetSourceApiAssociationInput, optFns ...func(*appsync.Options)) (*appsync.GetSourceApiAssociationOutput, error)

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

func (*IClient) GetType

func (_m *IClient) GetType(ctx context.Context, params *appsync.GetTypeInput, optFns ...func(*appsync.Options)) (*appsync.GetTypeOutput, error)

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

func (*IClient) ListApiKeys

func (_m *IClient) ListApiKeys(ctx context.Context, params *appsync.ListApiKeysInput, optFns ...func(*appsync.Options)) (*appsync.ListApiKeysOutput, error)

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

func (*IClient) ListApis added in v0.1.0

func (_m *IClient) ListApis(ctx context.Context, params *appsync.ListApisInput, optFns ...func(*appsync.Options)) (*appsync.ListApisOutput, error)

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

func (*IClient) ListChannelNamespaces added in v0.1.0

func (_m *IClient) ListChannelNamespaces(ctx context.Context, params *appsync.ListChannelNamespacesInput, optFns ...func(*appsync.Options)) (*appsync.ListChannelNamespacesOutput, error)

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

func (*IClient) ListDataSources

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

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

func (*IClient) ListDomainNames

func (_m *IClient) ListDomainNames(ctx context.Context, params *appsync.ListDomainNamesInput, optFns ...func(*appsync.Options)) (*appsync.ListDomainNamesOutput, error)

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

func (*IClient) ListFunctions

func (_m *IClient) ListFunctions(ctx context.Context, params *appsync.ListFunctionsInput, optFns ...func(*appsync.Options)) (*appsync.ListFunctionsOutput, error)

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

func (*IClient) ListGraphqlApis

func (_m *IClient) ListGraphqlApis(ctx context.Context, params *appsync.ListGraphqlApisInput, optFns ...func(*appsync.Options)) (*appsync.ListGraphqlApisOutput, error)

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

func (*IClient) ListResolvers

func (_m *IClient) ListResolvers(ctx context.Context, params *appsync.ListResolversInput, optFns ...func(*appsync.Options)) (*appsync.ListResolversOutput, error)

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

func (*IClient) ListResolversByFunction

func (_m *IClient) ListResolversByFunction(ctx context.Context, params *appsync.ListResolversByFunctionInput, optFns ...func(*appsync.Options)) (*appsync.ListResolversByFunctionOutput, error)

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

func (*IClient) ListSourceApiAssociations

func (_m *IClient) ListSourceApiAssociations(ctx context.Context, params *appsync.ListSourceApiAssociationsInput, optFns ...func(*appsync.Options)) (*appsync.ListSourceApiAssociationsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListTypes

func (_m *IClient) ListTypes(ctx context.Context, params *appsync.ListTypesInput, optFns ...func(*appsync.Options)) (*appsync.ListTypesOutput, error)

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

func (*IClient) ListTypesByAssociation

func (_m *IClient) ListTypesByAssociation(ctx context.Context, params *appsync.ListTypesByAssociationInput, optFns ...func(*appsync.Options)) (*appsync.ListTypesByAssociationOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutGraphqlApiEnvironmentVariables

func (_m *IClient) PutGraphqlApiEnvironmentVariables(ctx context.Context, params *appsync.PutGraphqlApiEnvironmentVariablesInput, optFns ...func(*appsync.Options)) (*appsync.PutGraphqlApiEnvironmentVariablesOutput, error)

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

func (*IClient) StartDataSourceIntrospection

func (_m *IClient) StartDataSourceIntrospection(ctx context.Context, params *appsync.StartDataSourceIntrospectionInput, optFns ...func(*appsync.Options)) (*appsync.StartDataSourceIntrospectionOutput, error)

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

func (*IClient) StartSchemaCreation

func (_m *IClient) StartSchemaCreation(ctx context.Context, params *appsync.StartSchemaCreationInput, optFns ...func(*appsync.Options)) (*appsync.StartSchemaCreationOutput, error)

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

func (*IClient) StartSchemaMerge

func (_m *IClient) StartSchemaMerge(ctx context.Context, params *appsync.StartSchemaMergeInput, optFns ...func(*appsync.Options)) (*appsync.StartSchemaMergeOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateApi added in v0.1.0

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

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

func (*IClient) UpdateApiCache

func (_m *IClient) UpdateApiCache(ctx context.Context, params *appsync.UpdateApiCacheInput, optFns ...func(*appsync.Options)) (*appsync.UpdateApiCacheOutput, error)

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

func (*IClient) UpdateApiKey

func (_m *IClient) UpdateApiKey(ctx context.Context, params *appsync.UpdateApiKeyInput, optFns ...func(*appsync.Options)) (*appsync.UpdateApiKeyOutput, error)

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

func (*IClient) UpdateChannelNamespace added in v0.1.0

func (_m *IClient) UpdateChannelNamespace(ctx context.Context, params *appsync.UpdateChannelNamespaceInput, optFns ...func(*appsync.Options)) (*appsync.UpdateChannelNamespaceOutput, error)

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

func (*IClient) UpdateDataSource

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

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

func (*IClient) UpdateDomainName

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

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

func (*IClient) UpdateFunction

func (_m *IClient) UpdateFunction(ctx context.Context, params *appsync.UpdateFunctionInput, optFns ...func(*appsync.Options)) (*appsync.UpdateFunctionOutput, error)

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

func (*IClient) UpdateGraphqlApi

func (_m *IClient) UpdateGraphqlApi(ctx context.Context, params *appsync.UpdateGraphqlApiInput, optFns ...func(*appsync.Options)) (*appsync.UpdateGraphqlApiOutput, error)

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

func (*IClient) UpdateResolver

func (_m *IClient) UpdateResolver(ctx context.Context, params *appsync.UpdateResolverInput, optFns ...func(*appsync.Options)) (*appsync.UpdateResolverOutput, error)

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

func (*IClient) UpdateSourceApiAssociation

func (_m *IClient) UpdateSourceApiAssociation(ctx context.Context, params *appsync.UpdateSourceApiAssociationInput, optFns ...func(*appsync.Options)) (*appsync.UpdateSourceApiAssociationOutput, error)

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

func (*IClient) UpdateType

func (_m *IClient) UpdateType(ctx context.Context, params *appsync.UpdateTypeInput, optFns ...func(*appsync.Options)) (*appsync.UpdateTypeOutput, error)

UpdateType 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