Commit Graph

30 Commits

Author SHA1 Message Date
Chris Bednarski
ba59ebdfa9 Clarified package documentation for executor in response to #232 2015-10-08 00:02:46 -07:00
Alex Dadgar
50862f8e31 Switch to using BlkioWeight 2015-10-06 15:44:01 -07:00
Chris Bednarski
095dc9ae57 Updated Throttle Read/Write to match upstream changes in runc; now takes a list of ThrottleDevice structs instead of an int 2015-10-06 15:31:47 -07:00
Alex Dadgar
90c2281a4e Better Sprintf 2015-09-27 17:41:43 -07:00
Alex Dadgar
be406ea5d4 Fix args in test 2015-09-27 17:37:24 -07:00
Alex Dadgar
6d8a913242 ParseAndReplace args at the executor level 2015-09-27 17:37:24 -07:00
Alex Dadgar
17b2fb4600 Check err 2015-09-27 17:37:24 -07:00
Alex Dadgar
64ac893eb1 Set the allocdir correctly when using the linux executor 2015-09-27 17:37:24 -07:00
Alex Dadgar
04094cfb40 Small test cleanup 2015-09-25 17:55:29 -07:00
Alex Dadgar
6d7afcd1ff Skip non-regular files in embedding and comment on the chrootEnv map 2015-09-25 16:49:19 -07:00
Alex Dadgar
84e6601db8 Update CPU limit to be an int 2015-09-25 16:49:18 -07:00
Alex Dadgar
e5eb55c805 Only unmount once 2015-09-25 16:49:18 -07:00
Alex Dadgar
099e9de211 Fix cgroup isolation 2015-09-25 16:49:18 -07:00
Chris Bednarski
5c4bb5d53e Added errNoResources to executor package; return this when Limit is called with nil argument 2015-09-25 16:49:18 -07:00
Chris Bednarski
559462b49f Added basic resources to exec/java tests so each test has cpu, ram, and network 2015-09-25 16:49:18 -07:00
Alex Dadgar
8a5e65e27a Merge qemu test 2015-09-25 16:49:14 -07:00
Alex Dadgar
06de892626 Update exec_linux to assume it is running as root 2015-09-22 16:44:11 -07:00
Chris Bednarski
cbc153c12f Added named ports 2015-09-22 13:59:16 -07:00
Alex Dadgar
08f790f5ec Fixed function comment 2015-09-21 09:08:57 -07:00
Alex Dadgar
fcdf5afa03 Tests skip based on cgroups, not root 2015-09-21 09:08:57 -07:00
Alex Dadgar
c88f93ca71 Update UniversalExecutor to have string identifiers 2015-09-21 09:08:57 -07:00
Alex Dadgar
5ac6c3b73d Linux executor with cgroup isolation support 2015-09-21 09:08:57 -07:00
Clint Shryock
e434d938af executor/linux: Add UUID for the name, return error on failure to apply 2015-09-21 09:08:57 -07:00
Clint Shryock
f65406009f exec/linux: move Limit to after Start 2015-09-21 09:08:57 -07:00
Clint Shryock
15e64312b7 spike on adding cgroups 2015-09-21 09:08:57 -07:00
Chris Bednarski
3a8df12199 Windows does not support exec.Cmd.SysProcAttr.Credential call; this causes cross-compiltion to fail so it's behind a build flag now 2015-09-18 18:59:42 -07:00
Chris Bednarski
cdd065cb07 Support running Linux exec as a non-root user 2015-09-15 20:17:23 -07:00
Chris Bednarski
06a0bd0bf7 Overhaul the executor code so we use build flags instead of dynamic loading 2015-09-15 18:54:55 -07:00
Chris Bednarski
c8516f3e9c Changed Default executor to use a factory 2015-09-15 16:40:40 -07:00
Chris Bednarski
a5512c22e9 Rename exec package to executor so it works better with goimports; fixes for Java driver 2015-09-15 14:03:03 -07:00