pub struct ExposeConfig {
pub checks: Option<bool>,
pub paths: Option<Vec<ExposePath>>,
}
Expand description
ExposeConfig describes HTTP paths to expose through Envoy outside of Connect. Users can expose individual paths and/or all HTTP/GRPC paths for checks.
Fields§
§checks: Option<bool>
Checks defines whether paths associated with Consul checks will be exposed. This flag triggers exposing all HTTP and GRPC check paths registered for the service.
paths: Option<Vec<ExposePath>>
Paths is the list of paths exposed through the proxy.
Trait Implementations§
Source§impl Clone for ExposeConfig
impl Clone for ExposeConfig
Source§fn clone(&self) -> ExposeConfig
fn clone(&self) -> ExposeConfig
Returns a duplicate 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 ExposeConfig
impl Debug for ExposeConfig
Source§impl Default for ExposeConfig
impl Default for ExposeConfig
Source§fn default() -> ExposeConfig
fn default() -> ExposeConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExposeConfig
impl<'de> Deserialize<'de> for ExposeConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExposeConfig
impl RefUnwindSafe for ExposeConfig
impl Send for ExposeConfig
impl Sync for ExposeConfig
impl Unpin for ExposeConfig
impl UnwindSafe for ExposeConfig
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