pkg/ns: refactored so that builds succeed on non-linux platforms
authorAithal <aithal@amazon.com>
Sat, 18 Feb 2017 01:04:53 +0000 (17:04 -0800)
committerAithal <aithal@amazon.com>
Mon, 20 Feb 2017 18:00:55 +0000 (10:00 -0800)
commitdff808c98e37c1bbe80a2615bc80db603e5e9e2c
treeb540f070557240abd33be690b372237f8b107989
parent970de4b9e32a2353b71b8f8bc1f226df906b9964
pkg/ns: refactored so that builds succeed on non-linux platforms

moved functions that depend on linux packages (sys/unix) into a separate file
and added nop methods with a build tag for non-linux platforms in a new file.
ns/ns.go
ns/ns_linux.go [new file with mode: 0644]
ns/ns_unspecified.go [new file with mode: 0644]