Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingOutputDir = errors.New("missing required field: server.output_dir")
View Source
var ErrMissingSandboxBuildContext = errors.New("missing required field: sandbox.build_context")
View Source
var ErrMissingSandboxDockerfile = errors.New("missing required field: sandbox.dockerfile")
View Source
var ErrMissingSandboxImage = errors.New("missing required field: sandbox.image")
Functions ¶
This section is empty.
Types ¶
type AllowPatternsConfig ¶
type AllowPatternsConfig struct {
Patterns []string `toml:"patterns"`
}
type Config ¶
type Config struct {
Server ServerConfig `toml:"server"`
Sandbox SandboxConfig `toml:"sandbox"`
AllowPatterns AllowPatternsConfig `toml:"allow_patterns"`
DenyPatterns DenyPatternsConfig `toml:"deny_patterns"`
Container ContainerConfig `toml:"container"`
Nono NonoConfig `toml:"nono"`
}
type ContainerConfig ¶
type ContainerConfig struct {
EnvPassthrough []string `toml:"env_passthrough"`
}
type DenyPatternsConfig ¶
type DenyPatternsConfig struct {
Patterns []string `toml:"patterns"`
}
type NonoConfig ¶
type NonoConfig struct {
Profile string `toml:"profile"`
}
type SandboxConfig ¶
type ServerConfig ¶
type ServerConfig struct {
OutputDir string `toml:"output_dir"`
}
Click to show internal directories.
Click to hide internal directories.