2026-01-28 23:16:43 +01:00
|
|
|
//! Reddwarf Scheduler - Pod to Node scheduling
|
|
|
|
|
//!
|
|
|
|
|
//! This crate provides:
|
|
|
|
|
//! - Pod scheduling algorithm
|
|
|
|
|
//! - Filter predicates (resource requirements, node selectors)
|
|
|
|
|
//! - Scoring functions (least allocated)
|
|
|
|
|
//! - Pod binding to nodes
|
|
|
|
|
|
|
|
|
|
pub mod error;
|
|
|
|
|
pub mod filter;
|
|
|
|
|
pub mod scheduler;
|
2026-01-28 23:17:19 +01:00
|
|
|
pub mod score;
|
|
|
|
|
pub mod types;
|
2026-01-28 23:16:43 +01:00
|
|
|
|
|
|
|
|
// Re-export commonly used types
|
2026-01-28 23:17:19 +01:00
|
|
|
pub use error::{Result, SchedulerError};
|
2026-01-28 23:16:43 +01:00
|
|
|
pub use scheduler::Scheduler;
|
2026-03-19 21:35:48 +00:00
|
|
|
pub use types::{FilterResult, NodeAllocatedResources, SchedulingContext, ScoreResult};
|