pub struct ServiceAccountPodSecurityPolicyReviewStatus {
pub allowed_by: Option<ObjectReference>,
pub name: String,
pub reason: Option<String>,
pub template: Option<PodTemplateSpec>,
}
Expand description
ServiceAccountPodSecurityPolicyReviewStatus represents ServiceAccount name and related review status
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.
name: String
name contains the allowed and the denied ServiceAccount name
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 ServiceAccountPodSecurityPolicyReviewStatus
impl Clone for ServiceAccountPodSecurityPolicyReviewStatus
Source§fn clone(&self) -> ServiceAccountPodSecurityPolicyReviewStatus
fn clone(&self) -> ServiceAccountPodSecurityPolicyReviewStatus
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 ServiceAccountPodSecurityPolicyReviewStatus
impl Default for ServiceAccountPodSecurityPolicyReviewStatus
Source§fn default() -> ServiceAccountPodSecurityPolicyReviewStatus
fn default() -> ServiceAccountPodSecurityPolicyReviewStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceAccountPodSecurityPolicyReviewStatus
impl<'de> Deserialize<'de> for ServiceAccountPodSecurityPolicyReviewStatus
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 ServiceAccountPodSecurityPolicyReviewStatus
impl PartialEq for ServiceAccountPodSecurityPolicyReviewStatus
Source§fn eq(&self, other: &ServiceAccountPodSecurityPolicyReviewStatus) -> bool
fn eq(&self, other: &ServiceAccountPodSecurityPolicyReviewStatus) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ServiceAccountPodSecurityPolicyReviewStatus
Auto Trait Implementations§
impl Freeze for ServiceAccountPodSecurityPolicyReviewStatus
impl RefUnwindSafe for ServiceAccountPodSecurityPolicyReviewStatus
impl Send for ServiceAccountPodSecurityPolicyReviewStatus
impl Sync for ServiceAccountPodSecurityPolicyReviewStatus
impl Unpin for ServiceAccountPodSecurityPolicyReviewStatus
impl UnwindSafe for ServiceAccountPodSecurityPolicyReviewStatus
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