pub struct PodSecurityPolicySubjectReviewStatus {
pub allowed_by: Option<ObjectReference>,
pub reason: Option<String>,
pub template: Option<PodTemplateSpec>,
}
Expand description
PodSecurityPolicySubjectReviewStatus contains information/status for PodSecurityPolicySubjectReview.
Fields§
§allowed_by: Option<ObjectReference>
allowedBy is a reference to the rule that allows the PodTemplateSpec. A rule can be a SecurityContextConstraint or a PodSecurityPolicy A nil
, indicates that it was denied.
reason: Option<String>
A machine-readable description of why this operation is in the “Failure” status. If this value is empty there is no information available.
template: Option<PodTemplateSpec>
template is the PodTemplateSpec after the defaulting is applied.
Trait Implementations§
Source§impl Clone for PodSecurityPolicySubjectReviewStatus
impl Clone for PodSecurityPolicySubjectReviewStatus
Source§fn clone(&self) -> PodSecurityPolicySubjectReviewStatus
fn clone(&self) -> PodSecurityPolicySubjectReviewStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for PodSecurityPolicySubjectReviewStatus
impl Default for PodSecurityPolicySubjectReviewStatus
Source§fn default() -> PodSecurityPolicySubjectReviewStatus
fn default() -> PodSecurityPolicySubjectReviewStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodSecurityPolicySubjectReviewStatus
impl<'de> Deserialize<'de> for PodSecurityPolicySubjectReviewStatus
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
Source§impl PartialEq for PodSecurityPolicySubjectReviewStatus
impl PartialEq for PodSecurityPolicySubjectReviewStatus
Source§fn eq(&self, other: &PodSecurityPolicySubjectReviewStatus) -> bool
fn eq(&self, other: &PodSecurityPolicySubjectReviewStatus) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PodSecurityPolicySubjectReviewStatus
Auto Trait Implementations§
impl Freeze for PodSecurityPolicySubjectReviewStatus
impl RefUnwindSafe for PodSecurityPolicySubjectReviewStatus
impl Send for PodSecurityPolicySubjectReviewStatus
impl Sync for PodSecurityPolicySubjectReviewStatus
impl Unpin for PodSecurityPolicySubjectReviewStatus
impl UnwindSafe for PodSecurityPolicySubjectReviewStatus
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