pub struct RuntimeComponentInitContainersLivenessProbeHttpGet {
pub host: Option<String>,
pub http_headers: Option<Vec<RuntimeComponentInitContainersLivenessProbeHttpGetHttpHeaders>>,
pub path: Option<String>,
pub port: IntOrString,
pub scheme: Option<String>,
}Expand description
HTTPGet specifies an HTTP GET request to perform.
Fields§
§host: Option<String>Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead.
http_headers: Option<Vec<RuntimeComponentInitContainersLivenessProbeHttpGetHttpHeaders>>Custom headers to set in the request. HTTP allows repeated headers.
path: Option<String>Path to access on the HTTP server.
port: IntOrStringName or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
scheme: Option<String>Scheme to use for connecting to the host. Defaults to HTTP.
Trait Implementations§
Source§impl Clone for RuntimeComponentInitContainersLivenessProbeHttpGet
impl Clone for RuntimeComponentInitContainersLivenessProbeHttpGet
Source§fn clone(&self) -> RuntimeComponentInitContainersLivenessProbeHttpGet
fn clone(&self) -> RuntimeComponentInitContainersLivenessProbeHttpGet
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 RuntimeComponentInitContainersLivenessProbeHttpGet
impl Default for RuntimeComponentInitContainersLivenessProbeHttpGet
Source§fn default() -> RuntimeComponentInitContainersLivenessProbeHttpGet
fn default() -> RuntimeComponentInitContainersLivenessProbeHttpGet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeComponentInitContainersLivenessProbeHttpGet
impl<'de> Deserialize<'de> for RuntimeComponentInitContainersLivenessProbeHttpGet
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 RuntimeComponentInitContainersLivenessProbeHttpGet
impl PartialEq for RuntimeComponentInitContainersLivenessProbeHttpGet
Source§fn eq(&self, other: &RuntimeComponentInitContainersLivenessProbeHttpGet) -> bool
fn eq(&self, other: &RuntimeComponentInitContainersLivenessProbeHttpGet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeComponentInitContainersLivenessProbeHttpGet
Auto Trait Implementations§
impl Freeze for RuntimeComponentInitContainersLivenessProbeHttpGet
impl RefUnwindSafe for RuntimeComponentInitContainersLivenessProbeHttpGet
impl Send for RuntimeComponentInitContainersLivenessProbeHttpGet
impl Sync for RuntimeComponentInitContainersLivenessProbeHttpGet
impl Unpin for RuntimeComponentInitContainersLivenessProbeHttpGet
impl UnwindSafe for RuntimeComponentInitContainersLivenessProbeHttpGet
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