1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/opts
Vincent Demeester dfc6c04fa3 Add test coverage to opts and refactor
- Refactor opts.ValidatePath and add an opts.ValidateDevice
  ValidePath will now accept : containerPath:mode, hostPath:containerPath:mode
  and hostPath:containerPath.
  ValidateDevice will have the same behavior as current.

- Refactor opts.ValidateEnv, opts.ParseEnvFile
  Environment variables will now be validated with the following
  definition :
  > Environment variables set by the user must have a name consisting
  > solely of alphabetics, numerics, and underscores - the first of
  > which must not be numeric.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-07-12 10:33:30 +02:00
..
envfile.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
envfile_test.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
ip.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
ip_test.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
opts.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
opts_test.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00
ulimit.go Allow setting ulimits for containers 2015-02-25 19:37:43 -05:00
ulimit_test.go Add test coverage to opts and refactor 2015-07-12 10:33:30 +02:00