singularity

package
v0.0.0-...-61a3083 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 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 MonitorContainer

type MonitorContainer func(config *config.Common, pid int, signals chan os.Signal) (syscall.WaitStatus, error)

MonitorContainer callback allows to monitor container process. The plugin callback must implement the signal handler responsible of tracking container process status, it's also responsible to propagate signals to container process. If more than one plugin uses this callback the runtime aborts its execution. This callback is called in: - internal/pkg/runtime/engine/singularity/monitor_linux.go

type PostStartProcess

type PostStartProcess func(config *config.Common, pid int) error

PostStartProcess callback is called after the container process started. It's a good place to add custom logger and/or notifier. This callback is called in: - internal/pkg/runtime/engine/singularity/process_linux.go

Jump to

Keyboard shortcuts

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