pub struct ConsulIngressConfigEntryBuilder { /* private fields */ }
Expand description
Builder for ConsulIngressConfigEntry
.
Implementations§
Source§impl ConsulIngressConfigEntryBuilder
impl ConsulIngressConfigEntryBuilder
Sourcepub fn tls(&mut self, value: Option<ConsulGatewayTlsConfig>) -> &mut Self
pub fn tls(&mut self, value: Option<ConsulGatewayTlsConfig>) -> &mut Self
TLS specifies a TLS configuration for the gateway.
Sourcepub fn listeners(&mut self, value: Vec<ConsulIngressListener>) -> &mut Self
pub fn listeners(&mut self, value: Vec<ConsulIngressListener>) -> &mut Self
Listeners specifies a list of listeners in the mesh for the gateway. Listeners are uniquely identified by their port number.
Sourcepub fn build(
&self,
) -> Result<ConsulIngressConfigEntry, ConsulIngressConfigEntryBuilderError>
pub fn build( &self, ) -> Result<ConsulIngressConfigEntry, ConsulIngressConfigEntryBuilderError>
Trait Implementations§
Source§impl Clone for ConsulIngressConfigEntryBuilder
impl Clone for ConsulIngressConfigEntryBuilder
Source§fn clone(&self) -> ConsulIngressConfigEntryBuilder
fn clone(&self) -> ConsulIngressConfigEntryBuilder
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 ConsulIngressConfigEntryBuilder
impl RefUnwindSafe for ConsulIngressConfigEntryBuilder
impl Send for ConsulIngressConfigEntryBuilder
impl Sync for ConsulIngressConfigEntryBuilder
impl Unpin for ConsulIngressConfigEntryBuilder
impl UnwindSafe for ConsulIngressConfigEntryBuilder
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