Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) AddAttributesToFindings(ctx context.Context, params *inspector.AddAttributesToFindingsInput, ...) (*inspector.AddAttributesToFindingsOutput, error)
- func (_m *IClient) CreateAssessmentTarget(ctx context.Context, params *inspector.CreateAssessmentTargetInput, ...) (*inspector.CreateAssessmentTargetOutput, error)
- func (_m *IClient) CreateAssessmentTemplate(ctx context.Context, params *inspector.CreateAssessmentTemplateInput, ...) (*inspector.CreateAssessmentTemplateOutput, error)
- func (_m *IClient) CreateExclusionsPreview(ctx context.Context, params *inspector.CreateExclusionsPreviewInput, ...) (*inspector.CreateExclusionsPreviewOutput, error)
- func (_m *IClient) CreateResourceGroup(ctx context.Context, params *inspector.CreateResourceGroupInput, ...) (*inspector.CreateResourceGroupOutput, error)
- func (_m *IClient) DeleteAssessmentRun(ctx context.Context, params *inspector.DeleteAssessmentRunInput, ...) (*inspector.DeleteAssessmentRunOutput, error)
- func (_m *IClient) DeleteAssessmentTarget(ctx context.Context, params *inspector.DeleteAssessmentTargetInput, ...) (*inspector.DeleteAssessmentTargetOutput, error)
- func (_m *IClient) DeleteAssessmentTemplate(ctx context.Context, params *inspector.DeleteAssessmentTemplateInput, ...) (*inspector.DeleteAssessmentTemplateOutput, error)
- func (_m *IClient) DescribeAssessmentRuns(ctx context.Context, params *inspector.DescribeAssessmentRunsInput, ...) (*inspector.DescribeAssessmentRunsOutput, error)
- func (_m *IClient) DescribeAssessmentTargets(ctx context.Context, params *inspector.DescribeAssessmentTargetsInput, ...) (*inspector.DescribeAssessmentTargetsOutput, error)
- func (_m *IClient) DescribeAssessmentTemplates(ctx context.Context, params *inspector.DescribeAssessmentTemplatesInput, ...) (*inspector.DescribeAssessmentTemplatesOutput, error)
- func (_m *IClient) DescribeCrossAccountAccessRole(ctx context.Context, params *inspector.DescribeCrossAccountAccessRoleInput, ...) (*inspector.DescribeCrossAccountAccessRoleOutput, error)
- func (_m *IClient) DescribeExclusions(ctx context.Context, params *inspector.DescribeExclusionsInput, ...) (*inspector.DescribeExclusionsOutput, error)
- func (_m *IClient) DescribeFindings(ctx context.Context, params *inspector.DescribeFindingsInput, ...) (*inspector.DescribeFindingsOutput, error)
- func (_m *IClient) DescribeResourceGroups(ctx context.Context, params *inspector.DescribeResourceGroupsInput, ...) (*inspector.DescribeResourceGroupsOutput, error)
- func (_m *IClient) DescribeRulesPackages(ctx context.Context, params *inspector.DescribeRulesPackagesInput, ...) (*inspector.DescribeRulesPackagesOutput, error)
- func (_m *IClient) GetAssessmentReport(ctx context.Context, params *inspector.GetAssessmentReportInput, ...) (*inspector.GetAssessmentReportOutput, error)
- func (_m *IClient) GetExclusionsPreview(ctx context.Context, params *inspector.GetExclusionsPreviewInput, ...) (*inspector.GetExclusionsPreviewOutput, error)
- func (_m *IClient) GetTelemetryMetadata(ctx context.Context, params *inspector.GetTelemetryMetadataInput, ...) (*inspector.GetTelemetryMetadataOutput, error)
- func (_m *IClient) ListAssessmentRunAgents(ctx context.Context, params *inspector.ListAssessmentRunAgentsInput, ...) (*inspector.ListAssessmentRunAgentsOutput, error)
- func (_m *IClient) ListAssessmentRuns(ctx context.Context, params *inspector.ListAssessmentRunsInput, ...) (*inspector.ListAssessmentRunsOutput, error)
- func (_m *IClient) ListAssessmentTargets(ctx context.Context, params *inspector.ListAssessmentTargetsInput, ...) (*inspector.ListAssessmentTargetsOutput, error)
- func (_m *IClient) ListAssessmentTemplates(ctx context.Context, params *inspector.ListAssessmentTemplatesInput, ...) (*inspector.ListAssessmentTemplatesOutput, error)
- func (_m *IClient) ListEventSubscriptions(ctx context.Context, params *inspector.ListEventSubscriptionsInput, ...) (*inspector.ListEventSubscriptionsOutput, error)
- func (_m *IClient) ListExclusions(ctx context.Context, params *inspector.ListExclusionsInput, ...) (*inspector.ListExclusionsOutput, error)
- func (_m *IClient) ListFindings(ctx context.Context, params *inspector.ListFindingsInput, ...) (*inspector.ListFindingsOutput, error)
- func (_m *IClient) ListRulesPackages(ctx context.Context, params *inspector.ListRulesPackagesInput, ...) (*inspector.ListRulesPackagesOutput, error)
- func (_m *IClient) ListTagsForResource(ctx context.Context, params *inspector.ListTagsForResourceInput, ...) (*inspector.ListTagsForResourceOutput, error)
- func (_m *IClient) Options() inspector.Options
- func (_m *IClient) PreviewAgents(ctx context.Context, params *inspector.PreviewAgentsInput, ...) (*inspector.PreviewAgentsOutput, error)
- func (_m *IClient) RegisterCrossAccountAccessRole(ctx context.Context, params *inspector.RegisterCrossAccountAccessRoleInput, ...) (*inspector.RegisterCrossAccountAccessRoleOutput, error)
- func (_m *IClient) RemoveAttributesFromFindings(ctx context.Context, params *inspector.RemoveAttributesFromFindingsInput, ...) (*inspector.RemoveAttributesFromFindingsOutput, error)
- func (_m *IClient) SetTagsForResource(ctx context.Context, params *inspector.SetTagsForResourceInput, ...) (*inspector.SetTagsForResourceOutput, error)
- func (_m *IClient) StartAssessmentRun(ctx context.Context, params *inspector.StartAssessmentRunInput, ...) (*inspector.StartAssessmentRunOutput, error)
- func (_m *IClient) StopAssessmentRun(ctx context.Context, params *inspector.StopAssessmentRunInput, ...) (*inspector.StopAssessmentRunOutput, error)
- func (_m *IClient) SubscribeToEvent(ctx context.Context, params *inspector.SubscribeToEventInput, ...) (*inspector.SubscribeToEventOutput, error)
- func (_m *IClient) UnsubscribeFromEvent(ctx context.Context, params *inspector.UnsubscribeFromEventInput, ...) (*inspector.UnsubscribeFromEventOutput, error)
- func (_m *IClient) UpdateAssessmentTarget(ctx context.Context, params *inspector.UpdateAssessmentTargetInput, ...) (*inspector.UpdateAssessmentTargetOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func NewIClient ¶
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) 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