Struct shiplift::image::BuildOptionsBuilder[][src]

pub struct BuildOptionsBuilder { /* fields omitted */ }

Implementations

impl BuildOptionsBuilder[src]

pub fn dockerfile<P>(&mut self, path: P) -> &mut Self where
    P: Into<String>, 
[src]

set the name of the docker file. defaults to “DockerFile”

pub fn tag<T>(&mut self, t: T) -> &mut Self where
    T: Into<String>, 
[src]

tag this image with a name after building it

pub fn remote<R>(&mut self, r: R) -> &mut Self where
    R: Into<String>, 
[src]

pub fn nocache(&mut self, nc: bool) -> &mut Self[src]

don’t use the image cache when building image

pub fn rm(&mut self, r: bool) -> &mut Self[src]

pub fn forcerm(&mut self, fr: bool) -> &mut Self[src]

pub fn network_mode<T>(&mut self, t: T) -> &mut Self where
    T: Into<String>, 
[src]

bridge, host, none, container:<name|id>, or a custom network name.

pub fn memory(&mut self, memory: u64) -> &mut Self[src]

pub fn cpu_shares(&mut self, cpu_shares: u32) -> &mut Self[src]

pub fn build(&self) -> BuildOptions[src]

Trait Implementations

impl Default for BuildOptionsBuilder[src]

Auto Trait Implementations

impl RefUnwindSafe for BuildOptionsBuilder

impl Send for BuildOptionsBuilder

impl Sync for BuildOptionsBuilder

impl Unpin for BuildOptionsBuilder

impl UnwindSafe for BuildOptionsBuilder

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, 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.