Skip to main content

Crate lerna

Crate lerna 

Source
Expand description

Lerna - A configuration management library

Re-exports§

pub use callback::Callback;
pub use callback::CallbackError;
pub use callback::CallbackManager;
pub use callback::CallbackResult;
pub use callback::JobReturn;
pub use callback::LoggingCallback;
pub use callback::NoOpCallback;
pub use config::get_path_scheme;
pub use config::CachingConfigRepository;
pub use config::ConfigDict;
pub use config::ConfigLoadError;
pub use config::ConfigLoader;
pub use config::ConfigRepository;
pub use config::ConfigResult;
pub use config::ConfigValue;
pub use config::SearchPathElement;
pub use config::SearchPathEntry;
pub use config_store::instance as config_store_instance;
pub use config_store::ConfigNode;
pub use config_store::ConfigStore;
pub use core::object_type::ObjectType;
pub use glob::Glob;
pub use job_runner::compute_output_dir as compute_job_output_dir;
pub use job_runner::create_output_dirs;
pub use job_runner::save_config_file;
pub use job_runner::save_overrides_file;
pub use job_runner::serialize_config_to_yaml;
pub use job_runner::setup_job_environment;
pub use job_runner::JobContext;
pub use job_runner::JobResult as JobRunnerResult;
pub use job_runner::JobStatus;
pub use launcher::BasicLauncher;
pub use launcher::JobOverrideBatch;
pub use launcher::JobOverrides;
pub use launcher::Launcher;
pub use launcher::LauncherError;
pub use launcher::LauncherManager;
pub use parser::FunctionCallback;
pub use parser::OverrideParser;
pub use sweep::expand_simple_sweeps;
pub use sweep::expand_sweeps;
pub use sweeper::BasicSweeper;
pub use sweeper::Sweeper;
pub use sweeper::SweeperError;
pub use sweeper::SweeperManager;
pub use utils::escape_special_characters;
pub use utils::get_valid_filename;
pub use utils::is_special_char;
pub use utils::is_valid_key;
pub use utils::join_key;
pub use utils::normalize_file_name;
pub use utils::sanitize_path_component;
pub use utils::split_key;
pub use utils::unescape_string;
pub use config_path::*;
pub use core::override_types::*;
pub use defaults::*;

Modules§

callback
Callback trait for lifecycle hooks
config
Configuration loading and management
config_path
Configuration path utilities
config_store
ConfigStore - A singleton store for structured configurations.
core
Core types for the lerna configuration framework.
defaults
Default element types for configuration composition
defaults_list
Defaults list builder and processor
env
Environment variable handling for configuration resolution.
glob
Glob pattern matching utilities
interpolation
Interpolation resolution engine
job
Job configuration module for multirun/sweep jobs
job_runner
Job runner module - handles job execution setup and teardown
launcher
Launcher trait - defines the interface for job launchers
merge
Config merging module
omegaconf
OmegaConf reimplementation in Rust
package
Package path resolution for config composition
parser
Override parser for configuration overrides.
search_path
Config search path management for finding configuration files.
sweep
Sweep expansion for multirun configurations
sweeper
Sweeper trait - defines the interface for parameter sweepers
utils
Utility functions for grammar and string operations
validation
Validation module for configuration values

Structs§

Example