Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::Handler
source · pub struct Handler {
pub exec: Option<ExecAction>,
pub http_get: Option<HTTPGetAction>,
pub tcp_socket: Option<TCPSocketAction>,
}
Expand description
Handler defines a specific action that should be taken
Fields§
§exec: Option<ExecAction>
One and only one of the following should be specified. Exec specifies the action to take.
http_get: Option<HTTPGetAction>
HTTPGet specifies the http request to perform.
tcp_socket: Option<TCPSocketAction>
TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
Trait Implementations§
source§impl<'de> Deserialize<'de> for Handler
impl<'de> Deserialize<'de> for Handler
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