Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunEmbedded ¶
RunEmbedded decrypts a sealed pack payload, materializes files under a session directory, applies packed env + SANDBOX_ROOT, executes the guest command with cwd at the materialize root, then removes the session directory.
args are the sealed binary's argv after the program name (os.Args[1:]). A leading "--" is skipped. Returns the guest process exit code (or a non-zero code on runner errors).
Types ¶
type PackBlob ¶
type PackBlob struct {
Version int `json:"version"`
Name string `json:"name"`
CreatedAt time.Time `json:"created_at"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
Comment string `json:"comment,omitempty"`
Files []PackFile `json:"files"`
Env map[string]string `json:"env"`
}
PackBlob is the cleartext payload sealed into a sandbox binary.
Click to show internal directories.
Click to hide internal directories.