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 ¶
- type DetectiveDouble
- func (d *DetectiveDouble) AcceptInvitation(i0 *detective.AcceptInvitationInput) (r0 *detective.AcceptInvitationOutput, r1 error)
- func (d *DetectiveDouble) AcceptInvitationRequest(i0 *detective.AcceptInvitationInput) (r0 *request.Request, r1 *detective.AcceptInvitationOutput)
- func (d *DetectiveDouble) AcceptInvitationWithContext(i0 context.Context, i1 *detective.AcceptInvitationInput, i2 ...request.Option) (r0 *detective.AcceptInvitationOutput, r1 error)
- func (d *DetectiveDouble) CreateGraph(i0 *detective.CreateGraphInput) (r0 *detective.CreateGraphOutput, r1 error)
- func (d *DetectiveDouble) CreateGraphRequest(i0 *detective.CreateGraphInput) (r0 *request.Request, r1 *detective.CreateGraphOutput)
- func (d *DetectiveDouble) CreateGraphWithContext(i0 context.Context, i1 *detective.CreateGraphInput, i2 ...request.Option) (r0 *detective.CreateGraphOutput, r1 error)
- func (d *DetectiveDouble) CreateMembers(i0 *detective.CreateMembersInput) (r0 *detective.CreateMembersOutput, r1 error)
- func (d *DetectiveDouble) CreateMembersRequest(i0 *detective.CreateMembersInput) (r0 *request.Request, r1 *detective.CreateMembersOutput)
- func (d *DetectiveDouble) CreateMembersWithContext(i0 context.Context, i1 *detective.CreateMembersInput, i2 ...request.Option) (r0 *detective.CreateMembersOutput, r1 error)
- func (d *DetectiveDouble) DeleteGraph(i0 *detective.DeleteGraphInput) (r0 *detective.DeleteGraphOutput, r1 error)
- func (d *DetectiveDouble) DeleteGraphRequest(i0 *detective.DeleteGraphInput) (r0 *request.Request, r1 *detective.DeleteGraphOutput)
- func (d *DetectiveDouble) DeleteGraphWithContext(i0 context.Context, i1 *detective.DeleteGraphInput, i2 ...request.Option) (r0 *detective.DeleteGraphOutput, r1 error)
- func (d *DetectiveDouble) DeleteMembers(i0 *detective.DeleteMembersInput) (r0 *detective.DeleteMembersOutput, r1 error)
- func (d *DetectiveDouble) DeleteMembersRequest(i0 *detective.DeleteMembersInput) (r0 *request.Request, r1 *detective.DeleteMembersOutput)
- func (d *DetectiveDouble) DeleteMembersWithContext(i0 context.Context, i1 *detective.DeleteMembersInput, i2 ...request.Option) (r0 *detective.DeleteMembersOutput, r1 error)
- func (d *DetectiveDouble) DisassociateMembership(i0 *detective.DisassociateMembershipInput) (r0 *detective.DisassociateMembershipOutput, r1 error)
- func (d *DetectiveDouble) DisassociateMembershipRequest(i0 *detective.DisassociateMembershipInput) (r0 *request.Request, r1 *detective.DisassociateMembershipOutput)
- func (d *DetectiveDouble) DisassociateMembershipWithContext(i0 context.Context, i1 *detective.DisassociateMembershipInput, ...) (r0 *detective.DisassociateMembershipOutput, r1 error)
- func (d *DetectiveDouble) GetMembers(i0 *detective.GetMembersInput) (r0 *detective.GetMembersOutput, r1 error)
- func (d *DetectiveDouble) GetMembersRequest(i0 *detective.GetMembersInput) (r0 *request.Request, r1 *detective.GetMembersOutput)
- func (d *DetectiveDouble) GetMembersWithContext(i0 context.Context, i1 *detective.GetMembersInput, i2 ...request.Option) (r0 *detective.GetMembersOutput, r1 error)
- func (d *DetectiveDouble) ListGraphs(i0 *detective.ListGraphsInput) (r0 *detective.ListGraphsOutput, r1 error)
- func (d *DetectiveDouble) ListGraphsPages(i0 *detective.ListGraphsInput, i1 func(*detective.ListGraphsOutput, bool) bool) (r0 error)
- func (d *DetectiveDouble) ListGraphsPagesWithContext(i0 context.Context, i1 *detective.ListGraphsInput, ...) (r0 error)
- func (d *DetectiveDouble) ListGraphsRequest(i0 *detective.ListGraphsInput) (r0 *request.Request, r1 *detective.ListGraphsOutput)
- func (d *DetectiveDouble) ListGraphsWithContext(i0 context.Context, i1 *detective.ListGraphsInput, i2 ...request.Option) (r0 *detective.ListGraphsOutput, r1 error)
- func (d *DetectiveDouble) ListInvitations(i0 *detective.ListInvitationsInput) (r0 *detective.ListInvitationsOutput, r1 error)
- func (d *DetectiveDouble) ListInvitationsPages(i0 *detective.ListInvitationsInput, ...) (r0 error)
- func (d *DetectiveDouble) ListInvitationsPagesWithContext(i0 context.Context, i1 *detective.ListInvitationsInput, ...) (r0 error)
- func (d *DetectiveDouble) ListInvitationsRequest(i0 *detective.ListInvitationsInput) (r0 *request.Request, r1 *detective.ListInvitationsOutput)
- func (d *DetectiveDouble) ListInvitationsWithContext(i0 context.Context, i1 *detective.ListInvitationsInput, i2 ...request.Option) (r0 *detective.ListInvitationsOutput, r1 error)
- func (d *DetectiveDouble) ListMembers(i0 *detective.ListMembersInput) (r0 *detective.ListMembersOutput, r1 error)
- func (d *DetectiveDouble) ListMembersPages(i0 *detective.ListMembersInput, ...) (r0 error)
- func (d *DetectiveDouble) ListMembersPagesWithContext(i0 context.Context, i1 *detective.ListMembersInput, ...) (r0 error)
- func (d *DetectiveDouble) ListMembersRequest(i0 *detective.ListMembersInput) (r0 *request.Request, r1 *detective.ListMembersOutput)
- func (d *DetectiveDouble) ListMembersWithContext(i0 context.Context, i1 *detective.ListMembersInput, i2 ...request.Option) (r0 *detective.ListMembersOutput, r1 error)
- func (d *DetectiveDouble) RejectInvitation(i0 *detective.RejectInvitationInput) (r0 *detective.RejectInvitationOutput, r1 error)
- func (d *DetectiveDouble) RejectInvitationRequest(i0 *detective.RejectInvitationInput) (r0 *request.Request, r1 *detective.RejectInvitationOutput)
- func (d *DetectiveDouble) RejectInvitationWithContext(i0 context.Context, i1 *detective.RejectInvitationInput, i2 ...request.Option) (r0 *detective.RejectInvitationOutput, r1 error)
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 (d *DetectiveDouble) AcceptInvitation(i0 *detective.AcceptInvitationInput) (r0 *detective.AcceptInvitationOutput, r1 error)
func (*DetectiveDouble) AcceptInvitationRequest ¶
func (d *DetectiveDouble) AcceptInvitationRequest(i0 *detective.AcceptInvitationInput) (r0 *request.Request, r1 *detective.AcceptInvitationOutput)
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 (d *DetectiveDouble) CreateGraph(i0 *detective.CreateGraphInput) (r0 *detective.CreateGraphOutput, r1 error)
func (*DetectiveDouble) CreateGraphRequest ¶
func (d *DetectiveDouble) CreateGraphRequest(i0 *detective.CreateGraphInput) (r0 *request.Request, r1 *detective.CreateGraphOutput)
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 (d *DetectiveDouble) CreateMembers(i0 *detective.CreateMembersInput) (r0 *detective.CreateMembersOutput, r1 error)
func (*DetectiveDouble) CreateMembersRequest ¶
func (d *DetectiveDouble) CreateMembersRequest(i0 *detective.CreateMembersInput) (r0 *request.Request, r1 *detective.CreateMembersOutput)
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 (d *DetectiveDouble) DeleteGraph(i0 *detective.DeleteGraphInput) (r0 *detective.DeleteGraphOutput, r1 error)
func (*DetectiveDouble) DeleteGraphRequest ¶
func (d *DetectiveDouble) DeleteGraphRequest(i0 *detective.DeleteGraphInput) (r0 *request.Request, r1 *detective.DeleteGraphOutput)
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 (d *DetectiveDouble) DeleteMembers(i0 *detective.DeleteMembersInput) (r0 *detective.DeleteMembersOutput, r1 error)
func (*DetectiveDouble) DeleteMembersRequest ¶
func (d *DetectiveDouble) DeleteMembersRequest(i0 *detective.DeleteMembersInput) (r0 *request.Request, r1 *detective.DeleteMembersOutput)
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 (d *DetectiveDouble) DisassociateMembership(i0 *detective.DisassociateMembershipInput) (r0 *detective.DisassociateMembershipOutput, r1 error)
func (*DetectiveDouble) DisassociateMembershipRequest ¶
func (d *DetectiveDouble) DisassociateMembershipRequest(i0 *detective.DisassociateMembershipInput) (r0 *request.Request, r1 *detective.DisassociateMembershipOutput)
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 (d *DetectiveDouble) GetMembers(i0 *detective.GetMembersInput) (r0 *detective.GetMembersOutput, r1 error)
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 (d *DetectiveDouble) ListGraphs(i0 *detective.ListGraphsInput) (r0 *detective.ListGraphsOutput, r1 error)
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 (d *DetectiveDouble) ListInvitations(i0 *detective.ListInvitationsInput) (r0 *detective.ListInvitationsOutput, r1 error)
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 (d *DetectiveDouble) ListInvitationsRequest(i0 *detective.ListInvitationsInput) (r0 *request.Request, r1 *detective.ListInvitationsOutput)
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 (d *DetectiveDouble) ListMembers(i0 *detective.ListMembersInput) (r0 *detective.ListMembersOutput, r1 error)
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 (d *DetectiveDouble) ListMembersRequest(i0 *detective.ListMembersInput) (r0 *request.Request, r1 *detective.ListMembersOutput)
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 (d *DetectiveDouble) RejectInvitation(i0 *detective.RejectInvitationInput) (r0 *detective.RejectInvitationOutput, r1 error)
func (*DetectiveDouble) RejectInvitationRequest ¶
func (d *DetectiveDouble) RejectInvitationRequest(i0 *detective.RejectInvitationInput) (r0 *request.Request, r1 *detective.RejectInvitationOutput)
func (*DetectiveDouble) RejectInvitationWithContext ¶
func (d *DetectiveDouble) RejectInvitationWithContext(i0 context.Context, i1 *detective.RejectInvitationInput, i2 ...request.Option) (r0 *detective.RejectInvitationOutput, r1 error)