eventbridgedouble

package
v0.0.0-...-8548fdf Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package eventbridgedouble contains test double implementation of eventbridgeiface.EventBridgeAPI

Package eventbridgedouble provides a TestDouble implementation of eventbridgeiface.EventBridgeAPI

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventBridgeDouble

type EventBridgeDouble struct {
	eventbridgeiface.EventBridgeAPI
	*awsdouble.AWSTestDouble
}

EventBridgeDouble is TestDouble for eventbridgeiface.EventBridgeAPI

func NewDouble

func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *EventBridgeDouble

Constructor for EventBridgeDouble Default configuration will ensure

  • API operations not explicitly stubbed will return an empty output struct pointer, and nil error. To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.

  • WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled before the method is called.

  • Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.

    This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the Context or Pagination forms of the API.

func (*EventBridgeDouble) ActivateEventSource

func (*EventBridgeDouble) ActivateEventSourceRequest

func (*EventBridgeDouble) ActivateEventSourceWithContext

func (*EventBridgeDouble) CreateEventBus

func (*EventBridgeDouble) CreateEventBusRequest

func (*EventBridgeDouble) CreateEventBusWithContext

func (*EventBridgeDouble) DeactivateEventSource

func (*EventBridgeDouble) DeactivateEventSourceRequest

func (*EventBridgeDouble) DeactivateEventSourceWithContext

func (*EventBridgeDouble) DeleteEventBus

func (*EventBridgeDouble) DeleteEventBusRequest

func (*EventBridgeDouble) DeleteEventBusWithContext

func (*EventBridgeDouble) DeleteRule

func (*EventBridgeDouble) DeleteRuleRequest

func (*EventBridgeDouble) DeleteRuleWithContext

func (d *EventBridgeDouble) DeleteRuleWithContext(i0 context.Context, i1 *eventbridge.DeleteRuleInput, i2 ...request.Option) (r0 *eventbridge.DeleteRuleOutput, r1 error)

func (*EventBridgeDouble) DescribeEventBus

func (*EventBridgeDouble) DescribeEventBusRequest

func (*EventBridgeDouble) DescribeEventBusWithContext

func (*EventBridgeDouble) DescribeEventSource

func (*EventBridgeDouble) DescribeEventSourceRequest

func (*EventBridgeDouble) DescribeEventSourceWithContext

func (*EventBridgeDouble) DescribeRule

func (*EventBridgeDouble) DescribeRuleRequest

func (*EventBridgeDouble) DescribeRuleWithContext

func (d *EventBridgeDouble) DescribeRuleWithContext(i0 context.Context, i1 *eventbridge.DescribeRuleInput, i2 ...request.Option) (r0 *eventbridge.DescribeRuleOutput, r1 error)

func (*EventBridgeDouble) DisableRule

func (*EventBridgeDouble) DisableRuleRequest

func (*EventBridgeDouble) DisableRuleWithContext

func (d *EventBridgeDouble) DisableRuleWithContext(i0 context.Context, i1 *eventbridge.DisableRuleInput, i2 ...request.Option) (r0 *eventbridge.DisableRuleOutput, r1 error)

func (*EventBridgeDouble) EnableRule

func (*EventBridgeDouble) EnableRuleRequest

func (*EventBridgeDouble) EnableRuleWithContext

func (d *EventBridgeDouble) EnableRuleWithContext(i0 context.Context, i1 *eventbridge.EnableRuleInput, i2 ...request.Option) (r0 *eventbridge.EnableRuleOutput, r1 error)

func (*EventBridgeDouble) ListEventBuses

func (*EventBridgeDouble) ListEventBusesRequest

func (*EventBridgeDouble) ListEventBusesWithContext

func (*EventBridgeDouble) ListEventSources

func (*EventBridgeDouble) ListEventSourcesRequest

func (*EventBridgeDouble) ListEventSourcesWithContext

func (*EventBridgeDouble) ListPartnerEventSources

func (*EventBridgeDouble) ListPartnerEventSourcesWithContext

func (*EventBridgeDouble) ListRuleNamesByTarget

func (*EventBridgeDouble) ListRuleNamesByTargetRequest

func (*EventBridgeDouble) ListRuleNamesByTargetWithContext

func (*EventBridgeDouble) ListRules

func (*EventBridgeDouble) ListRulesRequest

func (*EventBridgeDouble) ListRulesWithContext

func (d *EventBridgeDouble) ListRulesWithContext(i0 context.Context, i1 *eventbridge.ListRulesInput, i2 ...request.Option) (r0 *eventbridge.ListRulesOutput, r1 error)

func (*EventBridgeDouble) ListTagsForResource

func (*EventBridgeDouble) ListTagsForResourceRequest

func (*EventBridgeDouble) ListTagsForResourceWithContext

func (*EventBridgeDouble) ListTargetsByRule

func (*EventBridgeDouble) ListTargetsByRuleRequest

func (*EventBridgeDouble) ListTargetsByRuleWithContext

func (*EventBridgeDouble) PutEvents

func (*EventBridgeDouble) PutEventsRequest

func (*EventBridgeDouble) PutEventsWithContext

func (d *EventBridgeDouble) PutEventsWithContext(i0 context.Context, i1 *eventbridge.PutEventsInput, i2 ...request.Option) (r0 *eventbridge.PutEventsOutput, r1 error)

func (*EventBridgeDouble) PutPartnerEvents

func (*EventBridgeDouble) PutPartnerEventsRequest

func (*EventBridgeDouble) PutPartnerEventsWithContext

func (*EventBridgeDouble) PutPermission

func (*EventBridgeDouble) PutPermissionRequest

func (*EventBridgeDouble) PutPermissionWithContext

func (d *EventBridgeDouble) PutPermissionWithContext(i0 context.Context, i1 *eventbridge.PutPermissionInput, i2 ...request.Option) (r0 *eventbridge.PutPermissionOutput, r1 error)

func (*EventBridgeDouble) PutRule

func (*EventBridgeDouble) PutRuleRequest

func (*EventBridgeDouble) PutRuleWithContext

func (d *EventBridgeDouble) PutRuleWithContext(i0 context.Context, i1 *eventbridge.PutRuleInput, i2 ...request.Option) (r0 *eventbridge.PutRuleOutput, r1 error)

func (*EventBridgeDouble) PutTargets

func (*EventBridgeDouble) PutTargetsRequest

func (*EventBridgeDouble) PutTargetsWithContext

func (d *EventBridgeDouble) PutTargetsWithContext(i0 context.Context, i1 *eventbridge.PutTargetsInput, i2 ...request.Option) (r0 *eventbridge.PutTargetsOutput, r1 error)

func (*EventBridgeDouble) RemovePermission

func (*EventBridgeDouble) RemovePermissionRequest

func (*EventBridgeDouble) RemovePermissionWithContext

func (*EventBridgeDouble) RemoveTargets

func (*EventBridgeDouble) RemoveTargetsRequest

func (*EventBridgeDouble) RemoveTargetsWithContext

func (d *EventBridgeDouble) RemoveTargetsWithContext(i0 context.Context, i1 *eventbridge.RemoveTargetsInput, i2 ...request.Option) (r0 *eventbridge.RemoveTargetsOutput, r1 error)

func (*EventBridgeDouble) TagResource

func (*EventBridgeDouble) TagResourceRequest

func (*EventBridgeDouble) TagResourceWithContext

func (d *EventBridgeDouble) TagResourceWithContext(i0 context.Context, i1 *eventbridge.TagResourceInput, i2 ...request.Option) (r0 *eventbridge.TagResourceOutput, r1 error)

func (*EventBridgeDouble) TestEventPattern

func (*EventBridgeDouble) TestEventPatternRequest

func (*EventBridgeDouble) TestEventPatternWithContext

func (*EventBridgeDouble) UntagResource

func (*EventBridgeDouble) UntagResourceRequest

func (*EventBridgeDouble) UntagResourceWithContext

func (d *EventBridgeDouble) UntagResourceWithContext(i0 context.Context, i1 *eventbridge.UntagResourceInput, i2 ...request.Option) (r0 *eventbridge.UntagResourceOutput, r1 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL