Skip to main content

isb_core/
lib.rs

1//! isb's foundation: the incus client, the sandbox spec and planner, compose
2//! projects, stacks, orgs, the local registry and ingress.
3//!
4//! This is an internal crate of [isb](https://docs.rs/isb), which re-exports
5//! every module here under its own name: depend on `isb`, not on this.
6
7pub mod balance;
8pub mod client;
9pub mod compose;
10pub mod cron;
11pub mod discovery;
12pub mod egress;
13pub mod error;
14pub mod exec;
15#[doc(hidden)]
16pub mod flex;
17pub mod foreground;
18pub mod idmap;
19pub mod image_check;
20pub mod ingress;
21pub mod interp;
22pub mod lock;
23pub mod machine;
24pub mod metrics;
25pub mod metrics_history;
26pub mod net;
27pub mod org;
28pub mod owner;
29pub mod plan;
30pub mod registry;
31pub mod rpc;
32pub mod sandbox;
33pub mod secrets;
34pub mod self_update;
35pub mod serve_client;
36pub mod sftp;
37pub mod shorthand;
38pub mod spec;
39pub mod stack;
40pub mod supervise;
41pub mod volume;
42
43pub use client::{Client, Timeouts};
44pub use compose::{LoadOptions, Project};
45pub use error::{Error, Result};
46pub use exec::{ExecController, ExecEvent, ExecOptions, ExecOutput, ExecStream, Stdin};
47pub use flex::parse_duration;
48pub use plan::{Action, DiffOptions, SandboxPlan};
49pub use sandbox::{ApplyReport, EnsureOptions, LabelFilter, Sandbox, SandboxInfo};
50pub use spec::{
51    ComposeFile, ExecDefaults, IdmapMap, IdmapMode, IdmapRaw, IdmapSpec, InstanceType,
52    NamedVolumeSpec, PortBind, PortBinding, PortSpec, ReadyCheck, SandboxSpec, Volume, VolumeSpec,
53};