pub struct ComponentDefinitionRuntimeContainersReadinessProbeHttpGet {
pub host: Option<String>,
pub http_headers: Option<Vec<ComponentDefinitionRuntimeContainersReadinessProbeHttpGetHttpHeaders>>,
pub path: Option<String>,
pub port: IntOrString,
pub scheme: Option<String>,
}Expand description
HTTPGet specifies the http 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<ComponentDefinitionRuntimeContainersReadinessProbeHttpGetHttpHeaders>>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 ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
impl Clone for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
Source§fn clone(&self) -> ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
fn clone(&self) -> ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
impl Default for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
Source§fn default() -> ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
fn default() -> ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
impl<'de> Deserialize<'de> for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
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 StructuralPartialEq for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
Auto Trait Implementations§
impl Freeze for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
impl RefUnwindSafe for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
impl Send for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
impl Sync for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
impl Unpin for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
impl UnsafeUnpin for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
impl UnwindSafe for ComponentDefinitionRuntimeContainersReadinessProbeHttpGet
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