#[non_exhaustive]pub struct ContainerProviderBuilder { /* private fields */ }Expand description
A builder for ContainerProvider.
Implementations§
source§impl ContainerProviderBuilder
impl ContainerProviderBuilder
sourcepub fn type(self, input: ContainerProviderType) -> Self
pub fn type(self, input: ContainerProviderType) -> Self
The type of the container provider. Amazon EKS is the only supported type as of now.
sourcepub fn set_type(self, input: Option<ContainerProviderType>) -> Self
pub fn set_type(self, input: Option<ContainerProviderType>) -> Self
The type of the container provider. Amazon EKS is the only supported type as of now.
sourcepub fn get_type(&self) -> &Option<ContainerProviderType>
pub fn get_type(&self) -> &Option<ContainerProviderType>
The type of the container provider. Amazon EKS is the only supported type as of now.
sourcepub fn info(self, input: ContainerInfo) -> Self
pub fn info(self, input: ContainerInfo) -> Self
The information about the container cluster.
sourcepub fn set_info(self, input: Option<ContainerInfo>) -> Self
pub fn set_info(self, input: Option<ContainerInfo>) -> Self
The information about the container cluster.
sourcepub fn get_info(&self) -> &Option<ContainerInfo>
pub fn get_info(&self) -> &Option<ContainerInfo>
The information about the container cluster.
sourcepub fn build(self) -> ContainerProvider
pub fn build(self) -> ContainerProvider
Consumes the builder and constructs a ContainerProvider.
Trait Implementations§
source§impl Clone for ContainerProviderBuilder
impl Clone for ContainerProviderBuilder
source§fn clone(&self) -> ContainerProviderBuilder
fn clone(&self) -> ContainerProviderBuilder
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 moresource§impl Debug for ContainerProviderBuilder
impl Debug for ContainerProviderBuilder
source§impl Default for ContainerProviderBuilder
impl Default for ContainerProviderBuilder
source§fn default() -> ContainerProviderBuilder
fn default() -> ContainerProviderBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ContainerProviderBuilder> for ContainerProviderBuilder
impl PartialEq<ContainerProviderBuilder> for ContainerProviderBuilder
source§fn eq(&self, other: &ContainerProviderBuilder) -> bool
fn eq(&self, other: &ContainerProviderBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContainerProviderBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ContainerProviderBuilder
impl Send for ContainerProviderBuilder
impl Sync for ContainerProviderBuilder
impl Unpin for ContainerProviderBuilder
impl UnwindSafe for ContainerProviderBuilder
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