Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) Create(ctx context.Context, r *model.Report) (string, error)
- func (_m *Manager) Delete(ctx context.Context, uuid string) error
- func (_m *Manager) DeleteByArtifactID(ctx context.Context, artifactID int64) error
- func (_m *Manager) DeleteByExtraAttr(ctx context.Context, mimeType string, attrName string, attrValue string) error
- func (_m *Manager) GetBy(ctx context.Context, artifactID int64, registrationUUID string, ...) ([]*model.Report, error)
- func (_m *Manager) List(ctx context.Context, query *q.Query) ([]*model.Report, error)
- func (_m *Manager) Update(ctx context.Context, r *model.Report, cols ...string) error
- func (_m *Manager) UpdateReportData(ctx context.Context, uuid string, report 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) DeleteByArtifactID ¶
DeleteByArtifactID provides a mock function with given fields: ctx, artifactID
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, artifactID int64, registrationUUID string, mimeType string, mediaType string) ([]*model.Report, error)
GetBy provides a mock function with given fields: ctx, artifactID, registrationUUID, mimeType, mediaType
Click to show internal directories.
Click to hide internal directories.