| 1 | use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::{ |
| 2 | borrowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/::Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#, |
| 3 | convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/, |
| 4 | fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/, |
| 5 | }; |
| 6 | |
| 7 | /// The `ADD` instruction copies new files, directories or remote file URLs from `<src>` and adds |
| 8 | /// them to the filesystem of the image at the path `<dest>`. |
| 9 | /// |
| 10 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#add). |
| 11 | pub struct Addrust-analyzer cargo dockerfile 0.2.1 instructions/Add#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 12 | |
| 13 | impl Addrust-analyzer cargo dockerfile 0.2.1 instructions/Add# { |
| 14 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Add]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Add] { |
| 15 | Addrust-analyzer cargo dockerfile 0.2.1 instructions/Add#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Addrust-analyzer cargo dockerfile 0.2.1 instructions/Add# { |
| 20 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Add][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 21 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "ADD {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Add#0.) |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | /// The `ARG` instruction defines a variable that users can pass at build-time to the builder with |
| 26 | /// the `docker build` command using the `--build-arg <varname>=<value>` flag. |
| 27 | /// |
| 28 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#arg). |
| 29 | pub struct Argrust-analyzer cargo dockerfile 0.2.1 instructions/Arg#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 30 | |
| 31 | impl Argrust-analyzer cargo dockerfile 0.2.1 instructions/Arg# { |
| 32 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Arg]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Arg] { |
| 33 | Argrust-analyzer cargo dockerfile 0.2.1 instructions/Arg#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Argrust-analyzer cargo dockerfile 0.2.1 instructions/Arg# { |
| 38 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Arg][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 39 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "ARG {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Arg#0.) |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | /// The main purpose of a `CMD` is to provide defaults for an executing container. |
| 44 | /// |
| 45 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#cmd). |
| 46 | pub struct Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Cmd#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 47 | |
| 48 | impl Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Cmd# { |
| 49 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Cmd]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Cmd] { |
| 50 | Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Cmd#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Cmd# { |
| 55 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Cmd][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 56 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "CMD {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Cmd#0.) |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | /// The `COPY` instruction copies new files or directories from `<src>` and adds them to the |
| 61 | /// filesystem of the container at the path `<dest>`. |
| 62 | /// |
| 63 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#copy). |
| 64 | pub struct Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Copy#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 65 | |
| 66 | impl Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Copy# { |
| 67 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Copy]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Copy] { |
| 68 | Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Copy#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Copy# { |
| 73 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Copy][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 74 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "COPY {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Copy#0.) |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | /// Parser directives are optional, and affect the way in which subsequent lines in a `Dockerfile` |
| 79 | /// are handled. |
| 80 | /// |
| 81 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#parser-directives). |
| 82 | pub struct Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Directive#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 83 | |
| 84 | impl Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Directive# { |
| 85 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Directive]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Directive] { |
| 86 | Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Directive#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Directive# { |
| 91 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Directive][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 92 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "# {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Directive#0.) |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | /// An `ENTRYPOINT` allows you to configure a container that will run as an executable. |
| 97 | /// |
| 98 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#entrypoint). |
| 99 | pub struct Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Entrypoint#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 100 | |
| 101 | impl Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Entrypoint# { |
| 102 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Entrypoint]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Entrypoint] { |
| 103 | Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Entrypoint#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Entrypoint# { |
| 108 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Entrypoint][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 109 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "ENTRYPOINT {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Entrypoint#0.) |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | /// The `ENV` instruction sets the environment variable `<key>` to the value `<value>`. |
| 114 | /// |
| 115 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#env). |
| 116 | pub struct Envrust-analyzer cargo dockerfile 0.2.1 instructions/Env#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 117 | |
| 118 | impl Envrust-analyzer cargo dockerfile 0.2.1 instructions/Env# { |
| 119 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Env]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Env] { |
| 120 | Envrust-analyzer cargo dockerfile 0.2.1 instructions/Env#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Envrust-analyzer cargo dockerfile 0.2.1 instructions/Env# { |
| 125 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Env][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 126 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "ENV {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Env#0.) |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | /// The `EXPOSE` instruction informs Docker that the container listens on the specified network |
| 131 | /// ports at runtime. |
| 132 | /// |
| 133 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#expose). |
| 134 | pub struct Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Expose#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 135 | |
| 136 | impl Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Expose# { |
| 137 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Expose]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Expose] { |
| 138 | Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Expose#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Expose# { |
| 143 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Expose][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 144 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "EXPOSE {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Expose#0.) |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | /// The `FROM` instruction initializes a new build stage and sets the base image for subsequent |
| 149 | /// instructions. |
| 150 | /// |
| 151 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#from). |
| 152 | pub struct Fromrust-analyzer cargo dockerfile 0.2.1 instructions/From#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 153 | |
| 154 | impl Fromrust-analyzer cargo dockerfile 0.2.1 instructions/From# { |
| 155 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[From]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[From] { |
| 156 | Fromrust-analyzer cargo dockerfile 0.2.1 instructions/From#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Fromrust-analyzer cargo dockerfile 0.2.1 instructions/From# { |
| 161 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[From][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 162 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "FROM {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/From#0.) |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | /// The `HEALTHCHECK` instruction tells Docker how to test a container to check that it is still |
| 167 | /// working. |
| 168 | /// |
| 169 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#healthcheck). |
| 170 | pub struct Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Healthcheck#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 171 | |
| 172 | impl Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Healthcheck# { |
| 173 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Healthcheck]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Healthcheck] { |
| 174 | Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Healthcheck#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Healthcheck# { |
| 179 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Healthcheck][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 180 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "HEALTHCHECK {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Healthcheck#0.) |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | /// The `LABEL` instruction adds metadata to an image. |
| 185 | /// |
| 186 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#label). |
| 187 | pub struct Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Label#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 188 | |
| 189 | impl Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Label# { |
| 190 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Label]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Label] { |
| 191 | Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Label#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Label# { |
| 196 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Label][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 197 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "LABEL {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Label#0.) |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | /// The `ONBUILD` instruction adds to the image a trigger instruction to be executed at a later |
| 202 | /// time, when the image is used as the base for another build. The trigger will be executed in |
| 203 | /// the context of the downstream build, as if it had been inserted immediately after the `FROM` |
| 204 | /// instruction in the downstream `Dockerfile`. |
| 205 | /// |
| 206 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#onbuild). |
| 207 | pub struct Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Onbuild#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 208 | |
| 209 | impl Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Onbuild# { |
| 210 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Onbuild]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Onbuild] { |
| 211 | Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Onbuild#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Onbuild# { |
| 216 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Onbuild][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 217 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "ONBUILD {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Onbuild#0.) |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | /// The `RUN` instruction will execute any commands in a new layer on top of the current image and |
| 222 | /// commit the results. |
| 223 | /// |
| 224 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#run). |
| 225 | pub struct Runrust-analyzer cargo dockerfile 0.2.1 instructions/Run#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 226 | |
| 227 | impl Runrust-analyzer cargo dockerfile 0.2.1 instructions/Run# { |
| 228 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Run]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Run] { |
| 229 | Runrust-analyzer cargo dockerfile 0.2.1 instructions/Run#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Runrust-analyzer cargo dockerfile 0.2.1 instructions/Run# { |
| 234 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Run][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 235 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "RUN {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Run#0.) |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | /// The `SHELL` instruction allows the default shell used for the shell form of commands to be |
| 240 | /// overridden. |
| 241 | /// |
| 242 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#shell). |
| 243 | pub struct Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Shell#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 244 | |
| 245 | impl Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Shell# { |
| 246 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Shell]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Shell] { |
| 247 | Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Shell#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Shell# { |
| 252 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Shell][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 253 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "SHELL {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Shell#0.) |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | /// The `STOPSIGNAL` instruction sets the system call signal that will be sent to the container |
| 258 | /// to exit. |
| 259 | /// |
| 260 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#stopsignal). |
| 261 | pub struct Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Stopsignal#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 262 | |
| 263 | impl Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Stopsignal# { |
| 264 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Stopsignal]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Stopsignal] { |
| 265 | Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Stopsignal#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Stopsignal# { |
| 270 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Stopsignal][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 271 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "STOPSIGNAL {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Stopsignal#0.) |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | /// The `USER` instruction sets the user name (or UID) and optionally the user group (or GID) to |
| 276 | /// use when running the image and for any `RUN`, `CMD` and `ENTRYPOINT` instructions that follow |
| 277 | /// it in the `Dockerfile`. |
| 278 | /// |
| 279 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#user). |
| 280 | pub struct Userrust-analyzer cargo dockerfile 0.2.1 instructions/User#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 281 | |
| 282 | impl Userrust-analyzer cargo dockerfile 0.2.1 instructions/User# { |
| 283 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[User]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[User] { |
| 284 | Userrust-analyzer cargo dockerfile 0.2.1 instructions/User#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Userrust-analyzer cargo dockerfile 0.2.1 instructions/User# { |
| 289 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[User][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 290 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "USER {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/User#0.) |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | /// The `VOLUME` instruction creates a mount point with the specified name and marks it as holding |
| 295 | /// externally mounted volumes from native host or other containers. |
| 296 | /// |
| 297 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#volume). |
| 298 | pub struct Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Volume#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 299 | |
| 300 | impl Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Volume# { |
| 301 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Volume]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Volume] { |
| 302 | Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Volume#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Volume# { |
| 307 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Volume][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 308 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "VOLUME {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Volume#0.) |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | /// The `WORKDIR` instruction sets the working directory for any `RUN`, `CMD`, `ENTRYPOINT`, |
| 313 | /// `COPY` and `ADD` instructions that follow it in the `Dockerfile`. |
| 314 | /// |
| 315 | /// [See the docs here](https://docs.docker.com/engine/reference/builder/#workdir). |
| 316 | pub struct Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Workdir#(Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>); |
| 317 | |
| 318 | impl Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Workdir# { |
| 319 | pub fn newrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Workdir]new().<T: Intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#<Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str>>>(val: T) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Workdir] { |
| 320 | Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Workdir#(val.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/Into#into().()) |
| 321 | } |
| 322 | } |
| 323 | |
| 324 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Workdir# { |
| 325 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Workdir][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 326 | writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "WORKDIR {}\n", &self.0rust-analyzer cargo dockerfile 0.2.1 instructions/Workdir#0.) |
| 327 | } |
| 328 | } |
| 329 | |
| 330 | ////////////////////////////////////////////////////////////////////////////////////////////////// |
| 331 | // Instruction Enum ////////////////////////////////////////////////////////////////////////////// |
| 332 | |
| 333 | /// An enum representing all of the different types of Dockerfile instructions available. |
| 334 | /// |
| 335 | /// This should be the full list according to the latest |
| 336 | /// [Dockerfile spec here](https://docs.docker.com/engine/reference/builder/). If you notice any |
| 337 | /// missing instructions, please |
| 338 | /// [open an issue here](https://github.com/thedodd/dockerfile/issues/new). |
| 339 | pub enum Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 340 | Addrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Add#(Addrust-analyzer cargo dockerfile 0.2.1 instructions/Add#), |
| 341 | Argrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Arg#(Argrust-analyzer cargo dockerfile 0.2.1 instructions/Arg#), |
| 342 | Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Cmd#(Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Cmd#), |
| 343 | Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Copy#(Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Copy#), |
| 344 | Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Directive#(Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Directive#), |
| 345 | Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Entrypoint#(Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Entrypoint#), |
| 346 | Envrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Env#(Envrust-analyzer cargo dockerfile 0.2.1 instructions/Env#), |
| 347 | Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Expose#(Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Expose#), |
| 348 | Fromrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#From#(Fromrust-analyzer cargo dockerfile 0.2.1 instructions/From#), |
| 349 | Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Healthcheck#(Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Healthcheck#), |
| 350 | Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Label#(Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Label#), |
| 351 | Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Onbuild#(Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Onbuild#), |
| 352 | Runrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Run#(Runrust-analyzer cargo dockerfile 0.2.1 instructions/Run#), |
| 353 | Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Shell#(Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Shell#), |
| 354 | Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Stopsignal#(Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Stopsignal#), |
| 355 | Userrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#User#(Userrust-analyzer cargo dockerfile 0.2.1 instructions/User#), |
| 356 | Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Volume#(Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Volume#), |
| 357 | Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Workdir#(Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Workdir#), |
| 358 | } |
| 359 | |
| 360 | impl fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Displayrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Display# for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 361 | fn fmtrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][Display]fmt().(&self, f: &mut fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Formatterrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Formatter#) -> fmtrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc fmt/::Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/Result# { |
| 362 | match self { |
| 363 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Addrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Add#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 364 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Argrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Arg#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 365 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Cmd#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 366 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Copy#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 367 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Directive#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 368 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Entrypoint#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 369 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Envrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Env#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 370 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Expose#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 371 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Fromrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#From#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 372 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Healthcheck#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 373 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Label#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 374 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Onbuild#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 375 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Runrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Run#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 376 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Shell#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 377 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Stopsignal#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 378 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Userrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#User#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 379 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Volume#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 380 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Workdir#(inst) => writerust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/write!!(f, "{}", inst), |
| 381 | } |
| 382 | } |
| 383 | } |
| 384 | |
| 385 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Addrust-analyzer cargo dockerfile 0.2.1 instructions/Add#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 386 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Add>`]from().(inst: Addrust-analyzer cargo dockerfile 0.2.1 instructions/Add#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Add>`] { |
| 387 | |
| 388 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Addrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Add#(inst) |
| 389 | } |
| 390 | } |
| 391 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Argrust-analyzer cargo dockerfile 0.2.1 instructions/Arg#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 392 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Arg>`]from().(inst: Argrust-analyzer cargo dockerfile 0.2.1 instructions/Arg#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Arg>`] { |
| 393 | |
| 394 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Argrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Arg#(inst) |
| 395 | } |
| 396 | } |
| 397 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Cmd#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 398 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Cmd>`]from().(inst: Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Cmd#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Cmd>`] { |
| 399 | |
| 400 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Cmdrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Cmd#(inst) |
| 401 | } |
| 402 | } |
| 403 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Copy#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 404 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Copy>`]from().(inst: Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Copy#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Copy>`] { |
| 405 | |
| 406 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Copyrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Copy#(inst) |
| 407 | } |
| 408 | } |
| 409 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Directive#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 410 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Directive>`]from().(inst: Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Directive#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Directive>`] { |
| 411 | |
| 412 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Directiverust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Directive#(inst) |
| 413 | } |
| 414 | } |
| 415 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Entrypoint#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 416 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Entrypoint>`]from().(inst: Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Entrypoint#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Entrypoint>`] { |
| 417 | |
| 418 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Entrypointrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Entrypoint#(inst) |
| 419 | } |
| 420 | } |
| 421 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Envrust-analyzer cargo dockerfile 0.2.1 instructions/Env#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 422 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Env>`]from().(inst: Envrust-analyzer cargo dockerfile 0.2.1 instructions/Env#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Env>`] { |
| 423 | |
| 424 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Envrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Env#(inst) |
| 425 | } |
| 426 | } |
| 427 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Expose#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 428 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Expose>`]from().(inst: Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Expose#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Expose>`] { |
| 429 | |
| 430 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Exposerust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Expose#(inst) |
| 431 | } |
| 432 | } |
| 433 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Fromrust-analyzer cargo dockerfile 0.2.1 instructions/From#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 434 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<From>`]from().(inst: Fromrust-analyzer cargo dockerfile 0.2.1 instructions/From#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<From>`] { |
| 435 | |
| 436 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Fromrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#From#(inst) |
| 437 | } |
| 438 | } |
| 439 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Healthcheck#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 440 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Healthcheck>`]from().(inst: Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Healthcheck#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Healthcheck>`] { |
| 441 | |
| 442 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Healthcheckrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Healthcheck#(inst) |
| 443 | } |
| 444 | } |
| 445 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Label#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 446 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Label>`]from().(inst: Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Label#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Label>`] { |
| 447 | |
| 448 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Labelrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Label#(inst) |
| 449 | } |
| 450 | } |
| 451 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Onbuild#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 452 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Onbuild>`]from().(inst: Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Onbuild#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Onbuild>`] { |
| 453 | |
| 454 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Onbuildrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Onbuild#(inst) |
| 455 | } |
| 456 | } |
| 457 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Runrust-analyzer cargo dockerfile 0.2.1 instructions/Run#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 458 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Run>`]from().(inst: Runrust-analyzer cargo dockerfile 0.2.1 instructions/Run#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Run>`] { |
| 459 | |
| 460 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Runrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Run#(inst) |
| 461 | } |
| 462 | } |
| 463 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Shell#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 464 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Shell>`]from().(inst: Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Shell#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Shell>`] { |
| 465 | |
| 466 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Shellrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Shell#(inst) |
| 467 | } |
| 468 | } |
| 469 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Stopsignal#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 470 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Stopsignal>`]from().(inst: Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Stopsignal#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Stopsignal>`] { |
| 471 | |
| 472 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Stopsignalrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Stopsignal#(inst) |
| 473 | } |
| 474 | } |
| 475 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Userrust-analyzer cargo dockerfile 0.2.1 instructions/User#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 476 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<User>`]from().(inst: Userrust-analyzer cargo dockerfile 0.2.1 instructions/User#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<User>`] { |
| 477 | |
| 478 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Userrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#User#(inst) |
| 479 | } |
| 480 | } |
| 481 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Volume#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 482 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Volume>`]from().(inst: Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Volume#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Volume>`] { |
| 483 | |
| 484 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Volumerust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Volume#(inst) |
| 485 | } |
| 486 | } |
| 487 | impl convertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/::Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Workdir#> for Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction# { |
| 488 | fn fromrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Workdir>`]from().(inst: Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Workdir#) -> Selfrust-analyzer cargo dockerfile 0.2.1 instructions/impl#[Instruction][`From<Workdir>`] { |
| 489 | |
| 490 | Instructionrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#::Workdirrust-analyzer cargo dockerfile 0.2.1 instructions/Instruction#Workdir#(inst) |
| 491 | } |
| 492 | } |