summaryrefslogtreecommitdiff
path: root/cmd/kpod
Commit message (Collapse)AuthorAge
* spec_test.go: Unit tests for spec.gobaude2017-11-03
| | | | | | | Unit tests for spec.go which includes testing parts of the oci spec. Signed-off-by: baude <bbaude@redhat.com>
* spec.go: Remove cli context as func argbaude2017-11-03
| | | | | | | Remove cli context as a func arg to make unit tests easier. Signed-off-by: baude <bbaude@redhat.com>
* util_test.go: Unittests for util.gobaude2017-11-03
| | | | | | Add unit tests for func StringInSlice. Signed-off-by: baude <bbaude@redhat.com>
* create_cli_test.go: Unittestsbaude2017-11-03
| | | | | | | | | 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>
* Parse SecurityOptsDaniel J Walsh2017-11-03
| | | | | | | | | 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
* Fix lint error on spec being shadowedDaniel J Walsh2017-11-02
| | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* Fix gofmt errorsDaniel J Walsh2017-11-02
| | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* -mFix crioConfigPathDaniel J Walsh2017-11-02
| | | | | 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>
* libpod create and runbaude2017-11-01
| | | | | | patched version of the same code that went into crio Signed-off-by: baude <bbaude@redhat.com>
* Prune Server package. Convert to new github location.Matthew Heon2017-11-01
| | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
* Initial checkin from CRI-O repoMatthew Heon2017-11-01
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>