guarddutydouble

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 guarddutydouble contains test double implementation of guarddutyiface.GuardDutyAPI

Package guarddutydouble provides a TestDouble implementation of guarddutyiface.GuardDutyAPI

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 GuardDutyDouble

type GuardDutyDouble struct {
	guarddutyiface.GuardDutyAPI
	*awsdouble.AWSTestDouble
}

GuardDutyDouble is TestDouble for guarddutyiface.GuardDutyAPI

func NewDouble

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

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

func (*GuardDutyDouble) AcceptInvitationRequest

func (*GuardDutyDouble) AcceptInvitationWithContext

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

func (*GuardDutyDouble) ArchiveFindings

func (*GuardDutyDouble) ArchiveFindingsRequest

func (*GuardDutyDouble) ArchiveFindingsWithContext

func (d *GuardDutyDouble) ArchiveFindingsWithContext(i0 context.Context, i1 *guardduty.ArchiveFindingsInput, i2 ...request.Option) (r0 *guardduty.ArchiveFindingsOutput, r1 error)

func (*GuardDutyDouble) CreateDetector

func (*GuardDutyDouble) CreateDetectorRequest

func (*GuardDutyDouble) CreateDetectorWithContext

func (d *GuardDutyDouble) CreateDetectorWithContext(i0 context.Context, i1 *guardduty.CreateDetectorInput, i2 ...request.Option) (r0 *guardduty.CreateDetectorOutput, r1 error)

func (*GuardDutyDouble) CreateFilter

func (*GuardDutyDouble) CreateFilterRequest

func (*GuardDutyDouble) CreateFilterWithContext

func (d *GuardDutyDouble) CreateFilterWithContext(i0 context.Context, i1 *guardduty.CreateFilterInput, i2 ...request.Option) (r0 *guardduty.CreateFilterOutput, r1 error)

func (*GuardDutyDouble) CreateIPSet

func (*GuardDutyDouble) CreateIPSetRequest

func (*GuardDutyDouble) CreateIPSetWithContext

func (d *GuardDutyDouble) CreateIPSetWithContext(i0 context.Context, i1 *guardduty.CreateIPSetInput, i2 ...request.Option) (r0 *guardduty.CreateIPSetOutput, r1 error)

func (*GuardDutyDouble) CreateMembers

func (*GuardDutyDouble) CreateMembersRequest

func (*GuardDutyDouble) CreateMembersWithContext

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

func (*GuardDutyDouble) CreateSampleFindings

func (*GuardDutyDouble) CreateSampleFindingsRequest

func (*GuardDutyDouble) CreateSampleFindingsWithContext

func (d *GuardDutyDouble) CreateSampleFindingsWithContext(i0 context.Context, i1 *guardduty.CreateSampleFindingsInput, i2 ...request.Option) (r0 *guardduty.CreateSampleFindingsOutput, r1 error)

func (*GuardDutyDouble) CreateThreatIntelSet

func (*GuardDutyDouble) CreateThreatIntelSetRequest

func (*GuardDutyDouble) CreateThreatIntelSetWithContext

func (d *GuardDutyDouble) CreateThreatIntelSetWithContext(i0 context.Context, i1 *guardduty.CreateThreatIntelSetInput, i2 ...request.Option) (r0 *guardduty.CreateThreatIntelSetOutput, r1 error)

func (*GuardDutyDouble) DeclineInvitations

func (*GuardDutyDouble) DeclineInvitationsRequest

func (*GuardDutyDouble) DeclineInvitationsWithContext

func (d *GuardDutyDouble) DeclineInvitationsWithContext(i0 context.Context, i1 *guardduty.DeclineInvitationsInput, i2 ...request.Option) (r0 *guardduty.DeclineInvitationsOutput, r1 error)

func (*GuardDutyDouble) DeleteDetector

func (*GuardDutyDouble) DeleteDetectorRequest

func (*GuardDutyDouble) DeleteDetectorWithContext

func (d *GuardDutyDouble) DeleteDetectorWithContext(i0 context.Context, i1 *guardduty.DeleteDetectorInput, i2 ...request.Option) (r0 *guardduty.DeleteDetectorOutput, r1 error)

func (*GuardDutyDouble) DeleteFilter

func (*GuardDutyDouble) DeleteFilterRequest

func (*GuardDutyDouble) DeleteFilterWithContext

func (d *GuardDutyDouble) DeleteFilterWithContext(i0 context.Context, i1 *guardduty.DeleteFilterInput, i2 ...request.Option) (r0 *guardduty.DeleteFilterOutput, r1 error)

func (*GuardDutyDouble) DeleteIPSet

func (*GuardDutyDouble) DeleteIPSetRequest

func (*GuardDutyDouble) DeleteIPSetWithContext

func (d *GuardDutyDouble) DeleteIPSetWithContext(i0 context.Context, i1 *guardduty.DeleteIPSetInput, i2 ...request.Option) (r0 *guardduty.DeleteIPSetOutput, r1 error)

func (*GuardDutyDouble) DeleteInvitations

func (*GuardDutyDouble) DeleteInvitationsRequest

func (*GuardDutyDouble) DeleteInvitationsWithContext

func (d *GuardDutyDouble) DeleteInvitationsWithContext(i0 context.Context, i1 *guardduty.DeleteInvitationsInput, i2 ...request.Option) (r0 *guardduty.DeleteInvitationsOutput, r1 error)

func (*GuardDutyDouble) DeleteMembers

func (*GuardDutyDouble) DeleteMembersRequest

func (*GuardDutyDouble) DeleteMembersWithContext

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

func (*GuardDutyDouble) DeleteThreatIntelSet

func (*GuardDutyDouble) DeleteThreatIntelSetRequest

func (*GuardDutyDouble) DeleteThreatIntelSetWithContext

func (d *GuardDutyDouble) DeleteThreatIntelSetWithContext(i0 context.Context, i1 *guardduty.DeleteThreatIntelSetInput, i2 ...request.Option) (r0 *guardduty.DeleteThreatIntelSetOutput, r1 error)

func (*GuardDutyDouble) DisassociateMembers

func (*GuardDutyDouble) DisassociateMembersRequest

func (*GuardDutyDouble) DisassociateMembersWithContext

func (d *GuardDutyDouble) DisassociateMembersWithContext(i0 context.Context, i1 *guardduty.DisassociateMembersInput, i2 ...request.Option) (r0 *guardduty.DisassociateMembersOutput, r1 error)

func (*GuardDutyDouble) GetDetector

func (*GuardDutyDouble) GetDetectorRequest

func (*GuardDutyDouble) GetDetectorWithContext

func (d *GuardDutyDouble) GetDetectorWithContext(i0 context.Context, i1 *guardduty.GetDetectorInput, i2 ...request.Option) (r0 *guardduty.GetDetectorOutput, r1 error)

func (*GuardDutyDouble) GetFilter

func (*GuardDutyDouble) GetFilterRequest

func (d *GuardDutyDouble) GetFilterRequest(i0 *guardduty.GetFilterInput) (r0 *request.Request, r1 *guardduty.GetFilterOutput)

func (*GuardDutyDouble) GetFilterWithContext

func (d *GuardDutyDouble) GetFilterWithContext(i0 context.Context, i1 *guardduty.GetFilterInput, i2 ...request.Option) (r0 *guardduty.GetFilterOutput, r1 error)

func (*GuardDutyDouble) GetFindings

func (*GuardDutyDouble) GetFindingsRequest

func (*GuardDutyDouble) GetFindingsStatistics

func (*GuardDutyDouble) GetFindingsStatisticsRequest

func (*GuardDutyDouble) GetFindingsStatisticsWithContext

func (d *GuardDutyDouble) GetFindingsStatisticsWithContext(i0 context.Context, i1 *guardduty.GetFindingsStatisticsInput, i2 ...request.Option) (r0 *guardduty.GetFindingsStatisticsOutput, r1 error)

func (*GuardDutyDouble) GetFindingsWithContext

func (d *GuardDutyDouble) GetFindingsWithContext(i0 context.Context, i1 *guardduty.GetFindingsInput, i2 ...request.Option) (r0 *guardduty.GetFindingsOutput, r1 error)

func (*GuardDutyDouble) GetIPSet

func (*GuardDutyDouble) GetIPSetRequest

func (d *GuardDutyDouble) GetIPSetRequest(i0 *guardduty.GetIPSetInput) (r0 *request.Request, r1 *guardduty.GetIPSetOutput)

func (*GuardDutyDouble) GetIPSetWithContext

func (d *GuardDutyDouble) GetIPSetWithContext(i0 context.Context, i1 *guardduty.GetIPSetInput, i2 ...request.Option) (r0 *guardduty.GetIPSetOutput, r1 error)

func (*GuardDutyDouble) GetInvitationsCount

func (*GuardDutyDouble) GetInvitationsCountRequest

func (*GuardDutyDouble) GetInvitationsCountWithContext

func (d *GuardDutyDouble) GetInvitationsCountWithContext(i0 context.Context, i1 *guardduty.GetInvitationsCountInput, i2 ...request.Option) (r0 *guardduty.GetInvitationsCountOutput, r1 error)

func (*GuardDutyDouble) GetMasterAccount

func (*GuardDutyDouble) GetMasterAccountRequest

func (*GuardDutyDouble) GetMasterAccountWithContext

func (d *GuardDutyDouble) GetMasterAccountWithContext(i0 context.Context, i1 *guardduty.GetMasterAccountInput, i2 ...request.Option) (r0 *guardduty.GetMasterAccountOutput, r1 error)

func (*GuardDutyDouble) GetMembers

func (*GuardDutyDouble) GetMembersRequest

func (d *GuardDutyDouble) GetMembersRequest(i0 *guardduty.GetMembersInput) (r0 *request.Request, r1 *guardduty.GetMembersOutput)

func (*GuardDutyDouble) GetMembersWithContext

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

func (*GuardDutyDouble) GetThreatIntelSet

func (*GuardDutyDouble) GetThreatIntelSetRequest

func (*GuardDutyDouble) GetThreatIntelSetWithContext

func (d *GuardDutyDouble) GetThreatIntelSetWithContext(i0 context.Context, i1 *guardduty.GetThreatIntelSetInput, i2 ...request.Option) (r0 *guardduty.GetThreatIntelSetOutput, r1 error)

func (*GuardDutyDouble) InviteMembers

func (*GuardDutyDouble) InviteMembersRequest

func (*GuardDutyDouble) InviteMembersWithContext

func (d *GuardDutyDouble) InviteMembersWithContext(i0 context.Context, i1 *guardduty.InviteMembersInput, i2 ...request.Option) (r0 *guardduty.InviteMembersOutput, r1 error)

func (*GuardDutyDouble) ListDetectors

func (*GuardDutyDouble) ListDetectorsPages

func (d *GuardDutyDouble) ListDetectorsPages(i0 *guardduty.ListDetectorsInput, i1 func(*guardduty.ListDetectorsOutput, bool) bool) (r0 error)

func (*GuardDutyDouble) ListDetectorsPagesWithContext

func (d *GuardDutyDouble) ListDetectorsPagesWithContext(i0 context.Context, i1 *guardduty.ListDetectorsInput, i2 func(*guardduty.ListDetectorsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*GuardDutyDouble) ListDetectorsRequest

func (*GuardDutyDouble) ListDetectorsWithContext

func (d *GuardDutyDouble) ListDetectorsWithContext(i0 context.Context, i1 *guardduty.ListDetectorsInput, i2 ...request.Option) (r0 *guardduty.ListDetectorsOutput, r1 error)

func (*GuardDutyDouble) ListFilters

func (*GuardDutyDouble) ListFiltersPages

func (d *GuardDutyDouble) ListFiltersPages(i0 *guardduty.ListFiltersInput, i1 func(*guardduty.ListFiltersOutput, bool) bool) (r0 error)

func (*GuardDutyDouble) ListFiltersPagesWithContext

func (d *GuardDutyDouble) ListFiltersPagesWithContext(i0 context.Context, i1 *guardduty.ListFiltersInput, i2 func(*guardduty.ListFiltersOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*GuardDutyDouble) ListFiltersRequest

func (*GuardDutyDouble) ListFiltersWithContext

func (d *GuardDutyDouble) ListFiltersWithContext(i0 context.Context, i1 *guardduty.ListFiltersInput, i2 ...request.Option) (r0 *guardduty.ListFiltersOutput, r1 error)

func (*GuardDutyDouble) ListFindings

func (*GuardDutyDouble) ListFindingsPages

func (d *GuardDutyDouble) ListFindingsPages(i0 *guardduty.ListFindingsInput, i1 func(*guardduty.ListFindingsOutput, bool) bool) (r0 error)

func (*GuardDutyDouble) ListFindingsPagesWithContext

func (d *GuardDutyDouble) ListFindingsPagesWithContext(i0 context.Context, i1 *guardduty.ListFindingsInput, i2 func(*guardduty.ListFindingsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*GuardDutyDouble) ListFindingsRequest

func (*GuardDutyDouble) ListFindingsWithContext

func (d *GuardDutyDouble) ListFindingsWithContext(i0 context.Context, i1 *guardduty.ListFindingsInput, i2 ...request.Option) (r0 *guardduty.ListFindingsOutput, r1 error)

func (*GuardDutyDouble) ListIPSets

func (*GuardDutyDouble) ListIPSetsPages

func (d *GuardDutyDouble) ListIPSetsPages(i0 *guardduty.ListIPSetsInput, i1 func(*guardduty.ListIPSetsOutput, bool) bool) (r0 error)

func (*GuardDutyDouble) ListIPSetsPagesWithContext

func (d *GuardDutyDouble) ListIPSetsPagesWithContext(i0 context.Context, i1 *guardduty.ListIPSetsInput, i2 func(*guardduty.ListIPSetsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*GuardDutyDouble) ListIPSetsRequest

func (d *GuardDutyDouble) ListIPSetsRequest(i0 *guardduty.ListIPSetsInput) (r0 *request.Request, r1 *guardduty.ListIPSetsOutput)

func (*GuardDutyDouble) ListIPSetsWithContext

func (d *GuardDutyDouble) ListIPSetsWithContext(i0 context.Context, i1 *guardduty.ListIPSetsInput, i2 ...request.Option) (r0 *guardduty.ListIPSetsOutput, r1 error)

func (*GuardDutyDouble) ListInvitations

func (*GuardDutyDouble) ListInvitationsPages

func (d *GuardDutyDouble) ListInvitationsPages(i0 *guardduty.ListInvitationsInput, i1 func(*guardduty.ListInvitationsOutput, bool) bool) (r0 error)

func (*GuardDutyDouble) ListInvitationsPagesWithContext

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

func (*GuardDutyDouble) ListInvitationsRequest

func (*GuardDutyDouble) ListInvitationsWithContext

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

func (*GuardDutyDouble) ListMembers

func (*GuardDutyDouble) ListMembersPages

func (d *GuardDutyDouble) ListMembersPages(i0 *guardduty.ListMembersInput, i1 func(*guardduty.ListMembersOutput, bool) bool) (r0 error)

func (*GuardDutyDouble) ListMembersPagesWithContext

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

func (*GuardDutyDouble) ListMembersRequest

func (*GuardDutyDouble) ListMembersWithContext

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

func (*GuardDutyDouble) ListPublishingDestinationsPages

func (d *GuardDutyDouble) ListPublishingDestinationsPages(i0 *guardduty.ListPublishingDestinationsInput, i1 func(*guardduty.ListPublishingDestinationsOutput, bool) bool) (r0 error)

func (*GuardDutyDouble) ListPublishingDestinationsPagesWithContext

func (d *GuardDutyDouble) ListPublishingDestinationsPagesWithContext(i0 context.Context, i1 *guardduty.ListPublishingDestinationsInput, i2 func(*guardduty.ListPublishingDestinationsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*GuardDutyDouble) ListTagsForResource

func (*GuardDutyDouble) ListTagsForResourceRequest

func (*GuardDutyDouble) ListTagsForResourceWithContext

func (d *GuardDutyDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *guardduty.ListTagsForResourceInput, i2 ...request.Option) (r0 *guardduty.ListTagsForResourceOutput, r1 error)

func (*GuardDutyDouble) ListThreatIntelSets

func (*GuardDutyDouble) ListThreatIntelSetsPages

func (d *GuardDutyDouble) ListThreatIntelSetsPages(i0 *guardduty.ListThreatIntelSetsInput, i1 func(*guardduty.ListThreatIntelSetsOutput, bool) bool) (r0 error)

func (*GuardDutyDouble) ListThreatIntelSetsPagesWithContext

func (d *GuardDutyDouble) ListThreatIntelSetsPagesWithContext(i0 context.Context, i1 *guardduty.ListThreatIntelSetsInput, i2 func(*guardduty.ListThreatIntelSetsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*GuardDutyDouble) ListThreatIntelSetsRequest

func (*GuardDutyDouble) ListThreatIntelSetsWithContext

func (d *GuardDutyDouble) ListThreatIntelSetsWithContext(i0 context.Context, i1 *guardduty.ListThreatIntelSetsInput, i2 ...request.Option) (r0 *guardduty.ListThreatIntelSetsOutput, r1 error)

func (*GuardDutyDouble) StartMonitoringMembers

func (*GuardDutyDouble) StartMonitoringMembersRequest

func (*GuardDutyDouble) StartMonitoringMembersWithContext

func (d *GuardDutyDouble) StartMonitoringMembersWithContext(i0 context.Context, i1 *guardduty.StartMonitoringMembersInput, i2 ...request.Option) (r0 *guardduty.StartMonitoringMembersOutput, r1 error)

func (*GuardDutyDouble) StopMonitoringMembers

func (*GuardDutyDouble) StopMonitoringMembersRequest

func (*GuardDutyDouble) StopMonitoringMembersWithContext

func (d *GuardDutyDouble) StopMonitoringMembersWithContext(i0 context.Context, i1 *guardduty.StopMonitoringMembersInput, i2 ...request.Option) (r0 *guardduty.StopMonitoringMembersOutput, r1 error)

func (*GuardDutyDouble) TagResource

func (*GuardDutyDouble) TagResourceRequest

func (*GuardDutyDouble) TagResourceWithContext

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

func (*GuardDutyDouble) UnarchiveFindings

func (*GuardDutyDouble) UnarchiveFindingsRequest

func (*GuardDutyDouble) UnarchiveFindingsWithContext

func (d *GuardDutyDouble) UnarchiveFindingsWithContext(i0 context.Context, i1 *guardduty.UnarchiveFindingsInput, i2 ...request.Option) (r0 *guardduty.UnarchiveFindingsOutput, r1 error)

func (*GuardDutyDouble) UntagResource

func (*GuardDutyDouble) UntagResourceRequest

func (*GuardDutyDouble) UntagResourceWithContext

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

func (*GuardDutyDouble) UpdateDetector

func (*GuardDutyDouble) UpdateDetectorRequest

func (*GuardDutyDouble) UpdateDetectorWithContext

func (d *GuardDutyDouble) UpdateDetectorWithContext(i0 context.Context, i1 *guardduty.UpdateDetectorInput, i2 ...request.Option) (r0 *guardduty.UpdateDetectorOutput, r1 error)

func (*GuardDutyDouble) UpdateFilter

func (*GuardDutyDouble) UpdateFilterRequest

func (*GuardDutyDouble) UpdateFilterWithContext

func (d *GuardDutyDouble) UpdateFilterWithContext(i0 context.Context, i1 *guardduty.UpdateFilterInput, i2 ...request.Option) (r0 *guardduty.UpdateFilterOutput, r1 error)

func (*GuardDutyDouble) UpdateFindingsFeedback

func (*GuardDutyDouble) UpdateFindingsFeedbackRequest

func (*GuardDutyDouble) UpdateFindingsFeedbackWithContext

func (d *GuardDutyDouble) UpdateFindingsFeedbackWithContext(i0 context.Context, i1 *guardduty.UpdateFindingsFeedbackInput, i2 ...request.Option) (r0 *guardduty.UpdateFindingsFeedbackOutput, r1 error)

func (*GuardDutyDouble) UpdateIPSet

func (*GuardDutyDouble) UpdateIPSetRequest

func (*GuardDutyDouble) UpdateIPSetWithContext

func (d *GuardDutyDouble) UpdateIPSetWithContext(i0 context.Context, i1 *guardduty.UpdateIPSetInput, i2 ...request.Option) (r0 *guardduty.UpdateIPSetOutput, r1 error)

func (*GuardDutyDouble) UpdateThreatIntelSet

func (*GuardDutyDouble) UpdateThreatIntelSetRequest

func (*GuardDutyDouble) UpdateThreatIntelSetWithContext

func (d *GuardDutyDouble) UpdateThreatIntelSetWithContext(i0 context.Context, i1 *guardduty.UpdateThreatIntelSetInput, i2 ...request.Option) (r0 *guardduty.UpdateThreatIntelSetOutput, r1 error)

Jump to

Keyboard shortcuts

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