Windows: Refactor configs/cgroup.go

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2015-10-23 13:08:18 -07:00
parent bed70ca579
commit 8690e9cc8c
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,5 @@
// +build linux freebsd
package configs
type FreezerState string
@ -8,9 +10,6 @@ const (
Thawed FreezerState = "THAWED"
)
// TODO Windows: This can be factored out in the future as Cgroups are not
// supported on the Windows platform.
type Cgroup struct {
Name string `json:"name"`

View File

@ -0,0 +1,6 @@
package configs
// TODO Windows: This can ultimately be entirely factored out on Windows as
// cgroups are a Unix-specific construct.
type Cgroup struct {
}