detectivedouble

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 detectivedouble contains test double implementation of detectiveiface.DetectiveAPI

Package detectivedouble provides a TestDouble implementation of detectiveiface.DetectiveAPI

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 DetectiveDouble

type DetectiveDouble struct {
	detectiveiface.DetectiveAPI
	*awsdouble.AWSTestDouble
}

DetectiveDouble is TestDouble for detectiveiface.DetectiveAPI

func NewDouble

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

Constructor for DetectiveDouble 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 (*DetectiveDouble) AcceptInvitation

func (*DetectiveDouble) AcceptInvitationRequest

func (*DetectiveDouble) AcceptInvitationWithContext

func (d *DetectiveDouble) AcceptInvitationWithContext(i0 context.Context, i1 *detective.AcceptInvitationInput, i2 ...request.Option) (r0 *detective.AcceptInvitationOutput, r1 error)

func (*DetectiveDouble) CreateGraph

func (*DetectiveDouble) CreateGraphRequest

func (*DetectiveDouble) CreateGraphWithContext

func (d *DetectiveDouble) CreateGraphWithContext(i0 context.Context, i1 *detective.CreateGraphInput, i2 ...request.Option) (r0 *detective.CreateGraphOutput, r1 error)

func (*DetectiveDouble) CreateMembers

func (*DetectiveDouble) CreateMembersRequest

func (*DetectiveDouble) CreateMembersWithContext

func (d *DetectiveDouble) CreateMembersWithContext(i0 context.Context, i1 *detective.CreateMembersInput, i2 ...request.Option) (r0 *detective.CreateMembersOutput, r1 error)

func (*DetectiveDouble) DeleteGraph

func (*DetectiveDouble) DeleteGraphRequest

func (*DetectiveDouble) DeleteGraphWithContext

func (d *DetectiveDouble) DeleteGraphWithContext(i0 context.Context, i1 *detective.DeleteGraphInput, i2 ...request.Option) (r0 *detective.DeleteGraphOutput, r1 error)

func (*DetectiveDouble) DeleteMembers

func (*DetectiveDouble) DeleteMembersRequest

func (*DetectiveDouble) DeleteMembersWithContext

func (d *DetectiveDouble) DeleteMembersWithContext(i0 context.Context, i1 *detective.DeleteMembersInput, i2 ...request.Option) (r0 *detective.DeleteMembersOutput, r1 error)

func (*DetectiveDouble) DisassociateMembership

func (*DetectiveDouble) DisassociateMembershipRequest

func (*DetectiveDouble) DisassociateMembershipWithContext

func (d *DetectiveDouble) DisassociateMembershipWithContext(i0 context.Context, i1 *detective.DisassociateMembershipInput, i2 ...request.Option) (r0 *detective.DisassociateMembershipOutput, r1 error)

func (*DetectiveDouble) GetMembers

func (*DetectiveDouble) GetMembersRequest

func (d *DetectiveDouble) GetMembersRequest(i0 *detective.GetMembersInput) (r0 *request.Request, r1 *detective.GetMembersOutput)

func (*DetectiveDouble) GetMembersWithContext

func (d *DetectiveDouble) GetMembersWithContext(i0 context.Context, i1 *detective.GetMembersInput, i2 ...request.Option) (r0 *detective.GetMembersOutput, r1 error)

func (*DetectiveDouble) ListGraphs

func (*DetectiveDouble) ListGraphsPages

func (d *DetectiveDouble) ListGraphsPages(i0 *detective.ListGraphsInput, i1 func(*detective.ListGraphsOutput, bool) bool) (r0 error)

func (*DetectiveDouble) ListGraphsPagesWithContext

func (d *DetectiveDouble) ListGraphsPagesWithContext(i0 context.Context, i1 *detective.ListGraphsInput, i2 func(*detective.ListGraphsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*DetectiveDouble) ListGraphsRequest

func (d *DetectiveDouble) ListGraphsRequest(i0 *detective.ListGraphsInput) (r0 *request.Request, r1 *detective.ListGraphsOutput)

func (*DetectiveDouble) ListGraphsWithContext

func (d *DetectiveDouble) ListGraphsWithContext(i0 context.Context, i1 *detective.ListGraphsInput, i2 ...request.Option) (r0 *detective.ListGraphsOutput, r1 error)

func (*DetectiveDouble) ListInvitations

func (*DetectiveDouble) ListInvitationsPages

func (d *DetectiveDouble) ListInvitationsPages(i0 *detective.ListInvitationsInput, i1 func(*detective.ListInvitationsOutput, bool) bool) (r0 error)

func (*DetectiveDouble) ListInvitationsPagesWithContext

func (d *DetectiveDouble) ListInvitationsPagesWithContext(i0 context.Context, i1 *detective.ListInvitationsInput, i2 func(*detective.ListInvitationsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*DetectiveDouble) ListInvitationsRequest

func (*DetectiveDouble) ListInvitationsWithContext

func (d *DetectiveDouble) ListInvitationsWithContext(i0 context.Context, i1 *detective.ListInvitationsInput, i2 ...request.Option) (r0 *detective.ListInvitationsOutput, r1 error)

func (*DetectiveDouble) ListMembers

func (*DetectiveDouble) ListMembersPages

func (d *DetectiveDouble) ListMembersPages(i0 *detective.ListMembersInput, i1 func(*detective.ListMembersOutput, bool) bool) (r0 error)

func (*DetectiveDouble) ListMembersPagesWithContext

func (d *DetectiveDouble) ListMembersPagesWithContext(i0 context.Context, i1 *detective.ListMembersInput, i2 func(*detective.ListMembersOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*DetectiveDouble) ListMembersRequest

func (*DetectiveDouble) ListMembersWithContext

func (d *DetectiveDouble) ListMembersWithContext(i0 context.Context, i1 *detective.ListMembersInput, i2 ...request.Option) (r0 *detective.ListMembersOutput, r1 error)

func (*DetectiveDouble) RejectInvitation

func (*DetectiveDouble) RejectInvitationRequest

func (*DetectiveDouble) RejectInvitationWithContext

func (d *DetectiveDouble) RejectInvitationWithContext(i0 context.Context, i1 *detective.RejectInvitationInput, i2 ...request.Option) (r0 *detective.RejectInvitationOutput, r1 error)

Jump to

Keyboard shortcuts

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