package
0.0.0-20240409024651-c4af43db5027
Repository: https://github.com/ossf/package-analysis.git
Documentation: pkg.go.dev

# Functions

Copy copies a file from the host into the sandbox during initialisation.
EchoStdErr enables simple echoing of the sandboxed process stderr.
EchoStdOut enables simple echoing of the sandboxed process stdout.
EnablePacketLogging enables packet logging for the sandbox.
EnableRawSockets allows use of raw sockets in the sandbox.
EnableStrace enables strace functionality for the sandbox.
Image sets the image to be used by the sandbox.
InitNetwork initializes the host for sandbox network connections It will ensure that the network interface exists, and any firewall rules are configured.
No description provided by the author
LogStdErr enables wrapping each line of stderr from the sandboxed process as log.Warn line in the main container.
LogStdOut enables wrapping each line of stdout from sandboxed process as a log.Info line in the main container.
No description provided by the author
NoPull will disable the image for the sandbox from being pulled during Init.
Offline disables network functionality for the sandbox.
No description provided by the author
No description provided by the author
Volume can be used to specify an additional volume map into the container.

# Constants

NetworkInterface is the name of a network interface that has access to the sandbox network traffic.
RunStatusFailure is used to indicate that the command exited with some failure.
RunStatusSuccess is used to indicate that the command being executed successfully.
RunStatusTimeout is used to indicate that the command failed to complete within the allowed timeout.
RunStatusUnknown is used when some other issue occurred that prevented an attempt to run the command.

# Structs

No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author