402c30333f
Remove defaults and use runtime-tools/generate for spec
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes : #19
Approved by: baude
2017-11-06 14:43:06 +00:00
dbd524e3d1
Merge pull request #17 from rhatdan/caps
...
Add support for Caps Options.
2017-11-05 17:06:25 -05:00
0026075d59
libpod/runtime_img_test.go Unit Tests
...
Unit tests for getRegistry related functions.
Signed-off-by: baude <bbaude@redhat.com>
2017-11-04 11:12:14 -05:00
619637a919
Handle Linux Capabilities from command line
...
Had to revendor in docker/docker again, which dropped a bunch of packages
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-11-04 09:07:47 +00:00
69cecb049a
spec_test.go: Unit tests for spec.go
...
Unit tests for spec.go which includes testing
parts of the oci spec.
Signed-off-by: baude <bbaude@redhat.com>
2017-11-03 20:37:41 -05:00
aa19565d8d
spec.go: Remove cli context as func arg
...
Remove cli context as a func arg to make unit tests
easier.
Signed-off-by: baude <bbaude@redhat.com>
2017-11-03 20:37:33 -05:00
99ca35f185
util_test.go: Unittests for util.go
...
Add unit tests for func StringInSlice.
Signed-off-by: baude <bbaude@redhat.com>
2017-11-03 20:37:27 -05:00
46d762176e
create_cli_test.go: Unittests
...
Create unittests for the create_cli helper functions. As
such, remove cli context usage from the functions to
further divide between cli input and parsing. Also, simplifies
unit testing.
Signed-off-by: baude <bbaude@redhat.com>
2017-11-03 20:37:19 -05:00
098389dc3e
Parse SecurityOpts
...
This should turn on handling of SELinux, NoNewPrivs, seccomp and Apparmor
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes : #15
Approved by: rhatdan
2017-11-03 20:55:10 +00:00
0847e770bb
Fix lint error on spec being shadowed
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-11-02 16:29:34 -04:00
92818fdfb7
Fix gofmt errors
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-11-02 15:30:39 -04:00
83b55c4771
-mFix crioConfigPath
...
I don't believe this should be in here, but for now we need to make it not global
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-11-02 15:30:26 -04:00
8cf07b2ad1
libpod create and run
...
patched version of the same code that went into crio
Signed-off-by: baude <bbaude@redhat.com>
2017-11-01 14:19:19 -05:00
c13f61798a
Prune Server package. Convert to new github location.
...
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2017-11-01 13:22:04 -04:00
637de4d0d3
Remove CRI-O binaries and makefile targets
...
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2017-11-01 11:51:10 -04:00
a031b83a09
Initial checkin from CRI-O repo
...
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2017-11-01 11:24:59 -04:00