Documentation ¶
Index ¶
- type DAO
- func (_m *DAO) Create(ctx context.Context, systemArtifact *model.SystemArtifact) (int64, error)
- func (_m *DAO) Delete(ctx context.Context, vendor string, repository string, digest string) error
- func (_m *DAO) Get(ctx context.Context, vendor string, repository string, digest string) (*model.SystemArtifact, error)
- func (_m *DAO) List(ctx context.Context, query *q.Query) ([]*model.SystemArtifact, error)
- func (_m *DAO) Size(ctx context.Context) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
DAO is an autogenerated mock type for the DAO type
func NewDAO ¶
NewDAO creates a new instance of DAO. 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 (*DAO) Delete ¶
Delete provides a mock function with given fields: ctx, vendor, repository, digest
func (*DAO) Get ¶
func (_m *DAO) Get(ctx context.Context, vendor string, repository string, digest string) (*model.SystemArtifact, error)
Get provides a mock function with given fields: ctx, vendor, repository, digest
Click to show internal directories.
Click to hide internal directories.