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/apptainer/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/apptainer/process_linux.go
type RegisterImageDriver ¶
RegisterImageDriver callback is called before the container creation setup to register an image driver. This callback is called in: - internal/pkg/runtime/engine/apptainer/container_linux.go