lib: abstract out sandbox for platforms

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2018-01-23 08:57:36 -05:00
parent 8ea79e755f
commit 509890acc1
Signed by: vbatts
GPG key ID: 10937E57733F1362
3 changed files with 41 additions and 12 deletions

View file

@ -0,0 +1,13 @@
// +build !linux
package lib
import "github.com/kubernetes-incubator/cri-o/lib/sandbox"
func (c *ContainerServer) addSandboxPlatform(sb *sandbox.Sandbox) {
// nothin' doin'
}
func (c *ContainerServer) removeSandboxPlatform(sb *sandbox.Sandbox) {
// nothin' doin'
}