Files
kata-containers/src/libs
Pavel Mores 87b97b6994 runtime-rs: add filesystem-related part of drop-in handling
The central function being added here is load() which takes a path to a
base config file and uses it to load the base config file itself, find
the corresponding drop-in directory (get_dropin_dir_path()), iterate
through its contents (update_from_dropins()) and load each drop-in in
turn and merge its contents with the base file (update_from_dropin()).

Also added is a test of load() which mirrors the corresponding test in
the golang runtime (TestLoadDropInConfiguration() in config_test.go).

Signed-off-by: Pavel Mores <pmores@redhat.com>
2022-08-19 11:01:29 +02:00
..
2022-06-13 13:38:37 +08:00
2022-06-10 18:25:24 +08:00

The src/libs directory hosts library crates which may be shared by multiple Kata Containers components or published to crates.io.

Library Crates

Currently it provides following library crates:

Library Description
logging Facilities to setup logging subsystem based on slog.
system utilities Collection of facilities and helpers to access system services.
types Collection of constants and data types shared by multiple Kata Containers components.
safe-path Utilities to safely resolve filesystem paths.