mocks

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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) AssociateMember

func (_m *IClient) AssociateMember(ctx context.Context, params *inspector2.AssociateMemberInput, optFns ...func(*inspector2.Options)) (*inspector2.AssociateMemberOutput, error)

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

func (*IClient) BatchGetAccountStatus

func (_m *IClient) BatchGetAccountStatus(ctx context.Context, params *inspector2.BatchGetAccountStatusInput, optFns ...func(*inspector2.Options)) (*inspector2.BatchGetAccountStatusOutput, error)

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

func (*IClient) BatchGetCodeSnippet

func (_m *IClient) BatchGetCodeSnippet(ctx context.Context, params *inspector2.BatchGetCodeSnippetInput, optFns ...func(*inspector2.Options)) (*inspector2.BatchGetCodeSnippetOutput, error)

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

func (*IClient) BatchGetFindingDetails

func (_m *IClient) BatchGetFindingDetails(ctx context.Context, params *inspector2.BatchGetFindingDetailsInput, optFns ...func(*inspector2.Options)) (*inspector2.BatchGetFindingDetailsOutput, error)

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

func (*IClient) BatchGetFreeTrialInfo

func (_m *IClient) BatchGetFreeTrialInfo(ctx context.Context, params *inspector2.BatchGetFreeTrialInfoInput, optFns ...func(*inspector2.Options)) (*inspector2.BatchGetFreeTrialInfoOutput, error)

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

func (*IClient) BatchGetMemberEc2DeepInspectionStatus

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

func (*IClient) BatchUpdateMemberEc2DeepInspectionStatus

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

func (*IClient) CancelFindingsReport

func (_m *IClient) CancelFindingsReport(ctx context.Context, params *inspector2.CancelFindingsReportInput, optFns ...func(*inspector2.Options)) (*inspector2.CancelFindingsReportOutput, error)

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

func (*IClient) CancelSbomExport

func (_m *IClient) CancelSbomExport(ctx context.Context, params *inspector2.CancelSbomExportInput, optFns ...func(*inspector2.Options)) (*inspector2.CancelSbomExportOutput, error)

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

func (*IClient) CreateCisScanConfiguration

func (_m *IClient) CreateCisScanConfiguration(ctx context.Context, params *inspector2.CreateCisScanConfigurationInput, optFns ...func(*inspector2.Options)) (*inspector2.CreateCisScanConfigurationOutput, error)

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

func (*IClient) CreateFilter

func (_m *IClient) CreateFilter(ctx context.Context, params *inspector2.CreateFilterInput, optFns ...func(*inspector2.Options)) (*inspector2.CreateFilterOutput, error)

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

func (*IClient) CreateFindingsReport

func (_m *IClient) CreateFindingsReport(ctx context.Context, params *inspector2.CreateFindingsReportInput, optFns ...func(*inspector2.Options)) (*inspector2.CreateFindingsReportOutput, error)

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

func (*IClient) CreateSbomExport

func (_m *IClient) CreateSbomExport(ctx context.Context, params *inspector2.CreateSbomExportInput, optFns ...func(*inspector2.Options)) (*inspector2.CreateSbomExportOutput, error)

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

func (*IClient) DeleteCisScanConfiguration

func (_m *IClient) DeleteCisScanConfiguration(ctx context.Context, params *inspector2.DeleteCisScanConfigurationInput, optFns ...func(*inspector2.Options)) (*inspector2.DeleteCisScanConfigurationOutput, error)

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

func (*IClient) DeleteFilter

func (_m *IClient) DeleteFilter(ctx context.Context, params *inspector2.DeleteFilterInput, optFns ...func(*inspector2.Options)) (*inspector2.DeleteFilterOutput, error)

DeleteFilter 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) Disable

func (_m *IClient) Disable(ctx context.Context, params *inspector2.DisableInput, optFns ...func(*inspector2.Options)) (*inspector2.DisableOutput, error)

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

func (*IClient) DisableDelegatedAdminAccount

func (_m *IClient) DisableDelegatedAdminAccount(ctx context.Context, params *inspector2.DisableDelegatedAdminAccountInput, optFns ...func(*inspector2.Options)) (*inspector2.DisableDelegatedAdminAccountOutput, error)

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

func (*IClient) DisassociateMember

func (_m *IClient) DisassociateMember(ctx context.Context, params *inspector2.DisassociateMemberInput, optFns ...func(*inspector2.Options)) (*inspector2.DisassociateMemberOutput, error)

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

func (*IClient) Enable

func (_m *IClient) Enable(ctx context.Context, params *inspector2.EnableInput, optFns ...func(*inspector2.Options)) (*inspector2.EnableOutput, error)

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

func (*IClient) EnableDelegatedAdminAccount

func (_m *IClient) EnableDelegatedAdminAccount(ctx context.Context, params *inspector2.EnableDelegatedAdminAccountInput, optFns ...func(*inspector2.Options)) (*inspector2.EnableDelegatedAdminAccountOutput, error)

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

func (*IClient) GetCisScanReport

func (_m *IClient) GetCisScanReport(ctx context.Context, params *inspector2.GetCisScanReportInput, optFns ...func(*inspector2.Options)) (*inspector2.GetCisScanReportOutput, error)

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

func (*IClient) GetCisScanResultDetails

func (_m *IClient) GetCisScanResultDetails(ctx context.Context, params *inspector2.GetCisScanResultDetailsInput, optFns ...func(*inspector2.Options)) (*inspector2.GetCisScanResultDetailsOutput, error)

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

func (*IClient) GetConfiguration

func (_m *IClient) GetConfiguration(ctx context.Context, params *inspector2.GetConfigurationInput, optFns ...func(*inspector2.Options)) (*inspector2.GetConfigurationOutput, error)

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

func (*IClient) GetDelegatedAdminAccount

func (_m *IClient) GetDelegatedAdminAccount(ctx context.Context, params *inspector2.GetDelegatedAdminAccountInput, optFns ...func(*inspector2.Options)) (*inspector2.GetDelegatedAdminAccountOutput, error)

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

func (*IClient) GetEc2DeepInspectionConfiguration

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

func (*IClient) GetEncryptionKey

func (_m *IClient) GetEncryptionKey(ctx context.Context, params *inspector2.GetEncryptionKeyInput, optFns ...func(*inspector2.Options)) (*inspector2.GetEncryptionKeyOutput, error)

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

func (*IClient) GetFindingsReportStatus

func (_m *IClient) GetFindingsReportStatus(ctx context.Context, params *inspector2.GetFindingsReportStatusInput, optFns ...func(*inspector2.Options)) (*inspector2.GetFindingsReportStatusOutput, error)

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

func (*IClient) GetMember

func (_m *IClient) GetMember(ctx context.Context, params *inspector2.GetMemberInput, optFns ...func(*inspector2.Options)) (*inspector2.GetMemberOutput, error)

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

func (*IClient) GetSbomExport

func (_m *IClient) GetSbomExport(ctx context.Context, params *inspector2.GetSbomExportInput, optFns ...func(*inspector2.Options)) (*inspector2.GetSbomExportOutput, error)

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

func (*IClient) ListAccountPermissions

func (_m *IClient) ListAccountPermissions(ctx context.Context, params *inspector2.ListAccountPermissionsInput, optFns ...func(*inspector2.Options)) (*inspector2.ListAccountPermissionsOutput, error)

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

func (*IClient) ListCisScanConfigurations

func (_m *IClient) ListCisScanConfigurations(ctx context.Context, params *inspector2.ListCisScanConfigurationsInput, optFns ...func(*inspector2.Options)) (*inspector2.ListCisScanConfigurationsOutput, error)

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

func (*IClient) ListCisScanResultsAggregatedByChecks

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

func (*IClient) ListCisScanResultsAggregatedByTargetResource

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

func (*IClient) ListCisScans

func (_m *IClient) ListCisScans(ctx context.Context, params *inspector2.ListCisScansInput, optFns ...func(*inspector2.Options)) (*inspector2.ListCisScansOutput, error)

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

func (*IClient) ListCoverage

func (_m *IClient) ListCoverage(ctx context.Context, params *inspector2.ListCoverageInput, optFns ...func(*inspector2.Options)) (*inspector2.ListCoverageOutput, error)

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

func (*IClient) ListCoverageStatistics

func (_m *IClient) ListCoverageStatistics(ctx context.Context, params *inspector2.ListCoverageStatisticsInput, optFns ...func(*inspector2.Options)) (*inspector2.ListCoverageStatisticsOutput, error)

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

func (*IClient) ListDelegatedAdminAccounts

func (_m *IClient) ListDelegatedAdminAccounts(ctx context.Context, params *inspector2.ListDelegatedAdminAccountsInput, optFns ...func(*inspector2.Options)) (*inspector2.ListDelegatedAdminAccountsOutput, error)

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

func (*IClient) ListFilters

func (_m *IClient) ListFilters(ctx context.Context, params *inspector2.ListFiltersInput, optFns ...func(*inspector2.Options)) (*inspector2.ListFiltersOutput, error)

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

func (*IClient) ListFindingAggregations

func (_m *IClient) ListFindingAggregations(ctx context.Context, params *inspector2.ListFindingAggregationsInput, optFns ...func(*inspector2.Options)) (*inspector2.ListFindingAggregationsOutput, error)

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

func (*IClient) ListFindings

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

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

func (*IClient) ListMembers

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

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListUsageTotals

func (_m *IClient) ListUsageTotals(ctx context.Context, params *inspector2.ListUsageTotalsInput, optFns ...func(*inspector2.Options)) (*inspector2.ListUsageTotalsOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) ResetEncryptionKey

func (_m *IClient) ResetEncryptionKey(ctx context.Context, params *inspector2.ResetEncryptionKeyInput, optFns ...func(*inspector2.Options)) (*inspector2.ResetEncryptionKeyOutput, error)

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

func (*IClient) SearchVulnerabilities

func (_m *IClient) SearchVulnerabilities(ctx context.Context, params *inspector2.SearchVulnerabilitiesInput, optFns ...func(*inspector2.Options)) (*inspector2.SearchVulnerabilitiesOutput, error)

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

func (*IClient) SendCisSessionHealth

func (_m *IClient) SendCisSessionHealth(ctx context.Context, params *inspector2.SendCisSessionHealthInput, optFns ...func(*inspector2.Options)) (*inspector2.SendCisSessionHealthOutput, error)

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

func (*IClient) SendCisSessionTelemetry

func (_m *IClient) SendCisSessionTelemetry(ctx context.Context, params *inspector2.SendCisSessionTelemetryInput, optFns ...func(*inspector2.Options)) (*inspector2.SendCisSessionTelemetryOutput, error)

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

func (*IClient) StartCisSession

func (_m *IClient) StartCisSession(ctx context.Context, params *inspector2.StartCisSessionInput, optFns ...func(*inspector2.Options)) (*inspector2.StartCisSessionOutput, error)

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

func (*IClient) StopCisSession

func (_m *IClient) StopCisSession(ctx context.Context, params *inspector2.StopCisSessionInput, optFns ...func(*inspector2.Options)) (*inspector2.StopCisSessionOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateCisScanConfiguration

func (_m *IClient) UpdateCisScanConfiguration(ctx context.Context, params *inspector2.UpdateCisScanConfigurationInput, optFns ...func(*inspector2.Options)) (*inspector2.UpdateCisScanConfigurationOutput, error)

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

func (*IClient) UpdateConfiguration

func (_m *IClient) UpdateConfiguration(ctx context.Context, params *inspector2.UpdateConfigurationInput, optFns ...func(*inspector2.Options)) (*inspector2.UpdateConfigurationOutput, error)

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

func (*IClient) UpdateEc2DeepInspectionConfiguration

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

func (*IClient) UpdateEncryptionKey

func (_m *IClient) UpdateEncryptionKey(ctx context.Context, params *inspector2.UpdateEncryptionKeyInput, optFns ...func(*inspector2.Options)) (*inspector2.UpdateEncryptionKeyOutput, error)

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

func (*IClient) UpdateFilter

func (_m *IClient) UpdateFilter(ctx context.Context, params *inspector2.UpdateFilterInput, optFns ...func(*inspector2.Options)) (*inspector2.UpdateFilterOutput, error)

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

func (*IClient) UpdateOrgEc2DeepInspectionConfiguration

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

func (*IClient) UpdateOrganizationConfiguration

UpdateOrganizationConfiguration 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