pkg/ns: remove namespace creation (and move to testutils)

Namespace creation had an unergonomic interface and isn't used, except
for testing code. Remove it; downstream users should really be creating
their own namespaces
This commit is contained in:
Casey Callendrello
2018-04-03 18:56:25 +02:00
parent 1fb94a4222
commit a0eac8d7d9
20 changed files with 225 additions and 143 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ var _ = Describe("sample test", func() {
BeforeEach(func() {
var err error
targetNs, err = ns.NewNS()
targetNs, err = testutils.NewNS()
Expect(err).NotTo(HaveOccurred())
})