pub struct SgGateway<P = PluginInstanceId> {
pub name: String,
pub parameters: SgParameters,
pub listeners: Vec<SgListener>,
pub plugins: Vec<P>,
}
Expand description
Gateway represents an instance of a service-traffic handling infrastructure by binding Listeners to a set of IP addresses.
Reference: Kubernetes Gateway Name of the Gateway. Global Unique.
Fields§
§name: String
§parameters: SgParameters
Some parameters necessary for the gateway.
listeners: Vec<SgListener>
Listeners associated with this Gateway. Listeners define logical endpoints that are bound on this Gateway’s addresses.
plugins: Vec<P>
Filters define the filters that are applied to requests that match this gateway.
Implementations§
Trait Implementations§
Source§impl<'de, P> Deserialize<'de> for SgGateway<P>
impl<'de, P> Deserialize<'de> for SgGateway<P>
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<P> Freeze for SgGateway<P>
impl<P> RefUnwindSafe for SgGateway<P>where
P: RefUnwindSafe,
impl<P> Send for SgGateway<P>where
P: Send,
impl<P> Sync for SgGateway<P>where
P: Sync,
impl<P> Unpin for SgGateway<P>where
P: Unpin,
impl<P> UnwindSafe for SgGateway<P>where
P: UnwindSafe,
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