pub struct ExposePath {
pub listener_port: Option<u16>,
pub path: Option<String>,
pub local_path_port: Option<u16>,
pub protocol: Option<String>,
pub parsed_from_check: Option<bool>,
}
Fields§
§listener_port: Option<u16>
ListenerPort defines the port of the proxy’s listener for exposed paths.
path: Option<String>
Path is the path to expose through the proxy, ie. “/metrics.”
local_path_port: Option<u16>
LocalPathPort is the port that the service is listening on for the given path.
protocol: Option<String>
Protocol describes the upstream’s service protocol. Valid values are “http” and “http2”, defaults to “http”
parsed_from_check: Option<bool>
ParsedFromCheck is set if this path was parsed from a registered check
Trait Implementations§
Source§impl Clone for ExposePath
impl Clone for ExposePath
Source§fn clone(&self) -> ExposePath
fn clone(&self) -> ExposePath
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 ExposePath
impl Debug for ExposePath
Source§impl Default for ExposePath
impl Default for ExposePath
Source§fn default() -> ExposePath
fn default() -> ExposePath
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExposePath
impl<'de> Deserialize<'de> for ExposePath
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 ExposePath
impl RefUnwindSafe for ExposePath
impl Send for ExposePath
impl Sync for ExposePath
impl Unpin for ExposePath
impl UnwindSafe for ExposePath
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