[−][src]Struct google_run1::Probe
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
This type is not used in any activity, and only used as part of another schema.
Fields
http_get: Option<HTTPGetAction>
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
HTTPGet specifies the http request to perform.
A field inlined from the Handler message.
timeout_seconds: Option<i32>
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
exec: Option<ExecAction>
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
One and only one of the following should be specified. Exec specifies the action to take.
A field inlined from the Handler message.
initial_delay_seconds: Option<i32>
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
tcp_socket: Option<TCPSocketAction>
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
A field inlined from the Handler message.
period_seconds: Option<i32>
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
success_threshold: Option<i32>
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.
failure_threshold: Option<i32>
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
Trait Implementations
impl Clone for Probe
[src]
impl Debug for Probe
[src]
impl Default for Probe
[src]
impl<'de> Deserialize<'de> for Probe
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for Probe
[src]
impl Serialize for Probe
[src]
Auto Trait Implementations
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnwindSafe for Probe
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,