[][src]Struct k8s_csi::v1_3_0::GetCapacityRequest

pub struct GetCapacityRequest {
    pub volume_capabilities: Vec<VolumeCapability>,
    pub parameters: BTreeMap<String, String>,
    pub accessible_topology: Option<Topology>,
}

Fields

volume_capabilities: Vec<VolumeCapability>

If specified, the Plugin SHALL report the capacity of the storage that can be used to provision volumes that satisfy ALL of the specified volume_capabilities. These are the same volume_capabilities the CO will use in CreateVolumeRequest. This field is OPTIONAL.

parameters: BTreeMap<String, String>

If specified, the Plugin SHALL report the capacity of the storage that can be used to provision volumes with the given Plugin specific parameters. These are the same parameters the CO will use in CreateVolumeRequest. This field is OPTIONAL.

accessible_topology: Option<Topology>

If specified, the Plugin SHALL report the capacity of the storage that can be used to provision volumes that in the specified accessible_topology. This is the same as the accessible_topology the CO returns in a CreateVolumeResponse. This field is OPTIONAL. This field SHALL NOT be set unless the plugin advertises the VOLUME_ACCESSIBILITY_CONSTRAINTS capability.

Trait Implementations

impl Clone for GetCapacityRequest[src]

impl Debug for GetCapacityRequest[src]

impl Default for GetCapacityRequest[src]

impl Message for GetCapacityRequest[src]

impl PartialEq<GetCapacityRequest> for GetCapacityRequest[src]

impl StructuralPartialEq for GetCapacityRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]