Documentation
¶
Index ¶
Constants ¶
View Source
const (
AdditionalMountDirectory = "/agbx"
)
Variables ¶
View Source
var ErrNotFound = errors.New("config file not found")
Functions ¶
Types ¶
type AuditConfig ¶ added in v0.2.0
type AuditConfig struct {
LogDirectory string `yaml:"log_directory"`
Redact AuditRedaction `yaml:"redact,omitempty"`
Retention AuditRetention `yaml:"retention,omitempty"`
}
func (AuditConfig) Validate ¶ added in v0.2.0
func (c AuditConfig) Validate() error
type AuditRedaction ¶ added in v0.2.0
type AuditRedaction struct {
Headers []string `yaml:"headers,omitempty"`
QueryParameters []string `yaml:"query_parameters,omitempty"`
}
func (AuditRedaction) Validate ¶ added in v0.2.0
func (c AuditRedaction) Validate() error
type AuditRetention ¶ added in v0.2.0
type Config ¶
type Config struct {
Network NetworkConfig `yaml:"network,omitempty"`
Prepare PrepareConfig `yaml:"prepare,omitempty"`
Providers map[string]ProviderConfig `yaml:"providers,omitempty"`
Image Image `yaml:"image"`
Mounts []Mount `yaml:"mounts,omitempty"`
Version int `yaml:"version"`
}
func LoadDefault ¶
func LoadDefaultWithPath ¶ added in v0.2.0
func (Config) DockerfilesForProvider ¶ added in v0.2.0
type Image ¶
type Mount ¶
type Mount struct {
ReadOnly *bool `yaml:"read_only,omitempty"`
Source string `yaml:"source"`
Target string `yaml:"target"`
}
func (Mount) IsReadOnly ¶
type NetworkConfig ¶ added in v0.2.0
type NetworkConfig struct {
Audit *AuditConfig `yaml:"audit,omitempty"`
}
type PrepareConfig ¶ added in v0.2.0
type PrepareConfig struct {
Dockerfiles []string `yaml:"dockerfiles,omitempty"`
}
type ProviderConfig ¶
Click to show internal directories.
Click to hide internal directories.