Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) BatchGetFindings(ctx context.Context, params *codegurusecurity.BatchGetFindingsInput, ...) (*codegurusecurity.BatchGetFindingsOutput, error)
- func (_m *IClient) CreateScan(ctx context.Context, params *codegurusecurity.CreateScanInput, ...) (*codegurusecurity.CreateScanOutput, error)
- func (_m *IClient) CreateUploadUrl(ctx context.Context, params *codegurusecurity.CreateUploadUrlInput, ...) (*codegurusecurity.CreateUploadUrlOutput, error)
- func (_m *IClient) GetAccountConfiguration(ctx context.Context, params *codegurusecurity.GetAccountConfigurationInput, ...) (*codegurusecurity.GetAccountConfigurationOutput, error)
- func (_m *IClient) GetFindings(ctx context.Context, params *codegurusecurity.GetFindingsInput, ...) (*codegurusecurity.GetFindingsOutput, error)
- func (_m *IClient) GetMetricsSummary(ctx context.Context, params *codegurusecurity.GetMetricsSummaryInput, ...) (*codegurusecurity.GetMetricsSummaryOutput, error)
- func (_m *IClient) GetScan(ctx context.Context, params *codegurusecurity.GetScanInput, ...) (*codegurusecurity.GetScanOutput, error)
- func (_m *IClient) ListFindingsMetrics(ctx context.Context, params *codegurusecurity.ListFindingsMetricsInput, ...) (*codegurusecurity.ListFindingsMetricsOutput, error)
- func (_m *IClient) ListScans(ctx context.Context, params *codegurusecurity.ListScansInput, ...) (*codegurusecurity.ListScansOutput, error)
- func (_m *IClient) ListTagsForResource(ctx context.Context, params *codegurusecurity.ListTagsForResourceInput, ...) (*codegurusecurity.ListTagsForResourceOutput, error)
- func (_m *IClient) Options() codegurusecurity.Options
- func (_m *IClient) TagResource(ctx context.Context, params *codegurusecurity.TagResourceInput, ...) (*codegurusecurity.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *codegurusecurity.UntagResourceInput, ...) (*codegurusecurity.UntagResourceOutput, error)
- func (_m *IClient) UpdateAccountConfiguration(ctx context.Context, params *codegurusecurity.UpdateAccountConfigurationInput, ...) (*codegurusecurity.UpdateAccountConfigurationOutput, 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) BatchGetFindings ¶
func (_m *IClient) BatchGetFindings(ctx context.Context, params *codegurusecurity.BatchGetFindingsInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.BatchGetFindingsOutput, error)
BatchGetFindings provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateScan ¶
func (_m *IClient) CreateScan(ctx context.Context, params *codegurusecurity.CreateScanInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.CreateScanOutput, error)
CreateScan provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateUploadUrl ¶
func (_m *IClient) CreateUploadUrl(ctx context.Context, params *codegurusecurity.CreateUploadUrlInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.CreateUploadUrlOutput, error)
CreateUploadUrl provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetAccountConfiguration ¶
func (_m *IClient) GetAccountConfiguration(ctx context.Context, params *codegurusecurity.GetAccountConfigurationInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.GetAccountConfigurationOutput, error)
GetAccountConfiguration provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetFindings ¶
func (_m *IClient) GetFindings(ctx context.Context, params *codegurusecurity.GetFindingsInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.GetFindingsOutput, error)
GetFindings provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetMetricsSummary ¶
func (_m *IClient) GetMetricsSummary(ctx context.Context, params *codegurusecurity.GetMetricsSummaryInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.GetMetricsSummaryOutput, error)
GetMetricsSummary provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetScan ¶
func (_m *IClient) GetScan(ctx context.Context, params *codegurusecurity.GetScanInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.GetScanOutput, error)
GetScan provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListFindingsMetrics ¶
func (_m *IClient) ListFindingsMetrics(ctx context.Context, params *codegurusecurity.ListFindingsMetricsInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.ListFindingsMetricsOutput, error)
ListFindingsMetrics provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListScans ¶
func (_m *IClient) ListScans(ctx context.Context, params *codegurusecurity.ListScansInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.ListScansOutput, error)
ListScans provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListTagsForResource ¶
func (_m *IClient) ListTagsForResource(ctx context.Context, params *codegurusecurity.ListTagsForResourceInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.ListTagsForResourceOutput, error)
ListTagsForResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) Options ¶
func (_m *IClient) Options() codegurusecurity.Options
Options provides a mock function with given fields:
func (*IClient) TagResource ¶
func (_m *IClient) TagResource(ctx context.Context, params *codegurusecurity.TagResourceInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.TagResourceOutput, error)
TagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UntagResource ¶
func (_m *IClient) UntagResource(ctx context.Context, params *codegurusecurity.UntagResourceInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.UntagResourceOutput, error)
UntagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateAccountConfiguration ¶
func (_m *IClient) UpdateAccountConfiguration(ctx context.Context, params *codegurusecurity.UpdateAccountConfigurationInput, optFns ...func(*codegurusecurity.Options)) (*codegurusecurity.UpdateAccountConfigurationOutput, error)
UpdateAccountConfiguration provides a mock function with given fields: ctx, params, optFns