package config
import "github.com/moby/buildkit/cmd/buildkitd/config"
Index ¶
- type Config
- func Load(r io.Reader) (Config, *toml.MetaData, error)
- func LoadFile(fp string) (Config, *toml.MetaData, error)
- type ContainerdConfig
- type GCPolicy
- type GRPCConfig
- type OCIConfig
- type RegistryConfig
- type TLSConfig
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"` // 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"` }
Config provides containerd configuration data for the server
func Load ¶
func LoadFile ¶
type ContainerdConfig ¶
type ContainerdConfig struct { Address string `toml:"address"` Enabled *bool `toml:"enabled"` Labels map[string]string `toml:"labels"` Platforms []string `toml:"platforms"` GCPolicy []GCPolicy `toml:"gcpolicy"` Namespace string `toml:"namespace"` }
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 GRPCConfig struct { Address []string `toml:"address"` DebugAddress string `toml:"debugAddress"` UID int `toml:"uid"` GID int `toml:"gid"` TLS TLSConfig `toml:"tls"` }
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"` GCPolicy []GCPolicy `toml:"gcpolicy"` }
type RegistryConfig ¶
type TLSConfig ¶
Source Files ¶
config.go gcpolicy.go gcpolicy_unix.go
- Version
- v0.3.0
- Published
- Oct 12, 2018
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 3 minutes ago –
Tools for package owners.