Documentation
¶
Overview ¶
Package wsbuildorchestrator runs the background worker that fulfills workspace build orchestrations once their parent build reaches a terminal state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
Orchestrator fulfills workspace build orchestrations after their parent builds reach a terminal state.
func New ¶
func New(opts Options) *Orchestrator
New constructs an Orchestrator. Call Start to begin processing.
func (*Orchestrator) Close ¶
func (o *Orchestrator) Close()
Close stops the orchestrator and waits for its goroutines to exit.
func (*Orchestrator) Start ¶
func (o *Orchestrator) Start(ctx context.Context)
Start launches the orchestrator's background goroutines. It is safe to call more than once; only the first call has any effect. Call Close to stop the goroutines and wait for their exit.