Struct k8s_openapi::api::resource::v1alpha3::OpaqueDeviceConfiguration
source · 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.
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)