Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) Count(ctx context.Context, query *q.Query) (int64, error)
- func (_m *Manager) Create(ctx context.Context, _a1 model.AccessoryData) (int64, error)
- func (_m *Manager) Delete(ctx context.Context, id int64) error
- func (_m *Manager) DeleteAccessories(ctx context.Context, _a1 *q.Query) error
- func (_m *Manager) Ensure(ctx context.Context, subArtDigest string, subArtRepo string, subArtID int64, ...) error
- func (_m *Manager) Get(ctx context.Context, id int64) (model.Accessory, error)
- func (_m *Manager) List(ctx context.Context, query *q.Query) ([]model.Accessory, error)
- func (_m *Manager) Update(ctx context.Context, _a1 model.AccessoryData) 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) DeleteAccessories ¶
DeleteAccessories provides a mock function with given fields: ctx, _a1
func (*Manager) Ensure ¶
func (_m *Manager) Ensure(ctx context.Context, subArtDigest string, subArtRepo string, subArtID int64, artifactID int64, size int64, digest string, accType string) error
Ensure provides a mock function with given fields: ctx, subArtDigest, subArtRepo, subArtID, artifactID, size, digest, accType
Click to show internal directories.
Click to hide internal directories.