Struct k8s_openapi::api::resource::v1alpha2::ResourceClassParameters
source · pub struct ResourceClassParameters {
pub filters: Option<Vec<ResourceFilter>>,
pub generated_from: Option<ResourceClassParametersReference>,
pub metadata: ObjectMeta,
pub vendor_parameters: Option<Vec<VendorParameters>>,
}
Expand description
ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.
Fields§
§filters: Option<Vec<ResourceFilter>>
Filters describes additional contraints that must be met when using the class.
generated_from: Option<ResourceClassParametersReference>
If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type.
metadata: ObjectMeta
Standard object metadata
vendor_parameters: Option<Vec<VendorParameters>>
VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver.
Trait Implementations§
source§impl Clone for ResourceClassParameters
impl Clone for ResourceClassParameters
source§fn clone(&self) -> ResourceClassParameters
fn clone(&self) -> ResourceClassParameters
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 ResourceClassParameters
impl Debug for ResourceClassParameters
source§impl DeepMerge for ResourceClassParameters
impl DeepMerge for ResourceClassParameters
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceClassParameters
impl Default for ResourceClassParameters
source§fn default() -> ResourceClassParameters
fn default() -> ResourceClassParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceClassParameters
impl<'de> Deserialize<'de> for ResourceClassParameters
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 Metadata for ResourceClassParameters
impl Metadata for ResourceClassParameters
source§impl PartialEq for ResourceClassParameters
impl PartialEq for ResourceClassParameters
source§fn eq(&self, other: &ResourceClassParameters) -> bool
fn eq(&self, other: &ResourceClassParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Resource for ResourceClassParameters
impl Resource for ResourceClassParameters
source§const API_VERSION: &'static str = "resource.k8s.io/v1alpha2"
const API_VERSION: &'static str = "resource.k8s.io/v1alpha2"
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 = "resource.k8s.io"
const GROUP: &'static str = "resource.k8s.io"
The group of the resource, or the empty string if the resource doesn’t have a group.
source§const URL_PATH_SEGMENT: &'static str = "resourceclassparameters"
const URL_PATH_SEGMENT: &'static str = "resourceclassparameters"
The URL path segment used to construct URLs related to this resource. Read more
§type Scope = NamespaceResourceScope
type Scope = NamespaceResourceScope
Indicates whether the resource is namespace-scoped or cluster-scoped or a subresource. Read more
source§impl Serialize for ResourceClassParameters
impl Serialize for ResourceClassParameters
impl StructuralPartialEq for ResourceClassParameters
Auto Trait Implementations§
impl Freeze for ResourceClassParameters
impl RefUnwindSafe for ResourceClassParameters
impl Send for ResourceClassParameters
impl Sync for ResourceClassParameters
impl Unpin for ResourceClassParameters
impl UnwindSafe for ResourceClassParameters
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