moby--moby/opts
Vincent Demeester aa4ecd153b
Make sure we validate simple syntax on service commands
We ignored errors for simple syntax in `PortOpt` (missed that in the
previous migration of this code). This make sure we don't ignore
`nat.Parse` errors.

Test has been migrate too (errors are not exactly the same as before
though -_-)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-02-07 12:45:47 +01:00
..
env.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
env_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
hosts.go Merge pull request #29697 from yuexiao-wang/fix-docker-daemon 2017-01-04 11:55:38 +01:00
hosts_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
hosts_unix.go Finish linting opts and trust package. 2015-08-27 17:36:11 +02:00
hosts_windows.go Windows: Default to npipe transport 2016-03-01 18:27:01 -08:00
ip.go Convert dockerd to use cobra and pflag 2016-08-25 13:09:03 -04:00
ip_test.go golint: trust 2015-08-27 11:40:27 +02:00
mount.go opts/mount: add tmpfs-specific options 2016-11-09 02:01:53 +00:00
mount_test.go opts/mount: add tmpfs-specific options 2016-11-09 02:01:53 +00:00
opts.go Update opts.MemBytes to disable default, and move `docker run/create/build` to use opts.MemBytes 2017-01-27 12:17:06 -08:00
opts_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
opts_unix.go Update docker daemon to dockerd 2016-12-27 17:32:15 +08:00
opts_windows.go Update docker daemon to dockerd 2016-12-27 17:32:15 +08:00
port.go Make sure we validate simple syntax on service commands 2017-02-07 12:45:47 +01:00
port_test.go Make sure we validate simple syntax on service commands 2017-02-07 12:45:47 +01:00
quotedstring.go Trim quotes from TLS flags. 2017-01-03 15:58:41 -05:00
quotedstring_test.go Trim quotes from TLS flags. 2017-01-03 15:58:41 -05:00
runtime.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
secret.go Add "src" alias for `--secret` 2017-01-24 15:41:45 +01:00
secret_test.go Add "src" alias for `--secret` 2017-01-24 15:41:45 +01:00
throttledevice.go Improve usage output for docker run 2016-12-30 17:35:46 +01:00
ulimit.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
ulimit_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
weightdevice.go Improve usage output for docker run 2016-12-30 17:35:46 +01:00