Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectDefaultGCCap ¶ added in v0.4.0
Types ¶
type Config ¶
type Config struct { Debug bool `toml:"debug"` // Root is the path to a directory where buildkit will store persistent data Root string `toml:"root"` //Entitlements e.g. security.insecure, network.host Entitlements []string `toml:"insecure-entitlements"` // GRPC configuration settings GRPC GRPCConfig `toml:"grpc"` Workers struct { OCI OCIConfig `toml:"oci"` Containerd ContainerdConfig `toml:"containerd"` } `toml:"worker"` Registries map[string]RegistryConfig `toml:"registry"` DNS *DNSConfig `toml:"dns"` }
Config provides containerd configuration data for the server
type ContainerdConfig ¶
type GCPolicy ¶
type GCPolicy struct { All bool `toml:"all"` KeepBytes int64 `toml:"keepBytes"` KeepDuration int64 `toml:"keepDuration"` Filters []string `toml:"filters"` }
func DefaultGCPolicy ¶
type GRPCConfig ¶
type NetworkConfig ¶ added in v0.6.0
type OCIConfig ¶
type OCIConfig struct { Enabled *bool `toml:"enabled"` Labels map[string]string `toml:"labels"` Platforms []string `toml:"platforms"` Snapshotter string `toml:"snapshotter"` Rootless bool `toml:"rootless"` NoProcessSandbox bool `toml:"noProcessSandbox"` GCConfig NetworkConfig // UserRemapUnsupported is unsupported key for testing. The feature is // incomplete and the intention is to make it default without config. UserRemapUnsupported string `toml:"userRemapUnsupported"` }
type RegistryConfig ¶
Click to show internal directories.
Click to hide internal directories.