mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 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) AcceptAdministratorInvitation

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

func (*IClient) AcceptInvitation

func (_m *IClient) AcceptInvitation(ctx context.Context, params *securityhub.AcceptInvitationInput, optFns ...func(*securityhub.Options)) (*securityhub.AcceptInvitationOutput, error)

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

func (*IClient) BatchDeleteAutomationRules

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

func (*IClient) BatchDisableStandards

func (_m *IClient) BatchDisableStandards(ctx context.Context, params *securityhub.BatchDisableStandardsInput, optFns ...func(*securityhub.Options)) (*securityhub.BatchDisableStandardsOutput, error)

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

func (*IClient) BatchEnableStandards

func (_m *IClient) BatchEnableStandards(ctx context.Context, params *securityhub.BatchEnableStandardsInput, optFns ...func(*securityhub.Options)) (*securityhub.BatchEnableStandardsOutput, error)

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

func (*IClient) BatchGetAutomationRules

func (_m *IClient) BatchGetAutomationRules(ctx context.Context, params *securityhub.BatchGetAutomationRulesInput, optFns ...func(*securityhub.Options)) (*securityhub.BatchGetAutomationRulesOutput, error)

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

func (*IClient) BatchGetConfigurationPolicyAssociations

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

func (*IClient) BatchGetSecurityControls

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

func (*IClient) BatchGetStandardsControlAssociations

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

func (*IClient) BatchImportFindings

func (_m *IClient) BatchImportFindings(ctx context.Context, params *securityhub.BatchImportFindingsInput, optFns ...func(*securityhub.Options)) (*securityhub.BatchImportFindingsOutput, error)

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

func (*IClient) BatchUpdateAutomationRules

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

func (*IClient) BatchUpdateFindings

func (_m *IClient) BatchUpdateFindings(ctx context.Context, params *securityhub.BatchUpdateFindingsInput, optFns ...func(*securityhub.Options)) (*securityhub.BatchUpdateFindingsOutput, error)

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

func (*IClient) BatchUpdateStandardsControlAssociations

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

func (*IClient) CreateActionTarget

func (_m *IClient) CreateActionTarget(ctx context.Context, params *securityhub.CreateActionTargetInput, optFns ...func(*securityhub.Options)) (*securityhub.CreateActionTargetOutput, error)

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

func (*IClient) CreateAutomationRule

func (_m *IClient) CreateAutomationRule(ctx context.Context, params *securityhub.CreateAutomationRuleInput, optFns ...func(*securityhub.Options)) (*securityhub.CreateAutomationRuleOutput, error)

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

func (*IClient) CreateConfigurationPolicy

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

func (*IClient) CreateFindingAggregator

func (_m *IClient) CreateFindingAggregator(ctx context.Context, params *securityhub.CreateFindingAggregatorInput, optFns ...func(*securityhub.Options)) (*securityhub.CreateFindingAggregatorOutput, error)

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

func (*IClient) CreateInsight

func (_m *IClient) CreateInsight(ctx context.Context, params *securityhub.CreateInsightInput, optFns ...func(*securityhub.Options)) (*securityhub.CreateInsightOutput, error)

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

func (*IClient) CreateMembers

func (_m *IClient) CreateMembers(ctx context.Context, params *securityhub.CreateMembersInput, optFns ...func(*securityhub.Options)) (*securityhub.CreateMembersOutput, error)

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

func (*IClient) DeclineInvitations

func (_m *IClient) DeclineInvitations(ctx context.Context, params *securityhub.DeclineInvitationsInput, optFns ...func(*securityhub.Options)) (*securityhub.DeclineInvitationsOutput, error)

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

func (*IClient) DeleteActionTarget

func (_m *IClient) DeleteActionTarget(ctx context.Context, params *securityhub.DeleteActionTargetInput, optFns ...func(*securityhub.Options)) (*securityhub.DeleteActionTargetOutput, error)

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

func (*IClient) DeleteConfigurationPolicy

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

func (*IClient) DeleteFindingAggregator

func (_m *IClient) DeleteFindingAggregator(ctx context.Context, params *securityhub.DeleteFindingAggregatorInput, optFns ...func(*securityhub.Options)) (*securityhub.DeleteFindingAggregatorOutput, error)

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

func (*IClient) DeleteInsight

func (_m *IClient) DeleteInsight(ctx context.Context, params *securityhub.DeleteInsightInput, optFns ...func(*securityhub.Options)) (*securityhub.DeleteInsightOutput, error)

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

func (*IClient) DeleteInvitations

func (_m *IClient) DeleteInvitations(ctx context.Context, params *securityhub.DeleteInvitationsInput, optFns ...func(*securityhub.Options)) (*securityhub.DeleteInvitationsOutput, error)

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

func (*IClient) DeleteMembers

func (_m *IClient) DeleteMembers(ctx context.Context, params *securityhub.DeleteMembersInput, optFns ...func(*securityhub.Options)) (*securityhub.DeleteMembersOutput, error)

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

func (*IClient) DescribeActionTargets

func (_m *IClient) DescribeActionTargets(ctx context.Context, params *securityhub.DescribeActionTargetsInput, optFns ...func(*securityhub.Options)) (*securityhub.DescribeActionTargetsOutput, error)

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

func (*IClient) DescribeHub

func (_m *IClient) DescribeHub(ctx context.Context, params *securityhub.DescribeHubInput, optFns ...func(*securityhub.Options)) (*securityhub.DescribeHubOutput, error)

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

func (*IClient) DescribeOrganizationConfiguration

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

func (*IClient) DescribeProducts

func (_m *IClient) DescribeProducts(ctx context.Context, params *securityhub.DescribeProductsInput, optFns ...func(*securityhub.Options)) (*securityhub.DescribeProductsOutput, error)

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

func (*IClient) DescribeStandards

func (_m *IClient) DescribeStandards(ctx context.Context, params *securityhub.DescribeStandardsInput, optFns ...func(*securityhub.Options)) (*securityhub.DescribeStandardsOutput, error)

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

func (*IClient) DescribeStandardsControls

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

func (*IClient) DisableImportFindingsForProduct

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

func (*IClient) DisableOrganizationAdminAccount

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

func (*IClient) DisableSecurityHub

func (_m *IClient) DisableSecurityHub(ctx context.Context, params *securityhub.DisableSecurityHubInput, optFns ...func(*securityhub.Options)) (*securityhub.DisableSecurityHubOutput, error)

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

func (*IClient) DisassociateFromAdministratorAccount

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

func (*IClient) DisassociateFromMasterAccount

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

func (*IClient) DisassociateMembers

func (_m *IClient) DisassociateMembers(ctx context.Context, params *securityhub.DisassociateMembersInput, optFns ...func(*securityhub.Options)) (*securityhub.DisassociateMembersOutput, error)

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

func (*IClient) EnableImportFindingsForProduct

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

func (*IClient) EnableOrganizationAdminAccount

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

func (*IClient) EnableSecurityHub

func (_m *IClient) EnableSecurityHub(ctx context.Context, params *securityhub.EnableSecurityHubInput, optFns ...func(*securityhub.Options)) (*securityhub.EnableSecurityHubOutput, error)

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

func (*IClient) GetAdministratorAccount

func (_m *IClient) GetAdministratorAccount(ctx context.Context, params *securityhub.GetAdministratorAccountInput, optFns ...func(*securityhub.Options)) (*securityhub.GetAdministratorAccountOutput, error)

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

func (*IClient) GetConfigurationPolicy

func (_m *IClient) GetConfigurationPolicy(ctx context.Context, params *securityhub.GetConfigurationPolicyInput, optFns ...func(*securityhub.Options)) (*securityhub.GetConfigurationPolicyOutput, error)

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

func (*IClient) GetConfigurationPolicyAssociation

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

func (*IClient) GetEnabledStandards

func (_m *IClient) GetEnabledStandards(ctx context.Context, params *securityhub.GetEnabledStandardsInput, optFns ...func(*securityhub.Options)) (*securityhub.GetEnabledStandardsOutput, error)

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

func (*IClient) GetFindingAggregator

func (_m *IClient) GetFindingAggregator(ctx context.Context, params *securityhub.GetFindingAggregatorInput, optFns ...func(*securityhub.Options)) (*securityhub.GetFindingAggregatorOutput, error)

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

func (*IClient) GetFindingHistory

func (_m *IClient) GetFindingHistory(ctx context.Context, params *securityhub.GetFindingHistoryInput, optFns ...func(*securityhub.Options)) (*securityhub.GetFindingHistoryOutput, error)

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

func (*IClient) GetFindings

func (_m *IClient) GetFindings(ctx context.Context, params *securityhub.GetFindingsInput, optFns ...func(*securityhub.Options)) (*securityhub.GetFindingsOutput, error)

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

func (*IClient) GetInsightResults

func (_m *IClient) GetInsightResults(ctx context.Context, params *securityhub.GetInsightResultsInput, optFns ...func(*securityhub.Options)) (*securityhub.GetInsightResultsOutput, error)

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

func (*IClient) GetInsights

func (_m *IClient) GetInsights(ctx context.Context, params *securityhub.GetInsightsInput, optFns ...func(*securityhub.Options)) (*securityhub.GetInsightsOutput, error)

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

func (*IClient) GetInvitationsCount

func (_m *IClient) GetInvitationsCount(ctx context.Context, params *securityhub.GetInvitationsCountInput, optFns ...func(*securityhub.Options)) (*securityhub.GetInvitationsCountOutput, error)

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

func (*IClient) GetMasterAccount

func (_m *IClient) GetMasterAccount(ctx context.Context, params *securityhub.GetMasterAccountInput, optFns ...func(*securityhub.Options)) (*securityhub.GetMasterAccountOutput, error)

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

func (*IClient) GetMembers

func (_m *IClient) GetMembers(ctx context.Context, params *securityhub.GetMembersInput, optFns ...func(*securityhub.Options)) (*securityhub.GetMembersOutput, error)

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

func (*IClient) GetSecurityControlDefinition

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

func (*IClient) InviteMembers

func (_m *IClient) InviteMembers(ctx context.Context, params *securityhub.InviteMembersInput, optFns ...func(*securityhub.Options)) (*securityhub.InviteMembersOutput, error)

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

func (*IClient) ListAutomationRules

func (_m *IClient) ListAutomationRules(ctx context.Context, params *securityhub.ListAutomationRulesInput, optFns ...func(*securityhub.Options)) (*securityhub.ListAutomationRulesOutput, error)

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

func (*IClient) ListConfigurationPolicies

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

func (*IClient) ListConfigurationPolicyAssociations

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

func (*IClient) ListEnabledProductsForImport

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

func (*IClient) ListFindingAggregators

func (_m *IClient) ListFindingAggregators(ctx context.Context, params *securityhub.ListFindingAggregatorsInput, optFns ...func(*securityhub.Options)) (*securityhub.ListFindingAggregatorsOutput, error)

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

func (*IClient) ListInvitations

func (_m *IClient) ListInvitations(ctx context.Context, params *securityhub.ListInvitationsInput, optFns ...func(*securityhub.Options)) (*securityhub.ListInvitationsOutput, error)

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

func (*IClient) ListMembers

func (_m *IClient) ListMembers(ctx context.Context, params *securityhub.ListMembersInput, optFns ...func(*securityhub.Options)) (*securityhub.ListMembersOutput, error)

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

func (*IClient) ListOrganizationAdminAccounts

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

func (*IClient) ListSecurityControlDefinitions

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

func (*IClient) ListStandardsControlAssociations

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) StartConfigurationPolicyAssociation

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

func (*IClient) StartConfigurationPolicyDisassociation

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

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *securityhub.TagResourceInput, optFns ...func(*securityhub.Options)) (*securityhub.TagResourceOutput, error)

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

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *securityhub.UntagResourceInput, optFns ...func(*securityhub.Options)) (*securityhub.UntagResourceOutput, error)

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

func (*IClient) UpdateActionTarget

func (_m *IClient) UpdateActionTarget(ctx context.Context, params *securityhub.UpdateActionTargetInput, optFns ...func(*securityhub.Options)) (*securityhub.UpdateActionTargetOutput, error)

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

func (*IClient) UpdateConfigurationPolicy

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

func (*IClient) UpdateFindingAggregator

func (_m *IClient) UpdateFindingAggregator(ctx context.Context, params *securityhub.UpdateFindingAggregatorInput, optFns ...func(*securityhub.Options)) (*securityhub.UpdateFindingAggregatorOutput, error)

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

func (*IClient) UpdateFindings

func (_m *IClient) UpdateFindings(ctx context.Context, params *securityhub.UpdateFindingsInput, optFns ...func(*securityhub.Options)) (*securityhub.UpdateFindingsOutput, error)

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

func (*IClient) UpdateInsight

func (_m *IClient) UpdateInsight(ctx context.Context, params *securityhub.UpdateInsightInput, optFns ...func(*securityhub.Options)) (*securityhub.UpdateInsightOutput, error)

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

func (*IClient) UpdateOrganizationConfiguration

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

func (*IClient) UpdateSecurityControl

func (_m *IClient) UpdateSecurityControl(ctx context.Context, params *securityhub.UpdateSecurityControlInput, optFns ...func(*securityhub.Options)) (*securityhub.UpdateSecurityControlOutput, error)

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

func (*IClient) UpdateSecurityHubConfiguration

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

func (*IClient) UpdateStandardsControl

func (_m *IClient) UpdateStandardsControl(ctx context.Context, params *securityhub.UpdateStandardsControlInput, optFns ...func(*securityhub.Options)) (*securityhub.UpdateStandardsControlOutput, error)

UpdateStandardsControl 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