pub struct ValidatingAdmissionPolicyBinding {
pub metadata: ObjectMeta,
pub spec: Option<ValidatingAdmissionPolicyBindingSpec>,
}
Expand description
ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
Fields§
§metadata: ObjectMeta
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
spec: Option<ValidatingAdmissionPolicyBindingSpec>
Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
Trait Implementations§
source§impl Clone for ValidatingAdmissionPolicyBinding
impl Clone for ValidatingAdmissionPolicyBinding
source§fn clone(&self) -> ValidatingAdmissionPolicyBinding
fn clone(&self) -> ValidatingAdmissionPolicyBinding
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 DeepMerge for ValidatingAdmissionPolicyBinding
impl DeepMerge for ValidatingAdmissionPolicyBinding
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ValidatingAdmissionPolicyBinding
impl Default for ValidatingAdmissionPolicyBinding
source§fn default() -> ValidatingAdmissionPolicyBinding
fn default() -> ValidatingAdmissionPolicyBinding
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ValidatingAdmissionPolicyBinding
impl<'de> Deserialize<'de> for ValidatingAdmissionPolicyBinding
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 JsonSchema for ValidatingAdmissionPolicyBinding
impl JsonSchema for ValidatingAdmissionPolicyBinding
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for ValidatingAdmissionPolicyBinding
impl PartialEq for ValidatingAdmissionPolicyBinding
source§fn eq(&self, other: &ValidatingAdmissionPolicyBinding) -> bool
fn eq(&self, other: &ValidatingAdmissionPolicyBinding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Resource for ValidatingAdmissionPolicyBinding
impl Resource for ValidatingAdmissionPolicyBinding
source§const API_VERSION: &'static str = "admissionregistration.k8s.io/v1alpha1"
const API_VERSION: &'static str = "admissionregistration.k8s.io/v1alpha1"
The API version of the resource. This is a composite of
Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read moresource§const GROUP: &'static str = "admissionregistration.k8s.io"
const GROUP: &'static str = "admissionregistration.k8s.io"
The group of the resource, or the empty string if the resource doesn’t have a group.
source§const KIND: &'static str = "ValidatingAdmissionPolicyBinding"
const KIND: &'static str = "ValidatingAdmissionPolicyBinding"
The kind of the resource. Read more
source§const URL_PATH_SEGMENT: &'static str = "validatingadmissionpolicybindings"
const URL_PATH_SEGMENT: &'static str = "validatingadmissionpolicybindings"
The URL path segment used to construct URLs related to this resource. Read more
§type Scope = ClusterResourceScope
type Scope = ClusterResourceScope
Indicates whether the resource is namespace-scoped or cluster-scoped or a subresource. Read more
impl StructuralPartialEq for ValidatingAdmissionPolicyBinding
Auto Trait Implementations§
impl Freeze for ValidatingAdmissionPolicyBinding
impl RefUnwindSafe for ValidatingAdmissionPolicyBinding
impl Send for ValidatingAdmissionPolicyBinding
impl Sync for ValidatingAdmissionPolicyBinding
impl Unpin for ValidatingAdmissionPolicyBinding
impl UnwindSafe for ValidatingAdmissionPolicyBinding
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