Documentation ¶
Index ¶
- type ServiceFactory
- type UnimplementedServiceFactory
- func (p *UnimplementedServiceFactory) NewDocumentService() (document.DocumentService, error)
- func (p *UnimplementedServiceFactory) NewEventService() (events.EventService, error)
- func (p *UnimplementedServiceFactory) NewGatewayService() (gateway.GatewayService, error)
- func (p *UnimplementedServiceFactory) NewQueueService() (queue.QueueService, error)
- func (p *UnimplementedServiceFactory) NewStorageService() (storage.StorageService, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceFactory ¶
type ServiceFactory interface { NewDocumentService() (document.DocumentService, error) NewEventService() (events.EventService, error) NewGatewayService() (gateway.GatewayService, error) NewQueueService() (queue.QueueService, error) NewStorageService() (storage.StorageService, error) }
ServiceFactory - interface for Service Factory Plugins, which instantiate provider specific service implementations.
type UnimplementedServiceFactory ¶
type UnimplementedServiceFactory struct { }
UnimplementedServiceFactory - provides stub methods for a ServiceFactory which return Unimplemented Methods.
Returning nil from a New service method is a valid response. Without an accompanying error, this will be interpreted as the method being explicitly unimplemented.
Plugin Factories with unimplemented New methods are only supported when the TOLERATE_MISSING_SERVICE option is set to true when executing the pluggable membrane.
func (*UnimplementedServiceFactory) NewDocumentService ¶
func (p *UnimplementedServiceFactory) NewDocumentService() (document.DocumentService, error)
NewDocumentService - Unimplemented
func (*UnimplementedServiceFactory) NewEventService ¶
func (p *UnimplementedServiceFactory) NewEventService() (events.EventService, error)
NewEventService - Unimplemented
func (*UnimplementedServiceFactory) NewGatewayService ¶
func (p *UnimplementedServiceFactory) NewGatewayService() (gateway.GatewayService, error)
NewGatewayService - Unimplemented
func (*UnimplementedServiceFactory) NewQueueService ¶
func (p *UnimplementedServiceFactory) NewQueueService() (queue.QueueService, error)
NewQueueService - Unimplemented
func (*UnimplementedServiceFactory) NewStorageService ¶
func (p *UnimplementedServiceFactory) NewStorageService() (storage.StorageService, error)
NewStorageService - Unimplemented