pub struct BackendTLSPolicyStatus {
pub ancestors: Vec<BackendTLSPolicyStatusAncestors>,
}Expand description
Status defines the current state of BackendTLSPolicy.
Fields§
§ancestors: Vec<BackendTLSPolicyStatusAncestors>Ancestors is a list of ancestor resources (usually Gateways) that are associated with the policy, and the status of the policy with respect to each ancestor. When this policy attaches to a parent, the controller that manages the parent and the ancestors MUST add an entry to this list when the controller first sees the policy and SHOULD update the entry as appropriate when the relevant ancestor is modified.
Note that choosing the relevant ancestor is left to the Policy designers; an important part of Policy design is designing the right object level at which to namespace this status.
Note also that implementations MUST ONLY populate ancestor status for the Ancestor resources they are responsible for. Implementations MUST use the ControllerName field to uniquely identify the entries in this list that they are responsible for.
Note that to achieve this, the list of PolicyAncestorStatus structs MUST be treated as a map with a composite key, made up of the AncestorRef and ControllerName fields combined.
A maximum of 16 ancestors will be represented in this list. An empty list means the Policy is not relevant for any ancestors.
If this slice is full, implementations MUST NOT add further entries. Instead they MUST consider the policy unimplementable and signal that on any related resources such as the ancestor that would be referenced here. For example, if this list was full on BackendTLSPolicy, no additional Gateways would be able to reference the Service targeted by the BackendTLSPolicy.
Trait Implementations§
Source§impl Clone for BackendTLSPolicyStatus
impl Clone for BackendTLSPolicyStatus
Source§fn clone(&self) -> BackendTLSPolicyStatus
fn clone(&self) -> BackendTLSPolicyStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BackendTLSPolicyStatus
impl Debug for BackendTLSPolicyStatus
Source§impl Default for BackendTLSPolicyStatus
impl Default for BackendTLSPolicyStatus
Source§fn default() -> BackendTLSPolicyStatus
fn default() -> BackendTLSPolicyStatus
Source§impl<'de> Deserialize<'de> for BackendTLSPolicyStatus
impl<'de> Deserialize<'de> for BackendTLSPolicyStatus
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 BackendTLSPolicyStatus
impl JsonSchema for BackendTLSPolicyStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for BackendTLSPolicyStatus
impl PartialEq for BackendTLSPolicyStatus
Source§impl Serialize for BackendTLSPolicyStatus
impl Serialize for BackendTLSPolicyStatus
impl StructuralPartialEq for BackendTLSPolicyStatus
Auto Trait Implementations§
impl Freeze for BackendTLSPolicyStatus
impl RefUnwindSafe for BackendTLSPolicyStatus
impl Send for BackendTLSPolicyStatus
impl Sync for BackendTLSPolicyStatus
impl Unpin for BackendTLSPolicyStatus
impl UnwindSafe for BackendTLSPolicyStatus
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