Struct k8s_openapi::v1_11::api::core::v1::TCPSocketAction[][src]

pub struct TCPSocketAction {
    pub host: Option<String>,
    pub port: IntOrString,
}

TCPSocketAction describes an action based on opening a socket

Fields

Optional: Host name to connect to, defaults to the pod IP.

Number 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

impl Clone for TCPSocketAction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TCPSocketAction
[src]

Formats the value using the given formatter. Read more

impl Default for TCPSocketAction
[src]

Returns the "default value" for a type. Read more

impl PartialEq for TCPSocketAction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for TCPSocketAction
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for TCPSocketAction
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations