local

package
v0.0.0-...-4fa2157 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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