Documentation
¶
Index ¶
- Constants
- func IsPolicyCompatibilityError(err error) bool
- func NewCoreTools(host Host, toolsBinDir, projectRoot string) []tools.Tool
- func PlatformRequiresBoxsh() bool
- func PlatformSupportsBoxsh() bool
- type DirEntry
- type Edit
- type EditResult
- type ExecOptions
- type ExecResult
- type Factory
- type FilesystemPolicy
- type HTTPOptions
- type HTTPResult
- type HTTPStream
- type Host
- type LineOrientedReaderHost
- type NetworkMode
- type NetworkPolicy
- type Policy
- type PolicyCompatibilityError
- type ProcessHandle
- type ProcessPolicy
- type ProcessRequest
- type ReadResult
- type Registry
- type Session
- type StatResult
- type TempFile
- type WriteResult
Constants ¶
View Source
const ( NetworkDisabled = sandboxpkg.NetworkDisabled NetworkAllowAll = sandboxpkg.NetworkAllowAll NetworkWhitelist = sandboxpkg.NetworkWhitelist )
Variables ¶
This section is empty.
Functions ¶
func NewCoreTools ¶
NewCoreTools returns the unified host-backed core tools.
func PlatformRequiresBoxsh ¶
func PlatformRequiresBoxsh() bool
func PlatformSupportsBoxsh ¶
func PlatformSupportsBoxsh() bool
Types ¶
type DirEntry ¶
type DirEntry = sandboxpkg.DirEntry
type Edit ¶
type Edit = sandboxpkg.Edit
type EditResult ¶
type EditResult = sandboxpkg.EditResult
type ExecOptions ¶
type ExecOptions = sandboxpkg.ExecOptions
type ExecResult ¶
type ExecResult = sandboxpkg.ExecResult
type Factory ¶
type Factory = sandboxpkg.Factory
type FilesystemPolicy ¶
type FilesystemPolicy = sandboxpkg.FilesystemPolicy
type HTTPOptions ¶
type HTTPOptions = sandboxpkg.HTTPOptions
type HTTPResult ¶
type HTTPResult = sandboxpkg.HTTPResult
type HTTPStream ¶
type HTTPStream = sandboxpkg.HTTPStream
type Host ¶
type Host = sandboxpkg.Host
type LineOrientedReaderHost ¶
type NetworkMode ¶
type NetworkMode = sandboxpkg.NetworkMode
type NetworkPolicy ¶
type NetworkPolicy = sandboxpkg.NetworkPolicy
type Policy ¶
type Policy = sandboxpkg.Policy
type PolicyCompatibilityError ¶
type PolicyCompatibilityError = sandboxpkg.PolicyCompatibilityError
type ProcessHandle ¶
type ProcessHandle = sandboxpkg.ProcessHandle
type ProcessPolicy ¶
type ProcessPolicy = sandboxpkg.ProcessPolicy
type ProcessRequest ¶
type ProcessRequest = sandboxpkg.ProcessRequest
type ReadResult ¶
type ReadResult = sandboxpkg.ReadResult
type Registry ¶
type Registry = sandboxpkg.Registry
func DefaultRegistry ¶
func DefaultRegistry() *Registry
func GlobalRegistry ¶
func GlobalRegistry() *Registry
func NewRegistry ¶
func NewRegistry() *Registry
type StatResult ¶
type StatResult = sandboxpkg.StatResult
type TempFile ¶
type TempFile = sandboxpkg.TempFile
type WriteResult ¶
type WriteResult = sandboxpkg.WriteResult
Click to show internal directories.
Click to hide internal directories.