[][src]Struct pachyderm::pps::ResourceSpec

pub struct ResourceSpec {
    pub cpu: f32,
    pub memory: String,
    pub gpu: Option<GpuSpec>,
    pub disk: String,
}

ResourceSpec describes the amount of resources that pipeline pods should request from kubernetes, for scheduling.

Fields

cpu: f32

The number of CPUs each worker needs (partial values are allowed, and encouraged)

memory: String

The amount of memory each worker needs (in bytes, with allowed SI suffixes (M, K, G, Mi, Ki, Gi, etc).

gpu: Option<GpuSpec>

The spec for GPU resources.

disk: String

The amount of ephemeral storage each worker needs (in bytes, with allowed SI suffixes (M, K, G, Mi, Ki, Gi, etc).

Trait Implementations

impl Clone for ResourceSpec[src]

impl Debug for ResourceSpec[src]

impl Default for ResourceSpec[src]

impl Message for ResourceSpec[src]

impl PartialEq<ResourceSpec> for ResourceSpec[src]

impl StructuralPartialEq for ResourceSpec[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]