Documentation
¶
Index ¶
- type FakeManager
- func (_m *FakeManager) Count(ctx context.Context, query *q.Query) (int64, error)
- func (_m *FakeManager) Delete(ctx context.Context, id int64) error
- func (_m *FakeManager) Get(ctx context.Context, id int64) (*provider.Instance, error)
- func (_m *FakeManager) GetByName(ctx context.Context, name string) (*provider.Instance, error)
- func (_m *FakeManager) List(ctx context.Context, query *q.Query) ([]*provider.Instance, error)
- func (_m *FakeManager) Save(ctx context.Context, inst *provider.Instance) (int64, error)
- func (_m *FakeManager) Update(ctx context.Context, inst *provider.Instance, props ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeManager ¶
FakeManager is an autogenerated mock type for the Manager type
func (*FakeManager) Delete ¶
func (_m *FakeManager) Delete(ctx context.Context, id int64) error
Delete provides a mock function with given fields: ctx, id
Click to show internal directories.
Click to hide internal directories.