MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / load_config_figment

Function load_config_figment

kms/src/config.rs:11–13  ·  view source on GitHub ↗
(config_file: Option<&str>)

Source from the content-addressed store, hash-verified

9pub const DEFAULT_CONFIG: &str = include_str!("../kms.toml");
10
11pub fn load_config_figment(config_file: Option<&str>) -> Figment {
12 load_config("kms", DEFAULT_CONFIG, config_file, false)
13}
14
15const TEMP_CA_CERT: &str = "tmp-ca.crt";
16const TEMP_CA_KEY: &str = "tmp-ca.key";

Callers 1

mainFunction · 0.70

Calls 1

load_configFunction · 0.50

Tested by

no test coverage detected