processhandler

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerFactory added in v0.4.0

type LoggerFactory interface {
	GetGlobalLogger() (entities.Logger, messages.Error)
}

type OSWrapper

type OSWrapper interface {
	WaitForProcessToComplete(processPid int)
	FindProcess(processPid int) osfacade.Process
}

type ProcessHandler

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

func New

func New(
	loggerFactory LoggerFactory,
	osWrapper OSWrapper,
) *ProcessHandler

func (*ProcessHandler) KillProcess

func (f *ProcessHandler) KillProcess(processPid int) error

func (*ProcessHandler) WatchProcessAndGetTerminationChan

func (f *ProcessHandler) WatchProcessAndGetTerminationChan(processPid int) (<-chan struct{}, error)

Jump to

Keyboard shortcuts

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