18 lines
465 B
Go
18 lines
465 B
Go
package dockerd
|
|
|
|
type Config struct {
|
|
Features map[string]bool `json:"features,omitempty"`
|
|
Mirrors []string `json:"registry-mirrors,omitempty"`
|
|
Builder BuilderConfig `json:"builder"`
|
|
}
|
|
|
|
type BuilderEntitlements struct {
|
|
NetworkHost bool `json:"network-host,omitempty"`
|
|
SecurityInsecure bool `json:"security-insecure,omitempty"`
|
|
Device bool `json:"device,omitempty"`
|
|
}
|
|
|
|
type BuilderConfig struct {
|
|
Entitlements BuilderEntitlements
|
|
}
|