pub enum DockerfileInstructionKind {
Show 16 variants
From,
Run,
Copy,
Add,
Cmd,
Entrypoint,
Env,
Arg,
Workdir,
Expose,
Label,
User,
Volume,
Healthcheck,
Stopsignal,
Shell,
}Expand description
Common Dockerfile instruction keywords.
Variants§
From
FROM.
Run
RUN.
Copy
COPY.
Add
ADD.
Cmd
CMD.
Entrypoint
ENTRYPOINT.
Env
ENV.
Arg
ARG.
Workdir
WORKDIR.
Expose
EXPOSE.
Label
LABEL.
User
USER.
Volume
VOLUME.
Healthcheck
HEALTHCHECK.
Stopsignal
STOPSIGNAL.
Shell
SHELL.
Implementations§
Trait Implementations§
Source§impl Clone for DockerfileInstructionKind
impl Clone for DockerfileInstructionKind
Source§fn clone(&self) -> DockerfileInstructionKind
fn clone(&self) -> DockerfileInstructionKind
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 moreSource§impl Debug for DockerfileInstructionKind
impl Debug for DockerfileInstructionKind
Source§impl Display for DockerfileInstructionKind
impl Display for DockerfileInstructionKind
Source§impl FromStr for DockerfileInstructionKind
impl FromStr for DockerfileInstructionKind
Source§impl Hash for DockerfileInstructionKind
impl Hash for DockerfileInstructionKind
Source§impl Ord for DockerfileInstructionKind
impl Ord for DockerfileInstructionKind
Source§fn cmp(&self, other: &DockerfileInstructionKind) -> Ordering
fn cmp(&self, other: &DockerfileInstructionKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DockerfileInstructionKind
impl PartialEq for DockerfileInstructionKind
Source§fn eq(&self, other: &DockerfileInstructionKind) -> bool
fn eq(&self, other: &DockerfileInstructionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DockerfileInstructionKind
impl PartialOrd for DockerfileInstructionKind
impl Copy for DockerfileInstructionKind
impl Eq for DockerfileInstructionKind
impl StructuralPartialEq for DockerfileInstructionKind
Auto Trait Implementations§
impl Freeze for DockerfileInstructionKind
impl RefUnwindSafe for DockerfileInstructionKind
impl Send for DockerfileInstructionKind
impl Sync for DockerfileInstructionKind
impl Unpin for DockerfileInstructionKind
impl UnsafeUnpin for DockerfileInstructionKind
impl UnwindSafe for DockerfileInstructionKind
Blanket Implementations§
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