mocks

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) AddAttributesToFindings

func (_m *IClient) AddAttributesToFindings(ctx context.Context, params *inspector.AddAttributesToFindingsInput, optFns ...func(*inspector.Options)) (*inspector.AddAttributesToFindingsOutput, error)

AddAttributesToFindings provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateAssessmentTarget

func (_m *IClient) CreateAssessmentTarget(ctx context.Context, params *inspector.CreateAssessmentTargetInput, optFns ...func(*inspector.Options)) (*inspector.CreateAssessmentTargetOutput, error)

CreateAssessmentTarget provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateAssessmentTemplate

func (_m *IClient) CreateAssessmentTemplate(ctx context.Context, params *inspector.CreateAssessmentTemplateInput, optFns ...func(*inspector.Options)) (*inspector.CreateAssessmentTemplateOutput, error)

CreateAssessmentTemplate provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateExclusionsPreview

func (_m *IClient) CreateExclusionsPreview(ctx context.Context, params *inspector.CreateExclusionsPreviewInput, optFns ...func(*inspector.Options)) (*inspector.CreateExclusionsPreviewOutput, error)

CreateExclusionsPreview provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateResourceGroup

func (_m *IClient) CreateResourceGroup(ctx context.Context, params *inspector.CreateResourceGroupInput, optFns ...func(*inspector.Options)) (*inspector.CreateResourceGroupOutput, error)

CreateResourceGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAssessmentRun

func (_m *IClient) DeleteAssessmentRun(ctx context.Context, params *inspector.DeleteAssessmentRunInput, optFns ...func(*inspector.Options)) (*inspector.DeleteAssessmentRunOutput, error)

DeleteAssessmentRun provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAssessmentTarget

func (_m *IClient) DeleteAssessmentTarget(ctx context.Context, params *inspector.DeleteAssessmentTargetInput, optFns ...func(*inspector.Options)) (*inspector.DeleteAssessmentTargetOutput, error)

DeleteAssessmentTarget provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAssessmentTemplate

func (_m *IClient) DeleteAssessmentTemplate(ctx context.Context, params *inspector.DeleteAssessmentTemplateInput, optFns ...func(*inspector.Options)) (*inspector.DeleteAssessmentTemplateOutput, error)

DeleteAssessmentTemplate provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAssessmentRuns

func (_m *IClient) DescribeAssessmentRuns(ctx context.Context, params *inspector.DescribeAssessmentRunsInput, optFns ...func(*inspector.Options)) (*inspector.DescribeAssessmentRunsOutput, error)

DescribeAssessmentRuns provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAssessmentTargets

func (_m *IClient) DescribeAssessmentTargets(ctx context.Context, params *inspector.DescribeAssessmentTargetsInput, optFns ...func(*inspector.Options)) (*inspector.DescribeAssessmentTargetsOutput, error)

DescribeAssessmentTargets provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAssessmentTemplates

func (_m *IClient) DescribeAssessmentTemplates(ctx context.Context, params *inspector.DescribeAssessmentTemplatesInput, optFns ...func(*inspector.Options)) (*inspector.DescribeAssessmentTemplatesOutput, error)

DescribeAssessmentTemplates provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeCrossAccountAccessRole

func (_m *IClient) DescribeCrossAccountAccessRole(ctx context.Context, params *inspector.DescribeCrossAccountAccessRoleInput, optFns ...func(*inspector.Options)) (*inspector.DescribeCrossAccountAccessRoleOutput, error)

DescribeCrossAccountAccessRole provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeExclusions

func (_m *IClient) DescribeExclusions(ctx context.Context, params *inspector.DescribeExclusionsInput, optFns ...func(*inspector.Options)) (*inspector.DescribeExclusionsOutput, error)

DescribeExclusions provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeFindings

func (_m *IClient) DescribeFindings(ctx context.Context, params *inspector.DescribeFindingsInput, optFns ...func(*inspector.Options)) (*inspector.DescribeFindingsOutput, error)

DescribeFindings provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeResourceGroups

func (_m *IClient) DescribeResourceGroups(ctx context.Context, params *inspector.DescribeResourceGroupsInput, optFns ...func(*inspector.Options)) (*inspector.DescribeResourceGroupsOutput, error)

DescribeResourceGroups provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeRulesPackages

func (_m *IClient) DescribeRulesPackages(ctx context.Context, params *inspector.DescribeRulesPackagesInput, optFns ...func(*inspector.Options)) (*inspector.DescribeRulesPackagesOutput, error)

DescribeRulesPackages provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetAssessmentReport

func (_m *IClient) GetAssessmentReport(ctx context.Context, params *inspector.GetAssessmentReportInput, optFns ...func(*inspector.Options)) (*inspector.GetAssessmentReportOutput, error)

GetAssessmentReport provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetExclusionsPreview

func (_m *IClient) GetExclusionsPreview(ctx context.Context, params *inspector.GetExclusionsPreviewInput, optFns ...func(*inspector.Options)) (*inspector.GetExclusionsPreviewOutput, error)

GetExclusionsPreview provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetTelemetryMetadata

func (_m *IClient) GetTelemetryMetadata(ctx context.Context, params *inspector.GetTelemetryMetadataInput, optFns ...func(*inspector.Options)) (*inspector.GetTelemetryMetadataOutput, error)

GetTelemetryMetadata provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAssessmentRunAgents

func (_m *IClient) ListAssessmentRunAgents(ctx context.Context, params *inspector.ListAssessmentRunAgentsInput, optFns ...func(*inspector.Options)) (*inspector.ListAssessmentRunAgentsOutput, error)

ListAssessmentRunAgents provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAssessmentRuns

func (_m *IClient) ListAssessmentRuns(ctx context.Context, params *inspector.ListAssessmentRunsInput, optFns ...func(*inspector.Options)) (*inspector.ListAssessmentRunsOutput, error)

ListAssessmentRuns provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAssessmentTargets

func (_m *IClient) ListAssessmentTargets(ctx context.Context, params *inspector.ListAssessmentTargetsInput, optFns ...func(*inspector.Options)) (*inspector.ListAssessmentTargetsOutput, error)

ListAssessmentTargets provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAssessmentTemplates

func (_m *IClient) ListAssessmentTemplates(ctx context.Context, params *inspector.ListAssessmentTemplatesInput, optFns ...func(*inspector.Options)) (*inspector.ListAssessmentTemplatesOutput, error)

ListAssessmentTemplates provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListEventSubscriptions

func (_m *IClient) ListEventSubscriptions(ctx context.Context, params *inspector.ListEventSubscriptionsInput, optFns ...func(*inspector.Options)) (*inspector.ListEventSubscriptionsOutput, error)

ListEventSubscriptions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListExclusions

func (_m *IClient) ListExclusions(ctx context.Context, params *inspector.ListExclusionsInput, optFns ...func(*inspector.Options)) (*inspector.ListExclusionsOutput, error)

ListExclusions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListFindings

func (_m *IClient) ListFindings(ctx context.Context, params *inspector.ListFindingsInput, optFns ...func(*inspector.Options)) (*inspector.ListFindingsOutput, error)

ListFindings provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListRulesPackages

func (_m *IClient) ListRulesPackages(ctx context.Context, params *inspector.ListRulesPackagesInput, optFns ...func(*inspector.Options)) (*inspector.ListRulesPackagesOutput, error)

ListRulesPackages provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *inspector.ListTagsForResourceInput, optFns ...func(*inspector.Options)) (*inspector.ListTagsForResourceOutput, error)

ListTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() inspector.Options

Options provides a mock function with given fields:

func (*IClient) PreviewAgents

func (_m *IClient) PreviewAgents(ctx context.Context, params *inspector.PreviewAgentsInput, optFns ...func(*inspector.Options)) (*inspector.PreviewAgentsOutput, error)

PreviewAgents provides a mock function with given fields: ctx, params, optFns

func (*IClient) RegisterCrossAccountAccessRole

func (_m *IClient) RegisterCrossAccountAccessRole(ctx context.Context, params *inspector.RegisterCrossAccountAccessRoleInput, optFns ...func(*inspector.Options)) (*inspector.RegisterCrossAccountAccessRoleOutput, error)

RegisterCrossAccountAccessRole provides a mock function with given fields: ctx, params, optFns

func (*IClient) RemoveAttributesFromFindings

func (_m *IClient) RemoveAttributesFromFindings(ctx context.Context, params *inspector.RemoveAttributesFromFindingsInput, optFns ...func(*inspector.Options)) (*inspector.RemoveAttributesFromFindingsOutput, error)

RemoveAttributesFromFindings provides a mock function with given fields: ctx, params, optFns

func (*IClient) SetTagsForResource

func (_m *IClient) SetTagsForResource(ctx context.Context, params *inspector.SetTagsForResourceInput, optFns ...func(*inspector.Options)) (*inspector.SetTagsForResourceOutput, error)

SetTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartAssessmentRun

func (_m *IClient) StartAssessmentRun(ctx context.Context, params *inspector.StartAssessmentRunInput, optFns ...func(*inspector.Options)) (*inspector.StartAssessmentRunOutput, error)

StartAssessmentRun provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopAssessmentRun

func (_m *IClient) StopAssessmentRun(ctx context.Context, params *inspector.StopAssessmentRunInput, optFns ...func(*inspector.Options)) (*inspector.StopAssessmentRunOutput, error)

StopAssessmentRun provides a mock function with given fields: ctx, params, optFns

func (*IClient) SubscribeToEvent

func (_m *IClient) SubscribeToEvent(ctx context.Context, params *inspector.SubscribeToEventInput, optFns ...func(*inspector.Options)) (*inspector.SubscribeToEventOutput, error)

SubscribeToEvent provides a mock function with given fields: ctx, params, optFns

func (*IClient) UnsubscribeFromEvent

func (_m *IClient) UnsubscribeFromEvent(ctx context.Context, params *inspector.UnsubscribeFromEventInput, optFns ...func(*inspector.Options)) (*inspector.UnsubscribeFromEventOutput, error)

UnsubscribeFromEvent provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateAssessmentTarget

func (_m *IClient) UpdateAssessmentTarget(ctx context.Context, params *inspector.UpdateAssessmentTargetInput, optFns ...func(*inspector.Options)) (*inspector.UpdateAssessmentTargetOutput, error)

UpdateAssessmentTarget provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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