pub struct OciImageConfig {
pub entrypoint: Option<Vec<String>>,
pub cmd: Option<Vec<String>>,
pub env: Vec<(String, String)>,
pub working_dir: Option<String>,
pub user: Option<String>,
pub exposed_ports: Vec<String>,
pub labels: HashMap<String, String>,
pub volumes: Vec<String>,
pub stop_signal: Option<String>,
pub health_check: Option<OciHealthCheck>,
pub onbuild: Vec<String>,
}Expand description
Parsed OCI image configuration with entrypoint and environment.
Fields§
§entrypoint: Option<Vec<String>>Entrypoint command
cmd: Option<Vec<String>>Default command arguments
env: Vec<(String, String)>Environment variables
working_dir: Option<String>Working directory
user: Option<String>User to run as
exposed_ports: Vec<String>Exposed ports
labels: HashMap<String, String>Labels
volumes: Vec<String>Volumes declared in the image (OCI VOLUME directive)
stop_signal: Option<String>Stop signal
health_check: Option<OciHealthCheck>Health check configuration
onbuild: Vec<String>ONBUILD triggers
Trait Implementations§
Source§impl Clone for OciImageConfig
impl Clone for OciImageConfig
Source§fn clone(&self) -> OciImageConfig
fn clone(&self) -> OciImageConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OciImageConfig
impl RefUnwindSafe for OciImageConfig
impl Send for OciImageConfig
impl Sync for OciImageConfig
impl Unpin for OciImageConfig
impl UnsafeUnpin for OciImageConfig
impl UnwindSafe for OciImageConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more