Struct docker_api::api::swarm::opts::SwarmInitOptsBuilder [−][src]
pub struct SwarmInitOptsBuilder { /* fields omitted */ }
This is supported on crate feature
swarm
only.Expand description
A builder struct for SwarmInitOpts.
Implementations
Finish building SwarmInitOpts.
pub fn advertise_addr<A>(&mut self, advertise_addr: A) -> &mut Self where
A: AsRef<str> + Serialize,
Address or interface to use for data path traffic.
pub fn default_addr_pool<A, S>(&mut self, default_addr_pool: A) -> &mut Self where
A: IntoIterator<Item = S>,
S: AsRef<str> + Serialize,
Force creation of a new swarm.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SwarmInitOptsBuilder
impl Send for SwarmInitOptsBuilder
impl Sync for SwarmInitOptsBuilder
impl Unpin for SwarmInitOptsBuilder
impl UnwindSafe for SwarmInitOptsBuilder