pub struct RevisionStatus {
pub conditions: Option<Vec<GoogleCloudRunV1Condition>>,
pub desired_replicas: Option<i32>,
pub image_digest: Option<String>,
pub log_url: Option<String>,
pub observed_generation: Option<i32>,
pub service_name: Option<String>,
}
Expand description
RevisionStatus communicates the observed state of the Revision (from the controller).
This type is not used in any activity, and only used as part of another schema.
Fields§
§conditions: Option<Vec<GoogleCloudRunV1Condition>>
Conditions communicate information about ongoing/complete reconciliation processes that bring the “spec” inline with the observed state of the world. As a Revision is being prepared, it will incrementally update conditions. Revision-specific conditions include: * ResourcesAvailable
: True
when underlying resources have been provisioned. * ContainerHealthy
: True
when the Revision readiness check completes. * Active
: True
when the Revision may receive traffic.
desired_replicas: Option<i32>
Output only. The configured number of instances running this revision. For Cloud Run, this only includes instances provisioned using the minScale annotation. It does not include instances created by autoscaling.
image_digest: Option<String>
ImageDigest holds the resolved digest for the image specified within .Spec.Container.Image. The digest is resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object.
log_url: Option<String>
Optional. Specifies the generated logging url for this particular revision based on the revision url template specified in the controller’s config.
observed_generation: Option<i32>
ObservedGeneration is the ‘Generation’ of the Revision that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation, and the Ready condition’s status is True or False.
service_name: Option<String>
Not currently used by Cloud Run.
Trait Implementations§
Source§impl Clone for RevisionStatus
impl Clone for RevisionStatus
Source§fn clone(&self) -> RevisionStatus
fn clone(&self) -> RevisionStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RevisionStatus
impl Debug for RevisionStatus
Source§impl Default for RevisionStatus
impl Default for RevisionStatus
Source§fn default() -> RevisionStatus
fn default() -> RevisionStatus
Source§impl<'de> Deserialize<'de> for RevisionStatus
impl<'de> Deserialize<'de> for RevisionStatus
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>,
Source§impl Serialize for RevisionStatus
impl Serialize for RevisionStatus
impl Part for RevisionStatus
Auto Trait Implementations§
impl Freeze for RevisionStatus
impl RefUnwindSafe for RevisionStatus
impl Send for RevisionStatus
impl Sync for RevisionStatus
impl Unpin for RevisionStatus
impl UnwindSafe for RevisionStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more