Commit Graph

746 Commits

Author SHA1 Message Date
Diptanu Choudhury
11a67599b9 Implemeted readAt 2016-01-12 22:06:42 -08:00
Diptanu Choudhury
b5385b616d Implemented the Stat API 2016-01-12 21:28:07 -08:00
Diptanu Choudhury
cbcdaec3fe Added the Stat API 2016-01-12 15:25:51 -08:00
Diptanu Choudhury
744c226c23 Added methods for listing directories inside an alloc 2016-01-12 15:03:53 -08:00
Alex Dadgar
dccbc0320b Fix tests 2016-01-11 09:58:31 -08:00
Alex Dadgar
8cc513d16c Add folder 2016-01-11 09:58:31 -08:00
Alex Dadgar
b8a42786f3 merge 2016-01-11 09:58:26 -08:00
Bastiaan Bakker
bf4217e4e8 Add options ipc_mode, pid_mode and uts_mode to docker driver.
May only be used if priviliged mode is enabled in driver config.
2016-01-08 23:34:49 +01:00
Diptanu Choudhury
5340767c29 Printing error message if check is not valid 2016-01-07 17:51:57 -08:00
Alex Dadgar
09a0f40278 Use basic executor 2016-01-06 15:31:08 -08:00
Diptanu Choudhury
06e2a983c1 Adding a , between args to netdav 2016-01-05 13:17:51 -08:00
Alex Dadgar
7db04aa37f Merge pull request #645 from achanda/mount_dirs
Mount task and alloc dirs in the rkt driver
2016-01-05 10:34:03 -08:00
Abhishek Chanda
9ebc143345 Mount task and alloc dirs in the rkt driver
rkt docs herer https://coreos.com/rkt/docs/latest/subcommands/run.html#mounting-volumes
2016-01-05 10:27:44 +00:00
Alex Dadgar
7cc5714dc9 Merge pull request #624 from hashicorp/f-adjustable-timeout
User specifiable kill timeout and operator configurable max
2016-01-04 11:44:22 -08:00
Alex Dadgar
428806a5f1 Merge pull request #633 from achanda/opts_change
Update the insecure flag
2015-12-28 13:35:36 -08:00
Kenneth Feng
b03d94da1e linux/exec: add /usr/share to ChrootEnv 2015-12-28 13:39:34 -05:00
Abhishek Chanda
62d879d317 Update the insecure flag
The current call has been deprecated in
https://github.com/coreos/rkt/pull/1738
2015-12-25 15:59:54 +00:00
Alex Dadgar
9f44780f89 User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Abhishek Chanda
b9a8aa2250 Consolidate if else conditions 2015-12-22 18:23:29 +00:00
Alex Dadgar
e7570976b2 Rkt comment and variable name update 2015-12-22 10:11:22 -08:00
Alex Dadgar
8ad5fd2324 Merge pull request #610 from achanda/isolators
Add support for CPU and memory isolators
2015-12-22 10:09:12 -08:00
Alex Dadgar
50e2fbda25 Merge pull request #614 from achanda/handle_status
Handle non 200 codes while getting env metadata
2015-12-22 10:05:32 -08:00
Abhishek Chanda
13aac9e8af Handle non 200 codes while getting env metadata 2015-12-22 05:23:32 +00:00
Abhishek Chanda
84acb2590b Move constants to the top 2015-12-22 05:15:37 +00:00
Abhishek Chanda
f5e2ac06aa Do not allow rkt version less than 0.14.0 2015-12-21 17:48:21 +00:00
Abhishek Chanda
c3c8146042 Use camelCase for variable names 2015-12-21 16:37:21 +00:00
Chris Hines
dff2460d03 Allow for low precision time.Now on Windows. 2015-12-21 10:43:45 -05:00
Abhishek Chanda
19bcf4fce3 Run gofmt 2015-12-21 06:09:11 +00:00
Abhishek Chanda
6f3210e3d7 Support CPU and meory isolators for the rkt driver
The rkt community added supprt for these isolators recently
2015-12-21 06:06:45 +00:00
Alex Dadgar
95f93396e5 Fix test because of jitter 2015-12-18 12:17:54 -08:00
Alex Dadgar
b48a8e3762 Add jitter 2015-12-18 12:17:54 -08:00
Alex Dadgar
b46bb0a02d Make NewRestartTracker private 2015-12-18 12:17:54 -08:00
Alex Dadgar
3122433b47 merge 2015-12-18 12:17:13 -08:00
Diptanu Choudhury
042612d854 Moving the de-register once a task moves to DEAD state 2015-12-17 16:41:29 -08:00
Clint Shryock
dd6cc455fe Executors/Linux: Update Executor config struct 2015-12-17 10:25:42 -06:00
Diptanu Choudhury
06443a6629 Using cgo dependencies to look up users 2015-12-15 11:12:13 -08:00
Diptanu Choudhury
cbc70a5465 Changed some comments 2015-12-14 18:05:58 -08:00
Diptanu Choudhury
f089e249c8 Renamed serviceId to serviceID 2015-12-14 15:57:56 -08:00
Diptanu Choudhury
ed04b11862 Fixed tests 2015-12-14 15:47:01 -08:00
Diptanu Choudhury
d4d7572604 Making the allocs hold service ids 2015-12-14 15:08:35 -08:00
Diptanu Choudhury
68b1dd032e Changing the prefix of the service 2015-12-14 11:14:22 -08:00
Diptanu Choudhury
4b41cfc43e Fixed log printing logic 2015-12-11 15:45:49 -08:00
Alex Dadgar
d536fe9027 Remove all calls to the default logger 2015-12-11 15:02:13 -08:00
Diptanu Choudhury
6a1e615991 Refactored test and added some comments 2015-12-11 14:14:04 -08:00
Diptanu Choudhury
519dc4c65b Exctracted nomad- to a constant 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
45bdd1c5e5 Removing extra lines 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
568006247d Making a struct to hold consul service config 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
df14c98b3f Added a test for the filtering logic of service and clients 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
f182c13729 Deregister services and checks which are managed by Nomad 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
32c0177bc1 Merge pull request #567 from hashicorp/r-mute-consul-debug-messages
mute consul debug messages
2015-12-11 13:58:15 -08:00