pub struct AdmissionWhitelistPattern {
pub name_pattern: Option<String>,
}Expand description
An admission allowlist pattern exempts images from checks by admission rules.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name_pattern: Option<String>An image name pattern to allowlist, in the form registry/path/to/image. This supports a trailing * as a wildcard, but this is allowed only in text after the registry/ part. * wildcard does not match /, i.e., gcr.io/nginx* matches gcr.io/nginx@latest, but it does not match gcr.io/nginx/image. This also supports a trailing ** wildcard which matches subdirectories, i.e., gcr.io/nginx** matches gcr.io/nginx/image.
Trait Implementations§
source§impl Clone for AdmissionWhitelistPattern
impl Clone for AdmissionWhitelistPattern
source§fn clone(&self) -> AdmissionWhitelistPattern
fn clone(&self) -> AdmissionWhitelistPattern
Returns a copy 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 Debug for AdmissionWhitelistPattern
impl Debug for AdmissionWhitelistPattern
source§impl Default for AdmissionWhitelistPattern
impl Default for AdmissionWhitelistPattern
source§fn default() -> AdmissionWhitelistPattern
fn default() -> AdmissionWhitelistPattern
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AdmissionWhitelistPattern
impl<'de> Deserialize<'de> for AdmissionWhitelistPattern
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