Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) Count(ctx context.Context, query *q.Query) (int64, error)
- func (_m *Manager) Create(ctx context.Context, registration *daoscanner.Registration) (string, error)
- func (_m *Manager) DefaultScannerUUID(ctx context.Context) (string, error)
- func (_m *Manager) Delete(ctx context.Context, registrationUUID string) error
- func (_m *Manager) Get(ctx context.Context, registrationUUID string) (*daoscanner.Registration, error)
- func (_m *Manager) GetDefault(ctx context.Context) (*daoscanner.Registration, error)
- func (_m *Manager) List(ctx context.Context, query *q.Query) ([]*daoscanner.Registration, error)
- func (_m *Manager) SetAsDefault(ctx context.Context, registrationUUID string) error
- func (_m *Manager) Update(ctx context.Context, registration *daoscanner.Registration) 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) Create ¶
func (_m *Manager) Create(ctx context.Context, registration *daoscanner.Registration) (string, error)
Create provides a mock function with given fields: ctx, registration
func (*Manager) DefaultScannerUUID ¶
DefaultScannerUUID provides a mock function with given fields: ctx
func (*Manager) Get ¶
func (_m *Manager) Get(ctx context.Context, registrationUUID string) (*daoscanner.Registration, error)
Get provides a mock function with given fields: ctx, registrationUUID
func (*Manager) GetDefault ¶
func (_m *Manager) GetDefault(ctx context.Context) (*daoscanner.Registration, error)
GetDefault provides a mock function with given fields: ctx
func (*Manager) List ¶
func (_m *Manager) List(ctx context.Context, query *q.Query) ([]*daoscanner.Registration, error)
List provides a mock function with given fields: ctx, query
func (*Manager) SetAsDefault ¶
SetAsDefault provides a mock function with given fields: ctx, registrationUUID
func (*Manager) Update ¶
func (_m *Manager) Update(ctx context.Context, registration *daoscanner.Registration) error
Update provides a mock function with given fields: ctx, registration