supervise

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	RepoRoot        string
	ShutdownTimeout time.Duration
	ReadyTimeout    time.Duration
	WrapperExe      string
}

type Supervisor

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

func New

func New(opts Options) *Supervisor

func (*Supervisor) Start

func (s *Supervisor) Start(ctx context.Context, plan engine.LaunchPlan) (*state.State, error)

func (*Supervisor) Stop

func (s *Supervisor) Stop(ctx context.Context, st *state.State) error

Jump to

Keyboard shortcuts

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