Documentation
¶
Index ¶
Constants ¶
View Source
const (
AdditionalMountDirectory = "/agbx"
)
Variables ¶
View Source
var ErrNotFound = errors.New("config file not found")
Functions ¶
Types ¶
type Config ¶
type Config struct {
Providers map[string]ProviderConfig `yaml:"providers,omitempty"`
Image Image `yaml:"image"`
Mounts []Mount `yaml:"mounts,omitempty"`
Version int `yaml:"version"`
}
func LoadDefault ¶
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 ProviderConfig ¶
type ProviderConfig struct {
Mounts []Mount `yaml:"mounts,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.