Documentation
¶
Index ¶
- func NewDefaultCacheFactory() interfaces.CacheFactory
- func NewDefaultFactory() interfaces.DatabaseDriverFactory
- func NewDefaultKVFactory() interfaces.KVFactory
- func NewDefaultMemoryRealtimeFactory() interfaces.RealtimeBusFactory
- func NewNoopPluginHost() interfaces.PluginHost
- type DefaultCacheFactory
- type DefaultFactory
- func (f *DefaultFactory) CreateProjectDriver(conf *models.Config, engineConfig *models.DriverCredentials) (interfaces.ProjectDBInterface, error)
- func (f *DefaultFactory) CreateSystemDriver(conf *models.Config, engineConfig *models.DriverCredentials) (interfaces.ApitoSystemDB, error)
- func (f *DefaultFactory) SupportsEngine(engine string) bool
- type DefaultKVFactory
- type DefaultMemoryRealtimeFactory
- type NoopPluginHost
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultCacheFactory ¶
func NewDefaultCacheFactory() interfaces.CacheFactory
func NewDefaultFactory ¶
func NewDefaultFactory() interfaces.DatabaseDriverFactory
func NewDefaultKVFactory ¶
func NewDefaultKVFactory() interfaces.KVFactory
func NewDefaultMemoryRealtimeFactory ¶
func NewDefaultMemoryRealtimeFactory() interfaces.RealtimeBusFactory
func NewNoopPluginHost ¶
func NewNoopPluginHost() interfaces.PluginHost
Types ¶
type DefaultCacheFactory ¶
type DefaultCacheFactory struct{}
DefaultCacheFactory creates cache drivers for open-core engines.
func (*DefaultCacheFactory) Create ¶
func (f *DefaultCacheFactory) Create(cfg *models.Config, engineType string) (interfaces.CacheDBInterface, error)
type DefaultFactory ¶
type DefaultFactory struct{}
DefaultFactory implements open-core database drivers (BBolt, SQL, Mongo).
func (*DefaultFactory) CreateProjectDriver ¶
func (f *DefaultFactory) CreateProjectDriver(conf *models.Config, engineConfig *models.DriverCredentials) (interfaces.ProjectDBInterface, error)
func (*DefaultFactory) CreateSystemDriver ¶
func (f *DefaultFactory) CreateSystemDriver(conf *models.Config, engineConfig *models.DriverCredentials) (interfaces.ApitoSystemDB, error)
func (*DefaultFactory) SupportsEngine ¶
func (f *DefaultFactory) SupportsEngine(engine string) bool
type DefaultKVFactory ¶
type DefaultKVFactory struct{}
DefaultKVFactory creates KV drivers for open-core engines.
func (*DefaultKVFactory) Create ¶
func (f *DefaultKVFactory) Create(engineType string, cfg *models.Config) (interfaces.KeyValueServiceInterface, error)
type DefaultMemoryRealtimeFactory ¶
type DefaultMemoryRealtimeFactory struct{}
DefaultMemoryRealtimeFactory creates the in-process memory realtime bus.
func (*DefaultMemoryRealtimeFactory) Create ¶
func (f *DefaultMemoryRealtimeFactory) Create(engineType string, cfg *models.Config) (interfaces.RealtimeBus, error)
type NoopPluginHost ¶
type NoopPluginHost struct{}
NoopPluginHost satisfies PluginHost without loading third-party plugins. A functions-enabled binary can replace it with a plugin supervisor at boot.
func (*NoopPluginHost) Load ¶
func (h *NoopPluginHost) Load(ctx context.Context, runtime interfaces.PluginRuntime) error
func (*NoopPluginHost) PrintRoutes ¶
func (h *NoopPluginHost) PrintRoutes()
func (*NoopPluginHost) StartMonitoring ¶
func (h *NoopPluginHost) StartMonitoring(ctx context.Context, runtime interfaces.PluginRuntime)
func (*NoopPluginHost) Wait ¶
func (h *NoopPluginHost) Wait()
Click to show internal directories.
Click to hide internal directories.