local

package
v0.0.0-...-bef5c4b Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessSupervisor

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

func NewProcessSupervisor

func NewProcessSupervisor(opts ...ProcessSupervisorOption) *ProcessSupervisor

func (*ProcessSupervisor) Events

func (s *ProcessSupervisor) Events(ctx context.Context) (<-chan model.Event, error)

func (*ProcessSupervisor) Exec

func (*ProcessSupervisor) Exit

func (*ProcessSupervisor) Exit(ctx context.Context)

func (*ProcessSupervisor) Kill

func (*ProcessSupervisor) StopAll

func (s *ProcessSupervisor) StopAll(ctx context.Context, deadline time.Time) error

func (*ProcessSupervisor) Terminate

func (s *ProcessSupervisor) Terminate(ctx context.Context, req *model.TerminateRequest) error

type ProcessSupervisorOption

type ProcessSupervisorOption func(ls *ProcessSupervisor)

func MsgLogFile

func MsgLogFile(file *os.File) ProcessSupervisorOption

func WithLowerPriorities

func WithLowerPriorities(lowerPriorities bool) ProcessSupervisorOption

func WithProcessCredential

func WithProcessCredential(credential *syscall.Credential) ProcessSupervisorOption

Jump to

Keyboard shortcuts

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