[][src]Struct buildkit_frontend::oci::ImageConfig

pub struct ImageConfig {
    pub user: Option<String>,
    pub exposed_ports: Option<Vec<ExposedPort>>,
    pub env: Option<BTreeMap<String, String>>,
    pub entrypoint: Option<Vec<String>>,
    pub cmd: Option<Vec<String>>,
    pub volumes: Option<Vec<PathBuf>>,
    pub working_dir: Option<PathBuf>,
    pub labels: Option<BTreeMap<String, String>>,
    pub stop_signal: Option<Signal>,
}

Fields

user: Option<String>

The username or UID which is a platform-specific structure that allows specific control over which user the process run as.

exposed_ports: Option<Vec<ExposedPort>>

A set of ports to expose from a container running this image.

env: Option<BTreeMap<String, String>>

Environment variables for the process to run with.

entrypoint: Option<Vec<String>>

A list of arguments to use as the command to execute when the container starts.

cmd: Option<Vec<String>>

Default arguments to the entrypoint of the container.

volumes: Option<Vec<PathBuf>>

A set of directories describing where the process is likely write data specific to a container instance.

working_dir: Option<PathBuf>

Sets the current working directory of the entrypoint process in the container.

labels: Option<BTreeMap<String, String>>

The field contains arbitrary metadata for the container.

stop_signal: Option<Signal>

The field contains the system call signal that will be sent to the container to exit.

Trait Implementations

impl Clone for ImageConfig[src]

impl PartialEq<ImageConfig> for ImageConfig[src]

impl Debug for ImageConfig[src]

impl Serialize for ImageConfig[src]

impl<'de> Deserialize<'de> for ImageConfig[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]