mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 13:20:41 +00:00
- Remove `virt` crate dependency and libvirt feature flag - Remove `ssh2` crate dependency (vm-manager handles SSH) - Remove `zstd` crate dependency (vm-manager handles decompression) - Remove LibvirtHypervisor, ZonesHypervisor, RouterHypervisor from hypervisor.rs - Remove libvirt error types from error.rs - Remove libvirt_uri/libvirt_network CLI options, add network_bridge - Replace RouterHypervisor::build() with VmManagerAdapter::build() - Update deb package depends: libvirt → qemu-system-x86 - Keep Noop backend for development/testing - Dead old SSH/console functions left for future cleanup
19 lines
498 B
Rust
19 lines
498 B
Rust
use thiserror::Error;
|
|
|
|
#[derive(Debug, Error)]
|
|
pub enum OrchestratorError {
|
|
#[error("ssh keygen failed: {0}")]
|
|
SshKeygen(#[source] anyhow::Error),
|
|
|
|
#[error("encode pubkey: {0}")]
|
|
EncodePubKey(#[source] anyhow::Error),
|
|
|
|
#[error("encode privkey: {0}")]
|
|
EncodePrivKey(#[source] anyhow::Error),
|
|
|
|
#[error("failed to connect to database: {0}")]
|
|
DbConnect(#[source] anyhow::Error),
|
|
|
|
#[error("failed to apply migrations: {0}")]
|
|
DbMigrate(#[source] anyhow::Error),
|
|
}
|