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: StringDriver 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. It should use only lower case characters.
parameters: RawExtensionParameters 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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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)
other into self.