package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Feb 18, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Address string `toml:"address"`
Root string `toml:"root"`
ExternalBuilder string `toml:"external_builder"`
ImageService ImageServiceConfig `toml:"image_service"`
}
Config provides nix-snapshotter configuration data.
New returns a default config.
Load will unmarshal a toml file at the given config path and merge it
with this config. If it doesn't exist, then do nothing.
Merge will fill any attributes with non-empty override attribute values.
type ImageServiceConfig struct {
Enable bool `toml:"enable"`
ContainerdAddress string `toml:"containerd_address"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.