Commit graph

81 commits

Author SHA1 Message Date
Andre Nathan 4fc49d6526 Remove debug prints 2013-12-06 14:59:09 -02:00
Andre Nathan 80529bcf79 Standardizing project structure 2013-12-06 14:59:02 -02:00
Andre Nathan adc97bb5d0 Adding lib, just defining LXC::VERSION 2013-12-06 14:20:50 -02:00
Andre Nathan 23321614d2 Removing Makefile 2013-12-06 14:20:30 -02:00
Andre Nathan 17718d6884 Ignore vim swap files 2013-12-06 14:02:35 -02:00
Andre Nathan 8740e075be Add tests for cgroups, freezing and cloning 2013-12-06 14:02:05 -02:00
Andre Nathan 9b2372ba10 Shutdown the container before stopping it 2013-12-06 14:01:31 -02:00
Andre Nathan d35c0be1e4 Fix cloning and return a Container instance 2013-12-06 14:00:06 -02:00
Andre Nathan c4bb23c6a6 More complete Container#ip_addresses test 2013-12-06 10:51:58 -02:00
Andre Nathan 057f8b3390 Just test for sys{read,write} in is_io() 2013-12-06 10:38:58 -02:00
Andre Nathan 892e1637b1 Accept string arguments 2013-12-06 09:37:29 -02:00
Andre Nathan 5c1d459b67 Fix argv 2013-12-06 09:36:51 -02:00
Andre Nathan a4fc5df066 Fix string array conversion to C, simplify freeing 2013-12-06 09:29:17 -02:00
Andre Nathan c75faed9ec Adding LXC::arch_to_personality and LXC::run_shell 2013-12-06 08:51:09 -02:00
Andre Nathan 772b8b80d7 Adding unit tests 2013-12-05 17:29:25 -02:00
Andre Nathan 8f86513c23 Fix LXC::run_command argument count 2013-12-05 17:29:01 -02:00
Andre Nathan 80ccf89619 Fix IO object test 2013-12-05 17:16:26 -02:00
Andre Nathan 9d78dac57e Implement LXC::run_command 2013-12-05 16:40:12 -02:00
Andre Nathan d06cb87dee Define constants in LXC, not in LXC::Container 2013-12-05 16:39:25 -02:00
Andre Nathan 58bbb4cb41 Fix lxc_attach payload argument 2013-12-05 16:38:50 -02:00
Andre Nathan 2d86d77cd4 Fix lxc_attach argument parsing 2013-12-05 16:36:29 -02:00
Andre Nathan 1e4f1802bd Fix handling of LXC::Container#start argument 2013-12-05 15:27:43 -02:00
Andre Nathan d6a14c0e96 Deal with possible array values 2013-12-05 14:49:05 -02:00
Andre Nathan 766ff07743 No setter syntax for methods taking two arguments 2013-12-05 11:29:30 -02:00
Andre Nathan 8d2df83b43 Return nil if container has no init 2013-12-05 10:46:38 -02:00
Andre Nathan a613d6ffb0 Fix assignment 2013-12-05 10:43:15 -02:00
Andre Nathan b404edda66 Add .gitignore 2013-12-05 09:45:06 -02:00
Andre Nathan 739f6df287 Add LXC singleton methods 2013-12-05 09:44:23 -02:00
Andre Nathan 61dddd8ec9 Don't yield on initialize 2013-12-05 08:14:15 -02:00
Andre Nathan 9a25d6ef29 Adding constants 2013-12-04 16:38:02 -02:00
Andre Nathan 8aada3d6df Initial commit 2013-12-04 16:12:15 -02:00