Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributedWorker ¶
type DistributedWorker struct {
// contains filtered or unexported fields
}
func (*DistributedWorker) StartProcessing ¶
func (dw *DistributedWorker) StartProcessing( ctx context.Context, subject string, ) error
type NetworkStats ¶
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
func NewOrchestrator ¶
func NewOrchestrator( metrics *metrics.QuantumStorageMetrics, tracer tracing.Tracer, natsConn *nats.Conn, ) *Orchestrator
func (*Orchestrator) RegisterWorker ¶
func (o *Orchestrator) RegisterWorker( ctx context.Context, worker *Worker, ) error
func (*Orchestrator) SubmitTask ¶
func (o *Orchestrator) SubmitTask( ctx context.Context, task *Task, ) error
type ResourceUsage ¶
type ResourceUsage struct { CPU float64 Memory float64 Storage float64 Network NetworkStats }
type TaskProcessor ¶
type TaskStatus ¶
type TaskStatus string
type WorkerMetrics ¶
type WorkerStatus ¶
Click to show internal directories.
Click to hide internal directories.