pub struct EndpointTunnelConfig {
pub enabled: bool,
pub from: Option<String>,
pub to: Option<String>,
pub remote_port: u16,
pub expose: Option<ExposeType>,
pub access: Option<TunnelAccessConfig>,
}Expand description
Tunnel configuration for an endpoint
Fields§
§enabled: boolEnable tunneling for this endpoint
from: Option<String>Source node name (defaults to service’s node)
to: Option<String>Destination node name (defaults to cluster ingress)
remote_port: u16Remote port to expose (0 = auto-assign)
expose: Option<ExposeType>Override exposure for tunnel (public/internal)
access: Option<TunnelAccessConfig>On-demand access configuration
Trait Implementations§
Source§impl Clone for EndpointTunnelConfig
impl Clone for EndpointTunnelConfig
Source§fn clone(&self) -> EndpointTunnelConfig
fn clone(&self) -> EndpointTunnelConfig
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 EndpointTunnelConfig
impl Debug for EndpointTunnelConfig
Source§impl Default for EndpointTunnelConfig
impl Default for EndpointTunnelConfig
Source§fn default() -> EndpointTunnelConfig
fn default() -> EndpointTunnelConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointTunnelConfig
impl<'de> Deserialize<'de> for EndpointTunnelConfig
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
Source§impl PartialEq for EndpointTunnelConfig
impl PartialEq for EndpointTunnelConfig
Source§impl Serialize for EndpointTunnelConfig
impl Serialize for EndpointTunnelConfig
impl Eq for EndpointTunnelConfig
impl StructuralPartialEq for EndpointTunnelConfig
Auto Trait Implementations§
impl Freeze for EndpointTunnelConfig
impl RefUnwindSafe for EndpointTunnelConfig
impl Send for EndpointTunnelConfig
impl Sync for EndpointTunnelConfig
impl Unpin for EndpointTunnelConfig
impl UnsafeUnpin for EndpointTunnelConfig
impl UnwindSafe for EndpointTunnelConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.