#[non_exhaustive]pub struct PrivilegedAdmissionConfig {
pub allowlist_paths: Vec<String>,
/* private fields */
}Expand description
PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.allowlist_paths: Vec<String>The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
Implementations§
Source§impl PrivilegedAdmissionConfig
impl PrivilegedAdmissionConfig
pub fn new() -> Self
Sourcepub fn set_allowlist_paths<T, V>(self, v: T) -> Self
pub fn set_allowlist_paths<T, V>(self, v: T) -> Self
Sets the value of allowlist_paths.
Trait Implementations§
Source§impl Clone for PrivilegedAdmissionConfig
impl Clone for PrivilegedAdmissionConfig
Source§fn clone(&self) -> PrivilegedAdmissionConfig
fn clone(&self) -> PrivilegedAdmissionConfig
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 Debug for PrivilegedAdmissionConfig
impl Debug for PrivilegedAdmissionConfig
Source§impl Default for PrivilegedAdmissionConfig
impl Default for PrivilegedAdmissionConfig
Source§fn default() -> PrivilegedAdmissionConfig
fn default() -> PrivilegedAdmissionConfig
Returns the “default value” for a type. Read more
Source§impl Message for PrivilegedAdmissionConfig
impl Message for PrivilegedAdmissionConfig
impl StructuralPartialEq for PrivilegedAdmissionConfig
Auto Trait Implementations§
impl Freeze for PrivilegedAdmissionConfig
impl RefUnwindSafe for PrivilegedAdmissionConfig
impl Send for PrivilegedAdmissionConfig
impl Sync for PrivilegedAdmissionConfig
impl Unpin for PrivilegedAdmissionConfig
impl UnwindSafe for PrivilegedAdmissionConfig
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