silo_manager

package
v0.0.0-...-8ab07fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddInputQueueMessage

type AddInputQueueMessage struct {
	ProcessorID uuid.UUID
	QueueID     uuid.UUID
}

type AddInputQueueOKMessage

type AddInputQueueOKMessage struct{}

type AddOutputQueueMessage

type AddOutputQueueMessage struct {
	ProcessorID uuid.UUID
	QueueID     uuid.UUID
}

type AddOutputQueueOKMessage

type AddOutputQueueOKMessage struct{}

type CreateProcessorMessage

type CreateProcessorMessage struct {
	Processor interface_processor.ProcessorInterface
	ID        uuid.UUID
	Config    *flow_model.Config
}

type CreateProcessorOKMessage

type CreateProcessorOKMessage struct {
	PID uuid.UUID
}

type CreateQueueMessage

type CreateQueueMessage struct {
	Queue      interface_queue.QueueInterface
	ID         uuid.UUID
	Repository *repository.WALRepository
}

type CreateQueueOKMessage

type CreateQueueOKMessage struct {
	PID uuid.UUID
}

type GetProcessorsMessage

type GetProcessorsMessage struct{}

type GetProcessorsOKMessage

type GetProcessorsOKMessage struct {
	Processors map[uuid.UUID]*actor.PID
}

type GetQueuesMessage

type GetQueuesMessage struct{}

type GetQueuesOKMessage

type GetQueuesOKMessage struct {
	Queues map[uuid.UUID]*actor.PID
}

type SiloManager

type SiloManager struct {
	// contains filtered or unexported fields
}

func NewSiloManager

func NewSiloManager() *SiloManager

func (*SiloManager) AddInputQueue

func (state *SiloManager) AddInputQueue(processorID uuid.UUID, queueID uuid.UUID) error

func (*SiloManager) AddOutputQueue

func (state *SiloManager) AddOutputQueue(processorID uuid.UUID, queueID uuid.UUID) error

func (*SiloManager) CreateNewProcessor

func (state *SiloManager) CreateNewProcessor(msg *CreateProcessorMessage) (uuid.UUID, error)

func (*SiloManager) CreateNewQueue

func (state *SiloManager) CreateNewQueue(msg *CreateQueueMessage) (uuid.UUID, error)

func (*SiloManager) GetProcessors

func (state *SiloManager) GetProcessors() map[uuid.UUID]*actor.PID

func (*SiloManager) Receive

func (state *SiloManager) Receive(context actor.Context)

func (*SiloManager) StartSilo

func (state *SiloManager) StartSilo() error

func (*SiloManager) StopSilo

func (state *SiloManager) StopSilo() error

type StartSiloMessage

type StartSiloMessage struct{}

type StartSiloOKMessage

type StartSiloOKMessage struct{}

type StopSiloMessage

type StopSiloMessage struct{}

type StopSiloOKMessage

type StopSiloOKMessage struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL