Documentation
¶
Overview ¶
Package supervisor supplies explicit, host-leased runtime process ownership.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Main ¶
func Main(args []string)
Main is the dedicated supervisor executable entry point; it always exits the process. It must never run inside the host or the runtime plugin process. On Windows, exiting closes the supervisor's non-inherited Job Object handle.
Types ¶
type Options ¶
type Options struct {
SupervisorBinary string
SupervisorArgs []string
RuntimeBinary string
Args []string
Env []string
Directory string
}
Options selects already verified executables. Env overrides the environment selected by go-plugin. Restricting runtime inheritance requires the client to set SkipHostEnv; supplying a few Env entries alone does not restrict it. Client-assigned transport metadata takes precedence over Env overrides.
Click to show internal directories.
Click to hide internal directories.