healthdouble

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 healthdouble contains test double implementation of healthiface.HealthAPI

Package healthdouble provides a TestDouble implementation of healthiface.HealthAPI

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 HealthDouble

type HealthDouble struct {
	healthiface.HealthAPI
	*awsdouble.AWSTestDouble
}

HealthDouble is TestDouble for healthiface.HealthAPI

func NewDouble

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

Constructor for HealthDouble 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 (*HealthDouble) DescribeAffectedEntities

func (*HealthDouble) DescribeAffectedEntitiesPages

func (d *HealthDouble) DescribeAffectedEntitiesPages(i0 *health.DescribeAffectedEntitiesInput, i1 func(*health.DescribeAffectedEntitiesOutput, bool) bool) (r0 error)

func (*HealthDouble) DescribeAffectedEntitiesPagesWithContext

func (d *HealthDouble) DescribeAffectedEntitiesPagesWithContext(i0 context.Context, i1 *health.DescribeAffectedEntitiesInput, i2 func(*health.DescribeAffectedEntitiesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*HealthDouble) DescribeAffectedEntitiesRequest

func (d *HealthDouble) DescribeAffectedEntitiesRequest(i0 *health.DescribeAffectedEntitiesInput) (r0 *request.Request, r1 *health.DescribeAffectedEntitiesOutput)

func (*HealthDouble) DescribeAffectedEntitiesWithContext

func (d *HealthDouble) DescribeAffectedEntitiesWithContext(i0 context.Context, i1 *health.DescribeAffectedEntitiesInput, i2 ...request.Option) (r0 *health.DescribeAffectedEntitiesOutput, r1 error)

func (*HealthDouble) DescribeEntityAggregates

func (*HealthDouble) DescribeEntityAggregatesRequest

func (d *HealthDouble) DescribeEntityAggregatesRequest(i0 *health.DescribeEntityAggregatesInput) (r0 *request.Request, r1 *health.DescribeEntityAggregatesOutput)

func (*HealthDouble) DescribeEntityAggregatesWithContext

func (d *HealthDouble) DescribeEntityAggregatesWithContext(i0 context.Context, i1 *health.DescribeEntityAggregatesInput, i2 ...request.Option) (r0 *health.DescribeEntityAggregatesOutput, r1 error)

func (*HealthDouble) DescribeEventAggregates

func (*HealthDouble) DescribeEventAggregatesPages

func (d *HealthDouble) DescribeEventAggregatesPages(i0 *health.DescribeEventAggregatesInput, i1 func(*health.DescribeEventAggregatesOutput, bool) bool) (r0 error)

func (*HealthDouble) DescribeEventAggregatesPagesWithContext

func (d *HealthDouble) DescribeEventAggregatesPagesWithContext(i0 context.Context, i1 *health.DescribeEventAggregatesInput, i2 func(*health.DescribeEventAggregatesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*HealthDouble) DescribeEventAggregatesRequest

func (d *HealthDouble) DescribeEventAggregatesRequest(i0 *health.DescribeEventAggregatesInput) (r0 *request.Request, r1 *health.DescribeEventAggregatesOutput)

func (*HealthDouble) DescribeEventAggregatesWithContext

func (d *HealthDouble) DescribeEventAggregatesWithContext(i0 context.Context, i1 *health.DescribeEventAggregatesInput, i2 ...request.Option) (r0 *health.DescribeEventAggregatesOutput, r1 error)

func (*HealthDouble) DescribeEventDetails

func (*HealthDouble) DescribeEventDetailsRequest

func (d *HealthDouble) DescribeEventDetailsRequest(i0 *health.DescribeEventDetailsInput) (r0 *request.Request, r1 *health.DescribeEventDetailsOutput)

func (*HealthDouble) DescribeEventDetailsWithContext

func (d *HealthDouble) DescribeEventDetailsWithContext(i0 context.Context, i1 *health.DescribeEventDetailsInput, i2 ...request.Option) (r0 *health.DescribeEventDetailsOutput, r1 error)

func (*HealthDouble) DescribeEventTypes

func (d *HealthDouble) DescribeEventTypes(i0 *health.DescribeEventTypesInput) (r0 *health.DescribeEventTypesOutput, r1 error)

func (*HealthDouble) DescribeEventTypesPages

func (d *HealthDouble) DescribeEventTypesPages(i0 *health.DescribeEventTypesInput, i1 func(*health.DescribeEventTypesOutput, bool) bool) (r0 error)

func (*HealthDouble) DescribeEventTypesPagesWithContext

func (d *HealthDouble) DescribeEventTypesPagesWithContext(i0 context.Context, i1 *health.DescribeEventTypesInput, i2 func(*health.DescribeEventTypesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*HealthDouble) DescribeEventTypesRequest

func (d *HealthDouble) DescribeEventTypesRequest(i0 *health.DescribeEventTypesInput) (r0 *request.Request, r1 *health.DescribeEventTypesOutput)

func (*HealthDouble) DescribeEventTypesWithContext

func (d *HealthDouble) DescribeEventTypesWithContext(i0 context.Context, i1 *health.DescribeEventTypesInput, i2 ...request.Option) (r0 *health.DescribeEventTypesOutput, r1 error)

func (*HealthDouble) DescribeEvents

func (d *HealthDouble) DescribeEvents(i0 *health.DescribeEventsInput) (r0 *health.DescribeEventsOutput, r1 error)

func (*HealthDouble) DescribeEventsForOrganizationPages

func (d *HealthDouble) DescribeEventsForOrganizationPages(i0 *health.DescribeEventsForOrganizationInput, i1 func(*health.DescribeEventsForOrganizationOutput, bool) bool) (r0 error)

func (*HealthDouble) DescribeEventsForOrganizationPagesWithContext

func (d *HealthDouble) DescribeEventsForOrganizationPagesWithContext(i0 context.Context, i1 *health.DescribeEventsForOrganizationInput, i2 func(*health.DescribeEventsForOrganizationOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*HealthDouble) DescribeEventsPages

func (d *HealthDouble) DescribeEventsPages(i0 *health.DescribeEventsInput, i1 func(*health.DescribeEventsOutput, bool) bool) (r0 error)

func (*HealthDouble) DescribeEventsPagesWithContext

func (d *HealthDouble) DescribeEventsPagesWithContext(i0 context.Context, i1 *health.DescribeEventsInput, i2 func(*health.DescribeEventsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*HealthDouble) DescribeEventsRequest

func (d *HealthDouble) DescribeEventsRequest(i0 *health.DescribeEventsInput) (r0 *request.Request, r1 *health.DescribeEventsOutput)

func (*HealthDouble) DescribeEventsWithContext

func (d *HealthDouble) DescribeEventsWithContext(i0 context.Context, i1 *health.DescribeEventsInput, i2 ...request.Option) (r0 *health.DescribeEventsOutput, r1 error)

Jump to

Keyboard shortcuts

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