mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 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) ActivateEventSource

func (_m *IClient) ActivateEventSource(ctx context.Context, params *eventbridge.ActivateEventSourceInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ActivateEventSourceOutput, error)

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

func (*IClient) CancelReplay

func (_m *IClient) CancelReplay(ctx context.Context, params *eventbridge.CancelReplayInput, optFns ...func(*eventbridge.Options)) (*eventbridge.CancelReplayOutput, error)

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

func (*IClient) CreateApiDestination

func (_m *IClient) CreateApiDestination(ctx context.Context, params *eventbridge.CreateApiDestinationInput, optFns ...func(*eventbridge.Options)) (*eventbridge.CreateApiDestinationOutput, error)

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

func (*IClient) CreateArchive

func (_m *IClient) CreateArchive(ctx context.Context, params *eventbridge.CreateArchiveInput, optFns ...func(*eventbridge.Options)) (*eventbridge.CreateArchiveOutput, error)

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

func (*IClient) CreateConnection

func (_m *IClient) CreateConnection(ctx context.Context, params *eventbridge.CreateConnectionInput, optFns ...func(*eventbridge.Options)) (*eventbridge.CreateConnectionOutput, error)

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

func (*IClient) CreateEndpoint

func (_m *IClient) CreateEndpoint(ctx context.Context, params *eventbridge.CreateEndpointInput, optFns ...func(*eventbridge.Options)) (*eventbridge.CreateEndpointOutput, error)

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

func (*IClient) CreateEventBus

func (_m *IClient) CreateEventBus(ctx context.Context, params *eventbridge.CreateEventBusInput, optFns ...func(*eventbridge.Options)) (*eventbridge.CreateEventBusOutput, error)

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

func (*IClient) CreatePartnerEventSource

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

func (*IClient) DeactivateEventSource

func (_m *IClient) DeactivateEventSource(ctx context.Context, params *eventbridge.DeactivateEventSourceInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeactivateEventSourceOutput, error)

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

func (*IClient) DeauthorizeConnection

func (_m *IClient) DeauthorizeConnection(ctx context.Context, params *eventbridge.DeauthorizeConnectionInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeauthorizeConnectionOutput, error)

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

func (*IClient) DeleteApiDestination

func (_m *IClient) DeleteApiDestination(ctx context.Context, params *eventbridge.DeleteApiDestinationInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeleteApiDestinationOutput, error)

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

func (*IClient) DeleteArchive

func (_m *IClient) DeleteArchive(ctx context.Context, params *eventbridge.DeleteArchiveInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeleteArchiveOutput, error)

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

func (*IClient) DeleteConnection

func (_m *IClient) DeleteConnection(ctx context.Context, params *eventbridge.DeleteConnectionInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeleteConnectionOutput, error)

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

func (*IClient) DeleteEndpoint

func (_m *IClient) DeleteEndpoint(ctx context.Context, params *eventbridge.DeleteEndpointInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeleteEndpointOutput, error)

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

func (*IClient) DeleteEventBus

func (_m *IClient) DeleteEventBus(ctx context.Context, params *eventbridge.DeleteEventBusInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeleteEventBusOutput, error)

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

func (*IClient) DeletePartnerEventSource

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

func (*IClient) DeleteRule

func (_m *IClient) DeleteRule(ctx context.Context, params *eventbridge.DeleteRuleInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeleteRuleOutput, error)

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

func (*IClient) DescribeApiDestination

func (_m *IClient) DescribeApiDestination(ctx context.Context, params *eventbridge.DescribeApiDestinationInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DescribeApiDestinationOutput, error)

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

func (*IClient) DescribeArchive

func (_m *IClient) DescribeArchive(ctx context.Context, params *eventbridge.DescribeArchiveInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DescribeArchiveOutput, error)

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

func (*IClient) DescribeConnection

func (_m *IClient) DescribeConnection(ctx context.Context, params *eventbridge.DescribeConnectionInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DescribeConnectionOutput, error)

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

func (*IClient) DescribeEndpoint

func (_m *IClient) DescribeEndpoint(ctx context.Context, params *eventbridge.DescribeEndpointInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DescribeEndpointOutput, error)

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

func (*IClient) DescribeEventBus

func (_m *IClient) DescribeEventBus(ctx context.Context, params *eventbridge.DescribeEventBusInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DescribeEventBusOutput, error)

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

func (*IClient) DescribeEventSource

func (_m *IClient) DescribeEventSource(ctx context.Context, params *eventbridge.DescribeEventSourceInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DescribeEventSourceOutput, error)

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

func (*IClient) DescribePartnerEventSource

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

func (*IClient) DescribeReplay

func (_m *IClient) DescribeReplay(ctx context.Context, params *eventbridge.DescribeReplayInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DescribeReplayOutput, error)

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

func (*IClient) DescribeRule

func (_m *IClient) DescribeRule(ctx context.Context, params *eventbridge.DescribeRuleInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DescribeRuleOutput, error)

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

func (*IClient) DisableRule

func (_m *IClient) DisableRule(ctx context.Context, params *eventbridge.DisableRuleInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DisableRuleOutput, error)

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

func (*IClient) EnableRule

func (_m *IClient) EnableRule(ctx context.Context, params *eventbridge.EnableRuleInput, optFns ...func(*eventbridge.Options)) (*eventbridge.EnableRuleOutput, error)

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

func (*IClient) ListApiDestinations

func (_m *IClient) ListApiDestinations(ctx context.Context, params *eventbridge.ListApiDestinationsInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListApiDestinationsOutput, error)

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

func (*IClient) ListArchives

func (_m *IClient) ListArchives(ctx context.Context, params *eventbridge.ListArchivesInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListArchivesOutput, error)

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

func (*IClient) ListConnections

func (_m *IClient) ListConnections(ctx context.Context, params *eventbridge.ListConnectionsInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListConnectionsOutput, error)

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

func (*IClient) ListEndpoints

func (_m *IClient) ListEndpoints(ctx context.Context, params *eventbridge.ListEndpointsInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListEndpointsOutput, error)

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

func (*IClient) ListEventBuses

func (_m *IClient) ListEventBuses(ctx context.Context, params *eventbridge.ListEventBusesInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListEventBusesOutput, error)

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

func (*IClient) ListEventSources

func (_m *IClient) ListEventSources(ctx context.Context, params *eventbridge.ListEventSourcesInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListEventSourcesOutput, error)

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

func (*IClient) ListPartnerEventSourceAccounts

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

func (*IClient) ListPartnerEventSources

func (_m *IClient) ListPartnerEventSources(ctx context.Context, params *eventbridge.ListPartnerEventSourcesInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListPartnerEventSourcesOutput, error)

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

func (*IClient) ListReplays

func (_m *IClient) ListReplays(ctx context.Context, params *eventbridge.ListReplaysInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListReplaysOutput, error)

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

func (*IClient) ListRuleNamesByTarget

func (_m *IClient) ListRuleNamesByTarget(ctx context.Context, params *eventbridge.ListRuleNamesByTargetInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListRuleNamesByTargetOutput, error)

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

func (*IClient) ListRules

func (_m *IClient) ListRules(ctx context.Context, params *eventbridge.ListRulesInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListRulesOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListTargetsByRule

func (_m *IClient) ListTargetsByRule(ctx context.Context, params *eventbridge.ListTargetsByRuleInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListTargetsByRuleOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutEvents

func (_m *IClient) PutEvents(ctx context.Context, params *eventbridge.PutEventsInput, optFns ...func(*eventbridge.Options)) (*eventbridge.PutEventsOutput, error)

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

func (*IClient) PutPartnerEvents

func (_m *IClient) PutPartnerEvents(ctx context.Context, params *eventbridge.PutPartnerEventsInput, optFns ...func(*eventbridge.Options)) (*eventbridge.PutPartnerEventsOutput, error)

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

func (*IClient) PutPermission

func (_m *IClient) PutPermission(ctx context.Context, params *eventbridge.PutPermissionInput, optFns ...func(*eventbridge.Options)) (*eventbridge.PutPermissionOutput, error)

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

func (*IClient) PutRule

func (_m *IClient) PutRule(ctx context.Context, params *eventbridge.PutRuleInput, optFns ...func(*eventbridge.Options)) (*eventbridge.PutRuleOutput, error)

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

func (*IClient) PutTargets

func (_m *IClient) PutTargets(ctx context.Context, params *eventbridge.PutTargetsInput, optFns ...func(*eventbridge.Options)) (*eventbridge.PutTargetsOutput, error)

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

func (*IClient) RemovePermission

func (_m *IClient) RemovePermission(ctx context.Context, params *eventbridge.RemovePermissionInput, optFns ...func(*eventbridge.Options)) (*eventbridge.RemovePermissionOutput, error)

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

func (*IClient) RemoveTargets

func (_m *IClient) RemoveTargets(ctx context.Context, params *eventbridge.RemoveTargetsInput, optFns ...func(*eventbridge.Options)) (*eventbridge.RemoveTargetsOutput, error)

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

func (*IClient) StartReplay

func (_m *IClient) StartReplay(ctx context.Context, params *eventbridge.StartReplayInput, optFns ...func(*eventbridge.Options)) (*eventbridge.StartReplayOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) TestEventPattern

func (_m *IClient) TestEventPattern(ctx context.Context, params *eventbridge.TestEventPatternInput, optFns ...func(*eventbridge.Options)) (*eventbridge.TestEventPatternOutput, error)

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateApiDestination

func (_m *IClient) UpdateApiDestination(ctx context.Context, params *eventbridge.UpdateApiDestinationInput, optFns ...func(*eventbridge.Options)) (*eventbridge.UpdateApiDestinationOutput, error)

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

func (*IClient) UpdateArchive

func (_m *IClient) UpdateArchive(ctx context.Context, params *eventbridge.UpdateArchiveInput, optFns ...func(*eventbridge.Options)) (*eventbridge.UpdateArchiveOutput, error)

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

func (*IClient) UpdateConnection

func (_m *IClient) UpdateConnection(ctx context.Context, params *eventbridge.UpdateConnectionInput, optFns ...func(*eventbridge.Options)) (*eventbridge.UpdateConnectionOutput, error)

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

func (*IClient) UpdateEndpoint

func (_m *IClient) UpdateEndpoint(ctx context.Context, params *eventbridge.UpdateEndpointInput, optFns ...func(*eventbridge.Options)) (*eventbridge.UpdateEndpointOutput, error)

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

func (*IClient) UpdateEventBus

func (_m *IClient) UpdateEventBus(ctx context.Context, params *eventbridge.UpdateEventBusInput, optFns ...func(*eventbridge.Options)) (*eventbridge.UpdateEventBusOutput, error)

UpdateEventBus 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