pub struct OpaqueDeviceConfiguration {
pub driver: String,
pub parameters: RawExtension,
}
Expand description
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
Fields§
§driver: String
Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.
An admission policy provided by the driver developer could use this to decide whether it needs to validate them.
Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
parameters: RawExtension
Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (“kind” + “apiVersion” for Kubernetes types), with conversion between different versions.
The length of the raw data must be smaller or equal to 10 Ki.
Trait Implementations§
Source§impl Clone for OpaqueDeviceConfiguration
impl Clone for OpaqueDeviceConfiguration
Source§fn clone(&self) -> OpaqueDeviceConfiguration
fn clone(&self) -> OpaqueDeviceConfiguration
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 OpaqueDeviceConfiguration
impl Debug for OpaqueDeviceConfiguration
Source§impl DeepMerge for OpaqueDeviceConfiguration
impl DeepMerge for OpaqueDeviceConfiguration
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for OpaqueDeviceConfiguration
impl Default for OpaqueDeviceConfiguration
Source§fn default() -> OpaqueDeviceConfiguration
fn default() -> OpaqueDeviceConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpaqueDeviceConfiguration
impl<'de> Deserialize<'de> for OpaqueDeviceConfiguration
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
impl StructuralPartialEq for OpaqueDeviceConfiguration
Auto Trait Implementations§
impl Freeze for OpaqueDeviceConfiguration
impl RefUnwindSafe for OpaqueDeviceConfiguration
impl Send for OpaqueDeviceConfiguration
impl Sync for OpaqueDeviceConfiguration
impl Unpin for OpaqueDeviceConfiguration
impl UnwindSafe for OpaqueDeviceConfiguration
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