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
Object Safety§
This trait is not object safe.