pub struct PassthroughConfig {
pub cluster: String,
pub endpoint: String,
pub index_prefixes: Vec<String>,
}Expand description
Tenant-agnostic passthrough: forward matching requests verbatim to one cluster with no tenancy rewrite.
Fields§
§cluster: StringThe cluster id matching requests are forwarded to.
endpoint: StringThe cluster’s base URL (the sink pools it).
index_prefixes: Vec<String>Logical-index prefixes that pass through verbatim; empty ⇒ every request passes through (whole-instance transparent proxy). A non-empty list tenant-isolates every index that does not match (fail-closed).
Trait Implementations§
Source§impl Clone for PassthroughConfig
impl Clone for PassthroughConfig
Source§fn clone(&self) -> PassthroughConfig
fn clone(&self) -> PassthroughConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PassthroughConfig
impl Debug for PassthroughConfig
impl Eq for PassthroughConfig
Source§impl PartialEq for PassthroughConfig
impl PartialEq for PassthroughConfig
Source§fn eq(&self, other: &PassthroughConfig) -> bool
fn eq(&self, other: &PassthroughConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PassthroughConfig
Auto Trait Implementations§
impl Freeze for PassthroughConfig
impl RefUnwindSafe for PassthroughConfig
impl Send for PassthroughConfig
impl Sync for PassthroughConfig
impl Unpin for PassthroughConfig
impl UnsafeUnpin for PassthroughConfig
impl UnwindSafe for PassthroughConfig
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