#![deny(unsafe_code)]
#![cfg_attr(
test,
allow(
clippy::unwrap_used,
clippy::expect_used,
clippy::indexing_slicing,
clippy::arithmetic_side_effects,
clippy::shadow_unrelated,
clippy::let_underscore_must_use,
clippy::format_push_string
)
)]
mod adapter;
mod admin;
mod artifact;
mod backup;
mod bench;
mod command;
mod config;
mod db;
mod fsck;
mod gc;
mod gc_schedule;
mod hold;
mod local_output;
mod local_path;
mod providerless;
mod rebuild;
mod repair;
pub mod report_output;
mod storage_migration;
pub use adapter::{CliRuntimeError, run_health_check};
pub use admin::{AdminTokenError, mint_admin_token, mint_admin_token_from_sources};
pub use artifact::{CliArtifactError, render_completion, render_manpage};
pub use backup::{BackupRuntimeError, run_backup_manifest};
pub use bench::{
BenchConfig, BenchDeploymentTarget, BenchInventoryScope, BenchReport, BenchRuntimeError,
BenchScenario, ByteMetrics, ChunkMetrics, IngestBenchReport, InventoryMetrics, LatencyMetrics,
TimingMetrics, run_bench, run_ingest_bench,
};
pub use command::{BenchMode, CliCommand, CliParseError, CompletionShell, RedactedDbUrl};
pub use config::{
ConfigRuntimeError, effective_root, load_server_config, run_config_check_from_env,
};
pub use db::{DbRuntimeError, run_db_migration};
pub use fsck::{FsckRuntimeError, run_fsck};
pub use gc::{GcRuntimeError, run_gc, run_gc_diagnostics};
pub use gc_schedule::{
GcScheduleError, GcScheduleInstallOptions, GcScheduleInstallReport, GcScheduleUninstallReport,
install_gc_schedule, uninstall_gc_schedule,
};
pub use hold::{
HoldRuntimeError, print_hold_list_summary, print_hold_summary, run_hold_list, run_hold_release,
run_hold_set,
};
pub use local_output::write_output_bytes;
pub use providerless::{
ProviderlessRuntimeError, ProviderlessSetupReport, load_runtime_server_config,
run_providerless_setup,
};
pub use rebuild::{RebuildRuntimeError, run_index_rebuild};
pub use repair::{RepairReport, RepairRuntimeError, run_lifecycle_repair, run_repair};
pub use storage_migration::{StorageMigrationRuntimeError, run_storage_migration};