pub trait NodeExt: ResourceBuilder {
// Required methods
fn new(name: impl ToString) -> Self;
fn taints(self, taints: impl IntoIterator<Item = Taint>) -> Self;
fn unschedulable(self) -> Self;
}Expand description
Extension trait for corev1::Node.
Fluent builders and mutable accessors
Required Methods§
Sourcefn taints(self, taints: impl IntoIterator<Item = Taint>) -> Self
fn taints(self, taints: impl IntoIterator<Item = Taint>) -> Self
Sets node taints
Sourcefn unschedulable(self) -> Self
fn unschedulable(self) -> Self
Marks node as unschedulable
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".