2025-12-01 12:48:39 +01:00
|
|
|
mod deployer;
|
2026-02-02 07:19:22 +01:00
|
|
|
mod env;
|
2025-12-01 12:48:39 +01:00
|
|
|
mod host;
|
2025-12-10 15:42:32 +01:00
|
|
|
mod infrastructure;
|
|
|
|
|
mod lifecycle;
|
2026-03-29 14:09:36 +02:00
|
|
|
mod manual;
|
2026-03-27 10:42:47 +01:00
|
|
|
mod workspace;
|
2026-04-10 08:44:55 +02:00
|
|
|
use std::sync::Once;
|
|
|
|
|
|
2025-12-10 15:42:32 +01:00
|
|
|
pub mod wait {
|
|
|
|
|
pub use crate::lifecycle::wait::*;
|
|
|
|
|
}
|
2025-12-01 12:48:39 +01:00
|
|
|
|
2026-04-10 08:44:55 +02:00
|
|
|
static RUSTLS_PROVIDER: Once = Once::new();
|
|
|
|
|
|
|
|
|
|
pub(crate) fn ensure_rustls_provider_installed() {
|
|
|
|
|
RUSTLS_PROVIDER.call_once(|| {
|
|
|
|
|
let _ = rustls::crypto::ring::default_provider().install_default();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-06 14:58:45 +01:00
|
|
|
pub use deployer::{K8sDeployer, K8sDeploymentMetadata, K8sRunnerError};
|
2026-03-29 11:07:34 +02:00
|
|
|
pub use env::{
|
2026-04-10 08:44:55 +02:00
|
|
|
BinaryConfigK8sSpec, HelmReleaseAssets, K8sDeployEnv, RenderedHelmChartAssets,
|
|
|
|
|
discovered_node_access, install_helm_release_with_cleanup,
|
|
|
|
|
render_binary_config_node_chart_assets, render_binary_config_node_manifest,
|
|
|
|
|
render_single_template_chart_assets, standard_port_specs,
|
2026-03-29 11:07:34 +02:00
|
|
|
};
|
2026-03-27 10:42:47 +01:00
|
|
|
pub use infrastructure::{
|
|
|
|
|
chart_values::{
|
|
|
|
|
BootstrapExtraFile, BootstrapFiles, BootstrapScripts, BootstrapValues, NodeGroup,
|
|
|
|
|
NodePortValues, NodeValues, RunnerAssetLayout, RunnerChartValues, RunnerFiles,
|
|
|
|
|
RunnerValues,
|
|
|
|
|
},
|
|
|
|
|
cluster::PortSpecs,
|
|
|
|
|
helm::{
|
|
|
|
|
HelmError, HelmFileSetting, HelmInstallSpec, HelmReleaseBundle, HelmValueSetting,
|
|
|
|
|
install_release,
|
|
|
|
|
},
|
|
|
|
|
runtime_spec::{NodeRuntimeSpec, RuntimeSpecError, SharedServiceFileSpec, SharedServiceSpec},
|
|
|
|
|
};
|
2026-02-02 07:19:22 +01:00
|
|
|
pub use lifecycle::cleanup::RunnerCleanup;
|
2026-03-29 14:09:36 +02:00
|
|
|
pub use manual::{ManualCluster, ManualClusterError};
|
2026-03-27 10:42:47 +01:00
|
|
|
pub use workspace::{
|
|
|
|
|
RequiredPathError, bundled_runner_chart_path, create_temp_workspace, require_existing_paths,
|
|
|
|
|
resolve_optional_relative_dir, resolve_workspace_root, write_temp_file,
|
|
|
|
|
};
|