Skip to content

Commit

Permalink
Fix Namespaces to use LinuxNamespaceType
Browse files Browse the repository at this point in the history
Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
  • Loading branch information
Kenta Tada authored and Kenta Tada committed Apr 19, 2019
1 parent a1b50f6 commit fbda535
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,17 @@ const (
// PIDNamespace for isolating process IDs
PIDNamespace LinuxNamespaceType = "pid"
// NetworkNamespace for isolating network devices, stacks, ports, etc
NetworkNamespace = "network"
NetworkNamespace LinuxNamespaceType = "network"
// MountNamespace for isolating mount points
MountNamespace = "mount"
MountNamespace LinuxNamespaceType = "mount"
// IPCNamespace for isolating System V IPC, POSIX message queues
IPCNamespace = "ipc"
IPCNamespace LinuxNamespaceType = "ipc"
// UTSNamespace for isolating hostname and NIS domain name
UTSNamespace = "uts"
UTSNamespace LinuxNamespaceType = "uts"
// UserNamespace for isolating user and group IDs
UserNamespace = "user"
UserNamespace LinuxNamespaceType = "user"
// CgroupNamespace for isolating cgroup hierarchies
CgroupNamespace = "cgroup"
CgroupNamespace LinuxNamespaceType = "cgroup"
)

// LinuxIDMapping specifies UID/GID mappings
Expand Down

0 comments on commit fbda535

Please sign in to comment.