inspectordouble

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 inspectordouble contains test double implementation of inspectoriface.InspectorAPI

Package inspectordouble provides a TestDouble implementation of inspectoriface.InspectorAPI

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 InspectorDouble

type InspectorDouble struct {
	inspectoriface.InspectorAPI
	*awsdouble.AWSTestDouble
}

InspectorDouble is TestDouble for inspectoriface.InspectorAPI

func NewDouble

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

Constructor for InspectorDouble 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 (*InspectorDouble) AddAttributesToFindings

func (*InspectorDouble) AddAttributesToFindingsRequest

func (*InspectorDouble) AddAttributesToFindingsWithContext

func (d *InspectorDouble) AddAttributesToFindingsWithContext(i0 context.Context, i1 *inspector.AddAttributesToFindingsInput, i2 ...request.Option) (r0 *inspector.AddAttributesToFindingsOutput, r1 error)

func (*InspectorDouble) CreateAssessmentTarget

func (*InspectorDouble) CreateAssessmentTargetRequest

func (*InspectorDouble) CreateAssessmentTargetWithContext

func (d *InspectorDouble) CreateAssessmentTargetWithContext(i0 context.Context, i1 *inspector.CreateAssessmentTargetInput, i2 ...request.Option) (r0 *inspector.CreateAssessmentTargetOutput, r1 error)

func (*InspectorDouble) CreateAssessmentTemplate

func (*InspectorDouble) CreateAssessmentTemplateWithContext

func (d *InspectorDouble) CreateAssessmentTemplateWithContext(i0 context.Context, i1 *inspector.CreateAssessmentTemplateInput, i2 ...request.Option) (r0 *inspector.CreateAssessmentTemplateOutput, r1 error)

func (*InspectorDouble) CreateExclusionsPreview

func (*InspectorDouble) CreateExclusionsPreviewRequest

func (*InspectorDouble) CreateExclusionsPreviewWithContext

func (d *InspectorDouble) CreateExclusionsPreviewWithContext(i0 context.Context, i1 *inspector.CreateExclusionsPreviewInput, i2 ...request.Option) (r0 *inspector.CreateExclusionsPreviewOutput, r1 error)

func (*InspectorDouble) CreateResourceGroup

func (*InspectorDouble) CreateResourceGroupRequest

func (*InspectorDouble) CreateResourceGroupWithContext

func (d *InspectorDouble) CreateResourceGroupWithContext(i0 context.Context, i1 *inspector.CreateResourceGroupInput, i2 ...request.Option) (r0 *inspector.CreateResourceGroupOutput, r1 error)

func (*InspectorDouble) DeleteAssessmentRun

func (*InspectorDouble) DeleteAssessmentRunRequest

func (*InspectorDouble) DeleteAssessmentRunWithContext

func (d *InspectorDouble) DeleteAssessmentRunWithContext(i0 context.Context, i1 *inspector.DeleteAssessmentRunInput, i2 ...request.Option) (r0 *inspector.DeleteAssessmentRunOutput, r1 error)

func (*InspectorDouble) DeleteAssessmentTarget

func (*InspectorDouble) DeleteAssessmentTargetRequest

func (*InspectorDouble) DeleteAssessmentTargetWithContext

func (d *InspectorDouble) DeleteAssessmentTargetWithContext(i0 context.Context, i1 *inspector.DeleteAssessmentTargetInput, i2 ...request.Option) (r0 *inspector.DeleteAssessmentTargetOutput, r1 error)

func (*InspectorDouble) DeleteAssessmentTemplate

func (*InspectorDouble) DeleteAssessmentTemplateWithContext

func (d *InspectorDouble) DeleteAssessmentTemplateWithContext(i0 context.Context, i1 *inspector.DeleteAssessmentTemplateInput, i2 ...request.Option) (r0 *inspector.DeleteAssessmentTemplateOutput, r1 error)

func (*InspectorDouble) DescribeAssessmentRuns

func (*InspectorDouble) DescribeAssessmentRunsRequest

func (*InspectorDouble) DescribeAssessmentRunsWithContext

func (d *InspectorDouble) DescribeAssessmentRunsWithContext(i0 context.Context, i1 *inspector.DescribeAssessmentRunsInput, i2 ...request.Option) (r0 *inspector.DescribeAssessmentRunsOutput, r1 error)

func (*InspectorDouble) DescribeAssessmentTargets

func (*InspectorDouble) DescribeAssessmentTargetsWithContext

func (d *InspectorDouble) DescribeAssessmentTargetsWithContext(i0 context.Context, i1 *inspector.DescribeAssessmentTargetsInput, i2 ...request.Option) (r0 *inspector.DescribeAssessmentTargetsOutput, r1 error)

func (*InspectorDouble) DescribeExclusions

func (*InspectorDouble) DescribeExclusionsRequest

func (*InspectorDouble) DescribeExclusionsWithContext

func (d *InspectorDouble) DescribeExclusionsWithContext(i0 context.Context, i1 *inspector.DescribeExclusionsInput, i2 ...request.Option) (r0 *inspector.DescribeExclusionsOutput, r1 error)

func (*InspectorDouble) DescribeFindings

func (*InspectorDouble) DescribeFindingsRequest

func (*InspectorDouble) DescribeFindingsWithContext

func (d *InspectorDouble) DescribeFindingsWithContext(i0 context.Context, i1 *inspector.DescribeFindingsInput, i2 ...request.Option) (r0 *inspector.DescribeFindingsOutput, r1 error)

func (*InspectorDouble) DescribeResourceGroups

func (*InspectorDouble) DescribeResourceGroupsRequest

func (*InspectorDouble) DescribeResourceGroupsWithContext

func (d *InspectorDouble) DescribeResourceGroupsWithContext(i0 context.Context, i1 *inspector.DescribeResourceGroupsInput, i2 ...request.Option) (r0 *inspector.DescribeResourceGroupsOutput, r1 error)

func (*InspectorDouble) DescribeRulesPackages

func (*InspectorDouble) DescribeRulesPackagesRequest

func (*InspectorDouble) DescribeRulesPackagesWithContext

func (d *InspectorDouble) DescribeRulesPackagesWithContext(i0 context.Context, i1 *inspector.DescribeRulesPackagesInput, i2 ...request.Option) (r0 *inspector.DescribeRulesPackagesOutput, r1 error)

func (*InspectorDouble) GetAssessmentReport

func (*InspectorDouble) GetAssessmentReportRequest

func (*InspectorDouble) GetAssessmentReportWithContext

func (d *InspectorDouble) GetAssessmentReportWithContext(i0 context.Context, i1 *inspector.GetAssessmentReportInput, i2 ...request.Option) (r0 *inspector.GetAssessmentReportOutput, r1 error)

func (*InspectorDouble) GetExclusionsPreview

func (*InspectorDouble) GetExclusionsPreviewPages

func (d *InspectorDouble) GetExclusionsPreviewPages(i0 *inspector.GetExclusionsPreviewInput, i1 func(*inspector.GetExclusionsPreviewOutput, bool) bool) (r0 error)

func (*InspectorDouble) GetExclusionsPreviewPagesWithContext

func (d *InspectorDouble) GetExclusionsPreviewPagesWithContext(i0 context.Context, i1 *inspector.GetExclusionsPreviewInput, i2 func(*inspector.GetExclusionsPreviewOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*InspectorDouble) GetExclusionsPreviewRequest

func (*InspectorDouble) GetExclusionsPreviewWithContext

func (d *InspectorDouble) GetExclusionsPreviewWithContext(i0 context.Context, i1 *inspector.GetExclusionsPreviewInput, i2 ...request.Option) (r0 *inspector.GetExclusionsPreviewOutput, r1 error)

func (*InspectorDouble) GetTelemetryMetadata

func (*InspectorDouble) GetTelemetryMetadataRequest

func (*InspectorDouble) GetTelemetryMetadataWithContext

func (d *InspectorDouble) GetTelemetryMetadataWithContext(i0 context.Context, i1 *inspector.GetTelemetryMetadataInput, i2 ...request.Option) (r0 *inspector.GetTelemetryMetadataOutput, r1 error)

func (*InspectorDouble) ListAssessmentRunAgents

func (*InspectorDouble) ListAssessmentRunAgentsPages

func (d *InspectorDouble) ListAssessmentRunAgentsPages(i0 *inspector.ListAssessmentRunAgentsInput, i1 func(*inspector.ListAssessmentRunAgentsOutput, bool) bool) (r0 error)

func (*InspectorDouble) ListAssessmentRunAgentsPagesWithContext

func (d *InspectorDouble) ListAssessmentRunAgentsPagesWithContext(i0 context.Context, i1 *inspector.ListAssessmentRunAgentsInput, i2 func(*inspector.ListAssessmentRunAgentsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*InspectorDouble) ListAssessmentRunAgentsRequest

func (*InspectorDouble) ListAssessmentRunAgentsWithContext

func (d *InspectorDouble) ListAssessmentRunAgentsWithContext(i0 context.Context, i1 *inspector.ListAssessmentRunAgentsInput, i2 ...request.Option) (r0 *inspector.ListAssessmentRunAgentsOutput, r1 error)

func (*InspectorDouble) ListAssessmentRuns

func (*InspectorDouble) ListAssessmentRunsPages

func (d *InspectorDouble) ListAssessmentRunsPages(i0 *inspector.ListAssessmentRunsInput, i1 func(*inspector.ListAssessmentRunsOutput, bool) bool) (r0 error)

func (*InspectorDouble) ListAssessmentRunsPagesWithContext

func (d *InspectorDouble) ListAssessmentRunsPagesWithContext(i0 context.Context, i1 *inspector.ListAssessmentRunsInput, i2 func(*inspector.ListAssessmentRunsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*InspectorDouble) ListAssessmentRunsRequest

func (*InspectorDouble) ListAssessmentRunsWithContext

func (d *InspectorDouble) ListAssessmentRunsWithContext(i0 context.Context, i1 *inspector.ListAssessmentRunsInput, i2 ...request.Option) (r0 *inspector.ListAssessmentRunsOutput, r1 error)

func (*InspectorDouble) ListAssessmentTargets

func (*InspectorDouble) ListAssessmentTargetsPages

func (d *InspectorDouble) ListAssessmentTargetsPages(i0 *inspector.ListAssessmentTargetsInput, i1 func(*inspector.ListAssessmentTargetsOutput, bool) bool) (r0 error)

func (*InspectorDouble) ListAssessmentTargetsPagesWithContext

func (d *InspectorDouble) ListAssessmentTargetsPagesWithContext(i0 context.Context, i1 *inspector.ListAssessmentTargetsInput, i2 func(*inspector.ListAssessmentTargetsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*InspectorDouble) ListAssessmentTargetsRequest

func (*InspectorDouble) ListAssessmentTargetsWithContext

func (d *InspectorDouble) ListAssessmentTargetsWithContext(i0 context.Context, i1 *inspector.ListAssessmentTargetsInput, i2 ...request.Option) (r0 *inspector.ListAssessmentTargetsOutput, r1 error)

func (*InspectorDouble) ListAssessmentTemplates

func (*InspectorDouble) ListAssessmentTemplatesPages

func (d *InspectorDouble) ListAssessmentTemplatesPages(i0 *inspector.ListAssessmentTemplatesInput, i1 func(*inspector.ListAssessmentTemplatesOutput, bool) bool) (r0 error)

func (*InspectorDouble) ListAssessmentTemplatesPagesWithContext

func (d *InspectorDouble) ListAssessmentTemplatesPagesWithContext(i0 context.Context, i1 *inspector.ListAssessmentTemplatesInput, i2 func(*inspector.ListAssessmentTemplatesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*InspectorDouble) ListAssessmentTemplatesRequest

func (*InspectorDouble) ListAssessmentTemplatesWithContext

func (d *InspectorDouble) ListAssessmentTemplatesWithContext(i0 context.Context, i1 *inspector.ListAssessmentTemplatesInput, i2 ...request.Option) (r0 *inspector.ListAssessmentTemplatesOutput, r1 error)

func (*InspectorDouble) ListEventSubscriptions

func (*InspectorDouble) ListEventSubscriptionsPages

func (d *InspectorDouble) ListEventSubscriptionsPages(i0 *inspector.ListEventSubscriptionsInput, i1 func(*inspector.ListEventSubscriptionsOutput, bool) bool) (r0 error)

func (*InspectorDouble) ListEventSubscriptionsPagesWithContext

func (d *InspectorDouble) ListEventSubscriptionsPagesWithContext(i0 context.Context, i1 *inspector.ListEventSubscriptionsInput, i2 func(*inspector.ListEventSubscriptionsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*InspectorDouble) ListEventSubscriptionsRequest

func (*InspectorDouble) ListEventSubscriptionsWithContext

func (d *InspectorDouble) ListEventSubscriptionsWithContext(i0 context.Context, i1 *inspector.ListEventSubscriptionsInput, i2 ...request.Option) (r0 *inspector.ListEventSubscriptionsOutput, r1 error)

func (*InspectorDouble) ListExclusions

func (*InspectorDouble) ListExclusionsPages

func (d *InspectorDouble) ListExclusionsPages(i0 *inspector.ListExclusionsInput, i1 func(*inspector.ListExclusionsOutput, bool) bool) (r0 error)

func (*InspectorDouble) ListExclusionsPagesWithContext

func (d *InspectorDouble) ListExclusionsPagesWithContext(i0 context.Context, i1 *inspector.ListExclusionsInput, i2 func(*inspector.ListExclusionsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*InspectorDouble) ListExclusionsRequest

func (*InspectorDouble) ListExclusionsWithContext

func (d *InspectorDouble) ListExclusionsWithContext(i0 context.Context, i1 *inspector.ListExclusionsInput, i2 ...request.Option) (r0 *inspector.ListExclusionsOutput, r1 error)

func (*InspectorDouble) ListFindings

func (*InspectorDouble) ListFindingsPages

func (d *InspectorDouble) ListFindingsPages(i0 *inspector.ListFindingsInput, i1 func(*inspector.ListFindingsOutput, bool) bool) (r0 error)

func (*InspectorDouble) ListFindingsPagesWithContext

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

func (*InspectorDouble) ListFindingsRequest

func (*InspectorDouble) ListFindingsWithContext

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

func (*InspectorDouble) ListRulesPackages

func (*InspectorDouble) ListRulesPackagesPages

func (d *InspectorDouble) ListRulesPackagesPages(i0 *inspector.ListRulesPackagesInput, i1 func(*inspector.ListRulesPackagesOutput, bool) bool) (r0 error)

func (*InspectorDouble) ListRulesPackagesPagesWithContext

func (d *InspectorDouble) ListRulesPackagesPagesWithContext(i0 context.Context, i1 *inspector.ListRulesPackagesInput, i2 func(*inspector.ListRulesPackagesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*InspectorDouble) ListRulesPackagesRequest

func (*InspectorDouble) ListRulesPackagesWithContext

func (d *InspectorDouble) ListRulesPackagesWithContext(i0 context.Context, i1 *inspector.ListRulesPackagesInput, i2 ...request.Option) (r0 *inspector.ListRulesPackagesOutput, r1 error)

func (*InspectorDouble) ListTagsForResource

func (*InspectorDouble) ListTagsForResourceRequest

func (*InspectorDouble) ListTagsForResourceWithContext

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

func (*InspectorDouble) PreviewAgents

func (*InspectorDouble) PreviewAgentsPages

func (d *InspectorDouble) PreviewAgentsPages(i0 *inspector.PreviewAgentsInput, i1 func(*inspector.PreviewAgentsOutput, bool) bool) (r0 error)

func (*InspectorDouble) PreviewAgentsPagesWithContext

func (d *InspectorDouble) PreviewAgentsPagesWithContext(i0 context.Context, i1 *inspector.PreviewAgentsInput, i2 func(*inspector.PreviewAgentsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*InspectorDouble) PreviewAgentsRequest

func (*InspectorDouble) PreviewAgentsWithContext

func (d *InspectorDouble) PreviewAgentsWithContext(i0 context.Context, i1 *inspector.PreviewAgentsInput, i2 ...request.Option) (r0 *inspector.PreviewAgentsOutput, r1 error)

func (*InspectorDouble) SetTagsForResource

func (*InspectorDouble) SetTagsForResourceRequest

func (*InspectorDouble) SetTagsForResourceWithContext

func (d *InspectorDouble) SetTagsForResourceWithContext(i0 context.Context, i1 *inspector.SetTagsForResourceInput, i2 ...request.Option) (r0 *inspector.SetTagsForResourceOutput, r1 error)

func (*InspectorDouble) StartAssessmentRun

func (*InspectorDouble) StartAssessmentRunRequest

func (*InspectorDouble) StartAssessmentRunWithContext

func (d *InspectorDouble) StartAssessmentRunWithContext(i0 context.Context, i1 *inspector.StartAssessmentRunInput, i2 ...request.Option) (r0 *inspector.StartAssessmentRunOutput, r1 error)

func (*InspectorDouble) StopAssessmentRun

func (*InspectorDouble) StopAssessmentRunRequest

func (*InspectorDouble) StopAssessmentRunWithContext

func (d *InspectorDouble) StopAssessmentRunWithContext(i0 context.Context, i1 *inspector.StopAssessmentRunInput, i2 ...request.Option) (r0 *inspector.StopAssessmentRunOutput, r1 error)

func (*InspectorDouble) SubscribeToEvent

func (*InspectorDouble) SubscribeToEventRequest

func (*InspectorDouble) SubscribeToEventWithContext

func (d *InspectorDouble) SubscribeToEventWithContext(i0 context.Context, i1 *inspector.SubscribeToEventInput, i2 ...request.Option) (r0 *inspector.SubscribeToEventOutput, r1 error)

func (*InspectorDouble) UnsubscribeFromEvent

func (*InspectorDouble) UnsubscribeFromEventRequest

func (*InspectorDouble) UnsubscribeFromEventWithContext

func (d *InspectorDouble) UnsubscribeFromEventWithContext(i0 context.Context, i1 *inspector.UnsubscribeFromEventInput, i2 ...request.Option) (r0 *inspector.UnsubscribeFromEventOutput, r1 error)

func (*InspectorDouble) UpdateAssessmentTarget

func (*InspectorDouble) UpdateAssessmentTargetRequest

func (*InspectorDouble) UpdateAssessmentTargetWithContext

func (d *InspectorDouble) UpdateAssessmentTargetWithContext(i0 context.Context, i1 *inspector.UpdateAssessmentTargetInput, i2 ...request.Option) (r0 *inspector.UpdateAssessmentTargetOutput, r1 error)

Jump to

Keyboard shortcuts

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