refactor enabled connectors

This commit is contained in:
Bradley Cicenas
2018-01-29 12:47:10 +00:00
parent 01a305d326
commit ac1ce18143
6 changed files with 11 additions and 17 deletions

View File

@@ -17,6 +17,8 @@ import (
"github.com/opencontainers/runc/libcontainer/cgroups/systemd"
)
func init() { enabled["runc"] = NewRunc }
type RuncOpts struct {
root string // runc root path
systemdCgroups bool // use systemd cgroups