Trait NodeExt

Source
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§

Source

fn new(name: impl ToString) -> Self

Creates new corev1::Node object with given name`

Source

fn taints(self, taints: impl IntoIterator<Item = Taint>) -> Self

Sets node taints

Source

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", so this trait is not object safe.

Implementors§