pub struct ContainerTunnel {
pub port: u16,
}Expand description
A container port reachable from the control plane through the manager.
Requests to /v1/deployments/{deployment}/tunnels/{container}/... on the
manager are forwarded to this port over the operator’s outbound
connection, so the control plane can call the service without any inbound
network path into the deployment.
Fields§
§port: u16Container port that serves HTTP. Must be one of the container’s ports.
Trait Implementations§
Source§impl Clone for ContainerTunnel
impl Clone for ContainerTunnel
Source§impl Debug for ContainerTunnel
impl Debug for ContainerTunnel
Source§impl<'de> Deserialize<'de> for ContainerTunnel
impl<'de> Deserialize<'de> for ContainerTunnel
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
impl Eq for ContainerTunnel
Source§impl PartialEq for ContainerTunnel
impl PartialEq for ContainerTunnel
Source§impl Serialize for ContainerTunnel
impl Serialize for ContainerTunnel
impl StructuralPartialEq for ContainerTunnel
Auto Trait Implementations§
impl Freeze for ContainerTunnel
impl RefUnwindSafe for ContainerTunnel
impl Send for ContainerTunnel
impl Sync for ContainerTunnel
impl Unpin for ContainerTunnel
impl UnsafeUnpin for ContainerTunnel
impl UnwindSafe for ContainerTunnel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.