Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) Count(ctx context.Context, query *q.Query) (int64, error)
- func (_m *Manager) Create(ctx context.Context, registry *model.Registry) (int64, error)
- func (_m *Manager) CreateAdapter(ctx context.Context, registry *model.Registry) (adapter.Adapter, error)
- func (_m *Manager) Delete(ctx context.Context, id int64) error
- func (_m *Manager) Get(ctx context.Context, id int64) (*model.Registry, error)
- func (_m *Manager) List(ctx context.Context, query *q.Query) ([]*model.Registry, error)
- func (_m *Manager) ListRegistryProviderInfos(ctx context.Context) (map[string]*model.AdapterPattern, error)
- func (_m *Manager) ListRegistryProviderTypes(ctx context.Context) ([]string, error)
- func (_m *Manager) Update(ctx context.Context, registry *model.Registry, props ...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) CreateAdapter ¶
func (_m *Manager) CreateAdapter(ctx context.Context, registry *model.Registry) (adapter.Adapter, error)
CreateAdapter provides a mock function with given fields: ctx, registry
func (*Manager) ListRegistryProviderInfos ¶
func (_m *Manager) ListRegistryProviderInfos(ctx context.Context) (map[string]*model.AdapterPattern, error)
ListRegistryProviderInfos provides a mock function with given fields: ctx
func (*Manager) ListRegistryProviderTypes ¶
ListRegistryProviderTypes provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.