Documentation ¶
Index ¶
- type Controller
- func (_m *Controller) CountVuls(ctx context.Context, scannerUUID string, projectID int64, tuneCount bool, ...) (int64, error)
- func (_m *Controller) ListVuls(ctx context.Context, scannerUUID string, projectID int64, withTag bool, ...) ([]*model.VulnerabilityItem, error)
- func (_m *Controller) SecuritySummary(ctx context.Context, projectID int64, options ...securityhub.Option) (*model.Summary, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller is an autogenerated mock type for the Controller type
func NewController ¶
func NewController(t interface { mock.TestingT Cleanup(func()) }) *Controller
NewController creates a new instance of Controller. 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 (*Controller) CountVuls ¶
func (_m *Controller) CountVuls(ctx context.Context, scannerUUID string, projectID int64, tuneCount bool, query *q.Query) (int64, error)
CountVuls provides a mock function with given fields: ctx, scannerUUID, projectID, tuneCount, query
func (*Controller) ListVuls ¶
func (_m *Controller) ListVuls(ctx context.Context, scannerUUID string, projectID int64, withTag bool, query *q.Query) ([]*model.VulnerabilityItem, error)
ListVuls provides a mock function with given fields: ctx, scannerUUID, projectID, withTag, query
func (*Controller) SecuritySummary ¶
func (_m *Controller) SecuritySummary(ctx context.Context, projectID int64, options ...securityhub.Option) (*model.Summary, error)
SecuritySummary provides a mock function with given fields: ctx, projectID, options
Click to show internal directories.
Click to hide internal directories.