Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) Create(ctx context.Context, r *scan.Report) (string, error)
- func (_m *Manager) Delete(ctx context.Context, uuid string) error
- func (_m *Manager) DeleteByDigests(ctx context.Context, digests ...string) error
- func (_m *Manager) DeleteByExtraAttr(ctx context.Context, mimeType string, attrName string, attrValue string) error
- func (_m *Manager) GetBy(ctx context.Context, digest string, registrationUUID string, ...) ([]*scan.Report, error)
- func (_m *Manager) List(ctx context.Context, query *q.Query) ([]*scan.Report, error)
- func (_m *Manager) Update(ctx context.Context, r *scan.Report, cols ...string) error
- func (_m *Manager) UpdateReportData(ctx context.Context, uuid string, _a2 string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
NewManager creates a new instance of Manager. 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 (*Manager) DeleteByDigests ¶
DeleteByDigests provides a mock function with given fields: ctx, digests
func (*Manager) DeleteByExtraAttr ¶
func (_m *Manager) DeleteByExtraAttr(ctx context.Context, mimeType string, attrName string, attrValue string) error
DeleteByExtraAttr provides a mock function with given fields: ctx, mimeType, attrName, attrValue
func (*Manager) GetBy ¶
func (_m *Manager) GetBy(ctx context.Context, digest string, registrationUUID string, mimeTypes []string) ([]*scan.Report, error)
GetBy provides a mock function with given fields: ctx, digest, registrationUUID, mimeTypes
Click to show internal directories.
Click to hide internal directories.