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 ¶
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
Click to show internal directories.
Click to hide internal directories.