pub enum ReadinessProbe {
Http {
path: String,
},
HttpTargetRegistry(Box<HttpTargetRegistryReadiness>),
ProcessAlive,
}Expand description
How the control plane decides a process is ready.
Variants§
Http
Ready when an HTTP GET of path succeeds.
HttpTargetRegistry(Box<HttpTargetRegistryReadiness>)
Ready when the public endpoint succeeds and its HTTP target registry contains every control-plane-derived serving target.
ProcessAlive
Ready as soon as the process is alive.
Trait Implementations§
Source§impl Clone for ReadinessProbe
impl Clone for ReadinessProbe
Source§fn clone(&self) -> ReadinessProbe
fn clone(&self) -> ReadinessProbe
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 Debug for ReadinessProbe
impl Debug for ReadinessProbe
Source§impl<'de> Deserialize<'de> for ReadinessProbe
impl<'de> Deserialize<'de> for ReadinessProbe
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 Eq for ReadinessProbe
Source§impl JsonSchema for ReadinessProbe
impl JsonSchema for ReadinessProbe
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ReadinessProbe
impl PartialEq for ReadinessProbe
Source§impl Serialize for ReadinessProbe
impl Serialize for ReadinessProbe
impl StructuralPartialEq for ReadinessProbe
Auto Trait Implementations§
impl Freeze for ReadinessProbe
impl RefUnwindSafe for ReadinessProbe
impl Send for ReadinessProbe
impl Sync for ReadinessProbe
impl Unpin for ReadinessProbe
impl UnsafeUnpin for ReadinessProbe
impl UnwindSafe for ReadinessProbe
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