pub struct PlayKubernetesYamlOptsBuilder { /* private fields */ }
Expand description
A builder struct for PlayKubernetesYamlOpts.
Implementations§
Source§impl PlayKubernetesYamlOptsBuilder
impl PlayKubernetesYamlOptsBuilder
Sourcepub fn build(self) -> PlayKubernetesYamlOpts
pub fn build(self) -> PlayKubernetesYamlOpts
Finish building PlayKubernetesYamlOpts.
Source§impl PlayKubernetesYamlOptsBuilder
impl PlayKubernetesYamlOptsBuilder
Sourcepub fn log_driver(self, log_driver: impl Into<String>) -> Self
pub fn log_driver(self, log_driver: impl Into<String>) -> Self
Logging driver for the containers in the pod.
Sourcepub fn network<S>(self, network: impl IntoIterator<Item = S>) -> Self
pub fn network<S>(self, network: impl IntoIterator<Item = S>) -> Self
Use the network mode or specify an array of networks.
Sourcepub fn static_ips<S>(self, static_ips: impl IntoIterator<Item = S>) -> Self
pub fn static_ips<S>(self, static_ips: impl IntoIterator<Item = S>) -> Self
Static IPs used for the pods.
Sourcepub fn static_macs<S>(self, static_macs: impl IntoIterator<Item = S>) -> Self
pub fn static_macs<S>(self, static_macs: impl IntoIterator<Item = S>) -> Self
Static MACs used for the pods.
Sourcepub fn tls_verify(self, tls_verify: bool) -> Self
pub fn tls_verify(self, tls_verify: bool) -> Self
Require HTTPS and verify signatures when contacting registries.
Trait Implementations§
Source§impl Clone for PlayKubernetesYamlOptsBuilder
impl Clone for PlayKubernetesYamlOptsBuilder
Source§fn clone(&self) -> PlayKubernetesYamlOptsBuilder
fn clone(&self) -> PlayKubernetesYamlOptsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for PlayKubernetesYamlOptsBuilder
impl Default for PlayKubernetesYamlOptsBuilder
Source§fn default() -> PlayKubernetesYamlOptsBuilder
fn default() -> PlayKubernetesYamlOptsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlayKubernetesYamlOptsBuilder
impl RefUnwindSafe for PlayKubernetesYamlOptsBuilder
impl Send for PlayKubernetesYamlOptsBuilder
impl Sync for PlayKubernetesYamlOptsBuilder
impl Unpin for PlayKubernetesYamlOptsBuilder
impl UnwindSafe for PlayKubernetesYamlOptsBuilder
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