Documentation
¶
Overview ¶
Package worker implements the daemon's background deployment worker, job queue, and concurrency management. It coordinates deployment tasks, tracks active jobs, and integrates with service orchestration and store layers. All deployment job execution logic and internal worker state are encapsulated in this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func New ¶
func New(m int, c *shared.Config, l *shared.Logger, d store.DeploymentStore, s store.ServiceStore) *Worker
New creates a new Worker instance
func (*Worker) ActiveJobs ¶ added in v0.5.0
ActiveJobs returns the current count of active jobs
Click to show internal directories.
Click to hide internal directories.