pub struct PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket {
pub host: Option<String>,
pub port: IntOrString,
}Expand description
Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.
Fields§
§host: Option<String>Optional: Host name to connect to, defaults to the pod IP.
port: IntOrStringNumber or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
Trait Implementations§
Source§impl Clone for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
impl Clone for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
Source§fn clone(
&self,
) -> PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
fn clone( &self, ) -> PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
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 Default for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
impl Default for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
Source§fn default() -> PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
fn default() -> PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
impl<'de> Deserialize<'de> for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
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 PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
impl PartialEq for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
Source§fn eq(
&self,
other: &PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket,
) -> bool
fn eq( &self, other: &PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
Auto Trait Implementations§
impl Freeze for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
impl RefUnwindSafe for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
impl Send for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
impl Sync for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
impl Unpin for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
impl UnwindSafe for PipeIntegrationTemplateSpecInitContainersLifecyclePreStopTcpSocket
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