Vincent Demeester
22ed49846c
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 >
Upstream-commit: dfc6c04fa3f7dcb0e78e9dd5e8e4dd285b98546d
Component: engine
2015-07-12 10:33:30 +02:00
..
2015-04-07 08:43:14 -07:00
2015-07-10 15:32:13 -07:00
2015-07-10 14:33:11 -07:00
2015-06-26 11:03:11 +09:00
2015-06-30 17:43:17 +01:00
2015-07-01 18:16:17 +02:00
2015-05-02 03:12:58 +02:00
2015-07-10 14:33:11 -07:00
2015-06-22 04:15:41 -07:00
2015-06-22 04:15:41 -07:00
2015-06-22 04:15:41 -07:00
2015-05-26 16:17:33 -07:00
2015-07-12 10:33:30 +02:00
2015-06-30 17:43:17 +01:00
2015-07-10 14:33:11 -07:00
2015-07-10 14:33:11 -07:00
2015-07-10 14:33:11 -07:00
2015-05-02 03:12:58 +02:00
2015-07-10 14:33:11 -07:00
2015-06-16 16:50:56 -07:00
2015-06-08 15:09:33 -07:00
2015-06-08 15:09:33 -07:00
2015-06-08 15:09:33 -07:00
2015-06-08 15:09:33 -07:00
2015-06-09 18:04:59 -07:00
2014-11-25 01:02:30 +02:00
2015-06-30 16:48:17 -04:00
2015-07-10 14:33:11 -07:00
2015-05-14 15:57:45 -07:00
2015-07-10 14:33:11 -07:00
2015-07-06 18:58:53 -07:00
2015-07-06 18:58:53 -07:00
2015-07-06 18:58:53 -07:00
2015-07-02 18:24:35 +08:00
2015-05-06 16:19:27 -07:00
2015-05-06 16:19:27 -07:00
2015-07-09 14:51:10 -07:00
2015-06-01 12:39:28 -07:00
2015-03-25 00:13:13 +03:00
2015-07-10 14:33:11 -07:00
2015-07-09 16:37:54 -07:00
2015-07-08 10:55:42 -07:00
2015-06-01 12:39:28 -07:00
2015-07-10 15:43:01 -04:00
2015-06-26 11:03:11 +09:00
2015-05-14 10:34:09 -07:00
2015-06-04 13:56:40 -07:00
2015-07-02 18:24:35 +08:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-05-02 03:12:58 +02:00
2015-06-01 12:39:28 -07:00
2015-06-13 09:31:19 +08:00
2014-12-12 10:44:59 -08:00
2015-07-02 16:12:42 -07:00
2015-06-01 09:11:03 -07:00
2015-06-01 09:11:03 -07:00
2015-06-15 18:18:38 -04:00
2015-06-12 13:06:06 -04:00
2015-07-01 11:15:16 -07:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-06-01 12:39:28 -07:00
2015-04-15 10:22:07 -07:00
2015-05-29 22:38:09 +02:00
2015-05-27 12:50:16 -07:00
2015-05-28 14:06:17 -07:00
2015-06-09 18:04:59 -07:00
2015-05-27 12:50:16 -07:00
2015-05-28 14:06:17 -07:00
2015-05-21 20:34:17 -07:00
2015-06-09 18:04:59 -07:00
2015-07-12 10:33:30 +02:00
2015-05-11 19:56:41 +02:00