Struct mz_cloud_resources::crd::gen::cert_manager::certificates::CertificateStatus
source · pub struct CertificateStatus {
pub conditions: Option<Vec<Condition>>,
pub failed_issuance_attempts: Option<i64>,
pub last_failure_time: Option<String>,
pub next_private_key_secret_name: Option<String>,
pub not_after: Option<String>,
pub not_before: Option<String>,
pub renewal_time: Option<String>,
pub revision: Option<i64>,
}
Expand description
Status of the Certificate. This is set and managed automatically. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Fields§
§conditions: Option<Vec<Condition>>
List of status conditions to indicate the status of certificates.
Known condition types are Ready
and Issuing
.
failed_issuance_attempts: Option<i64>
The number of continuous failed issuance attempts up till now. This field gets removed (if set) on a successful issuance and gets set to 1 if unset and an issuance has failed. If an issuance has failed, the delay till the next issuance will be calculated using formula time.Hour * 2 ^ (failedIssuanceAttempts - 1).
last_failure_time: Option<String>
LastFailureTime is set only if the latest issuance for this Certificate failed and contains the time of the failure. If an issuance has failed, the delay till the next issuance will be calculated using formula time.Hour * 2 ^ (failedIssuanceAttempts - 1). If the latest issuance has succeeded this field will be unset.
next_private_key_secret_name: Option<String>
The name of the Secret resource containing the private key to be used
for the next certificate iteration.
The keymanager controller will automatically set this field if the
Issuing
condition is set to True
.
It will automatically unset this field when the Issuing condition is
not set or False.
not_after: Option<String>
The expiration time of the certificate stored in the secret named
by this resource in spec.secretName
.
not_before: Option<String>
The time after which the certificate stored in the secret named
by this resource in spec.secretName
is valid.
renewal_time: Option<String>
RenewalTime is the time at which the certificate will be next renewed. If not set, no upcoming renewal is scheduled.
revision: Option<i64>
The current ‘revision’ of the certificate as issued.
When a CertificateRequest resource is created, it will have the
cert-manager.io/certificate-revision
set to one greater than the
current value of this field.
Upon issuance, this field will be set to the value of the annotation on the CertificateRequest resource used to issue the certificate.
Persisting the value on the CertificateRequest resource allows the certificates controller to know whether a request is part of an old issuance or if it is part of the ongoing revision’s issuance by checking if the revision value in the annotation is greater than this field.
Trait Implementations§
source§impl Clone for CertificateStatus
impl Clone for CertificateStatus
source§fn clone(&self) -> CertificateStatus
fn clone(&self) -> CertificateStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CertificateStatus
impl Debug for CertificateStatus
source§impl Default for CertificateStatus
impl Default for CertificateStatus
source§fn default() -> CertificateStatus
fn default() -> CertificateStatus
source§impl<'de> Deserialize<'de> for CertificateStatus
impl<'de> Deserialize<'de> for CertificateStatus
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 JsonSchema for CertificateStatus
impl JsonSchema for CertificateStatus
source§fn schema_name() -> String
fn schema_name() -> String
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq for CertificateStatus
impl PartialEq for CertificateStatus
source§impl Serialize for CertificateStatus
impl Serialize for CertificateStatus
impl StructuralPartialEq for CertificateStatus
Auto Trait Implementations§
impl Freeze for CertificateStatus
impl RefUnwindSafe for CertificateStatus
impl Send for CertificateStatus
impl Sync for CertificateStatus
impl Unpin for CertificateStatus
impl UnwindSafe for CertificateStatus
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign
, for types that do not implement AddAssign
.