Documentation ¶
Index ¶
- type Silo
- func (silo *Silo) AddInputQueue(processorID uuid.UUID, queueID uuid.UUID) error
- func (silo *Silo) AddOutputQueue(processorID uuid.UUID, queueID uuid.UUID) error
- func (silo *Silo) CreateProcessor(processor interface_processor.ProcessorInterface, processorID uuid.UUID, ...) uuid.UUID
- func (silo *Silo) CreateQueue(queue interface_queue.QueueInterface, queueID uuid.UUID) uuid.UUID
- func (silo *Silo) ExportProcessors() (flow_model.Processors, error)
- func (silo *Silo) ExportQueues() (map[uuid.UUID]*actor.PID, error)
- func (silo *Silo) GetRegisteredProcessor(processorTypeName string) interface_processor.ProcessorInterface
- func (silo *Silo) GetRegisteredQueue(queueTypeName string) interface_queue.QueueInterface
- func (silo *Silo) Start() error
- func (silo *Silo) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Silo ¶
type Silo struct {
// contains filtered or unexported fields
}
Silo is the running instance of gambaru
func (*Silo) AddInputQueue ¶
AddInputQueue attaches an Input Queue to a processor
func (*Silo) AddOutputQueue ¶
AddOutputQueue attaches an Output Queue to a processor
func (*Silo) CreateProcessor ¶
func (silo *Silo) CreateProcessor(processor interface_processor.ProcessorInterface, processorID uuid.UUID, config *flow_model.Config) uuid.UUID
CreateProcessor returns the id of a created Processor
func (*Silo) CreateQueue ¶
func (silo *Silo) CreateQueue(queue interface_queue.QueueInterface, queueID uuid.UUID) uuid.UUID
CreateQueue returns an id of a created Queue
func (*Silo) ExportProcessors ¶
func (silo *Silo) ExportProcessors() (flow_model.Processors, error)
func (*Silo) GetRegisteredProcessor ¶
func (silo *Silo) GetRegisteredProcessor(processorTypeName string) interface_processor.ProcessorInterface
GetRegisteredProcessor returns a registered type of processor
func (*Silo) GetRegisteredQueue ¶
func (silo *Silo) GetRegisteredQueue(queueTypeName string) interface_queue.QueueInterface
GetRegisteredQueue returns a registered type of queue
Click to show internal directories.
Click to hide internal directories.