pub struct NodeBuilder { /* private fields */ }
Expand description
Builder for Node
.
Implementations§
Source§impl NodeBuilder
impl NodeBuilder
pub fn tls_enabled(&mut self, value: bool) -> &mut Self
pub fn reserved_resources( &mut self, value: Option<NodeReservedResources>, ) -> &mut Self
pub fn node_class(&mut self, value: String) -> &mut Self
pub fn node_pool(&mut self, value: String) -> &mut Self
pub fn drain_strategy(&mut self, value: Option<DrainStrategy>) -> &mut Self
pub fn status_description(&mut self, value: String) -> &mut Self
pub fn drivers(&mut self, value: HashMap<String, DriverInfo>) -> &mut Self
pub fn csi_controller_plugins( &mut self, value: HashMap<String, CsiInfo>, ) -> &mut Self
pub fn name(&mut self, value: String) -> &mut Self
pub fn attributes(&mut self, value: HashMap<String, String>) -> &mut Self
pub fn resources(&mut self, value: Option<Resources>) -> &mut Self
pub fn host_volumes( &mut self, value: HashMap<String, HostVolumeInfo>, ) -> &mut Self
pub fn last_drain(&mut self, value: Option<DrainMetadata>) -> &mut Self
pub fn reserved(&mut self, value: Option<Resources>) -> &mut Self
pub fn links(&mut self, value: HashMap<String, String>) -> &mut Self
pub fn meta(&mut self, value: HashMap<String, String>) -> &mut Self
pub fn status(&mut self, value: String) -> &mut Self
pub fn status_updated_at(&mut self, value: i64) -> &mut Self
pub fn scheduling_eligibility(&mut self, value: String) -> &mut Self
pub fn datacenter(&mut self, value: String) -> &mut Self
pub fn drain(&mut self, value: bool) -> &mut Self
pub fn host_networks( &mut self, value: HashMap<String, HostNetworkInfo>, ) -> &mut Self
pub fn create_index(&mut self, value: u64) -> &mut Self
pub fn cgroup_parent(&mut self, value: String) -> &mut Self
pub fn events(&mut self, value: Vec<NodeEvent>) -> &mut Self
pub fn id(&mut self, value: String) -> &mut Self
pub fn http_addr(&mut self, value: String) -> &mut Self
pub fn node_resources(&mut self, value: Option<NodeResources>) -> &mut Self
pub fn csi_node_plugins(&mut self, value: HashMap<String, CsiInfo>) -> &mut Self
pub fn modify_index(&mut self, value: u64) -> &mut Self
Trait Implementations§
Source§impl Clone for NodeBuilder
impl Clone for NodeBuilder
Source§fn clone(&self) -> NodeBuilder
fn clone(&self) -> NodeBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for NodeBuilder
impl RefUnwindSafe for NodeBuilder
impl Send for NodeBuilder
impl Sync for NodeBuilder
impl Unpin for NodeBuilder
impl UnwindSafe for NodeBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more