Documentation
¶
Overview ¶
Package controlspace launches a session worker in the control agent space, as a child process of the controller.
The child is the same Peen binary running `peen worker`, started in the session workspace under the controller's own process identity. Its launch document arrives on stdin, so the credential never appears in the process table or on disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Launcher ¶
type Launcher struct {
// contains filtered or unexported fields
}
Launcher starts control workers.
type Options ¶
type Options struct {
// BinaryPath is the Peen binary to run. Empty means this process's own
// executable, which is what makes a control worker the same build as its
// controller.
BinaryPath string
// Environment is the base environment every worker inherits. Empty means
// the controller's own.
Environment []string
}
Options builds a control launcher.
Click to show internal directories.
Click to hide internal directories.