Struct controller::cloudnativepg::poolers::PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
source · pub struct PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet {
pub host: Option<String>,
pub http_headers: Option<Vec<PoolerTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders>>,
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<PoolerTemplateSpecEphemeralContainersStartupProbeHttpGetHttpHeaders>>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 PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
impl Clone for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
source§fn clone(&self) -> PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
fn clone(&self) -> PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
Returns a copy 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 PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
impl Default for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
source§fn default() -> PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
fn default() -> PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
impl<'de> Deserialize<'de> for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
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 JsonSchema for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
impl JsonSchema for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl RefUnwindSafe for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
impl Send for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
impl Sync for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
impl Unpin for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
impl UnwindSafe for PoolerTemplateSpecEphemeralContainersStartupProbeHttpGet
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