Struct k8s_openapi::api::resource::v1alpha3::DeviceRequestAllocationResult
source · pub struct DeviceRequestAllocationResult {
pub device: String,
pub driver: String,
pub pool: String,
pub request: String,
}
Expand description
DeviceRequestAllocationResult contains the allocation result for one request.
Fields§
§device: String
Device references one device instance via its name in the driver’s resource pool. It must be a DNS label.
driver: String
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
pool: String
This name together with the driver name and the device name field identify which device was allocated (\<driver name\>/\<pool name\>/\<device name\>
).
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
request: String
Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.
Trait Implementations§
source§impl Clone for DeviceRequestAllocationResult
impl Clone for DeviceRequestAllocationResult
source§fn clone(&self) -> DeviceRequestAllocationResult
fn clone(&self) -> DeviceRequestAllocationResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl DeepMerge for DeviceRequestAllocationResult
impl DeepMerge for DeviceRequestAllocationResult
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for DeviceRequestAllocationResult
impl Default for DeviceRequestAllocationResult
source§fn default() -> DeviceRequestAllocationResult
fn default() -> DeviceRequestAllocationResult
source§impl<'de> Deserialize<'de> for DeviceRequestAllocationResult
impl<'de> Deserialize<'de> for DeviceRequestAllocationResult
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>,
source§impl PartialEq for DeviceRequestAllocationResult
impl PartialEq for DeviceRequestAllocationResult
source§fn eq(&self, other: &DeviceRequestAllocationResult) -> bool
fn eq(&self, other: &DeviceRequestAllocationResult) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeviceRequestAllocationResult
Auto Trait Implementations§
impl Freeze for DeviceRequestAllocationResult
impl RefUnwindSafe for DeviceRequestAllocationResult
impl Send for DeviceRequestAllocationResult
impl Sync for DeviceRequestAllocationResult
impl Unpin for DeviceRequestAllocationResult
impl UnwindSafe for DeviceRequestAllocationResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)