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 (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 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<EndpointTunnelConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EndpointTunnelConfig, <__D as Deserializer<'de>>::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§fn eq(&self, other: &EndpointTunnelConfig) -> bool
fn eq(&self, other: &EndpointTunnelConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EndpointTunnelConfig
impl Serialize for EndpointTunnelConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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.