lib: abstract out sandbox for platforms
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
8ea79e755f
commit
509890acc1
3 changed files with 41 additions and 12 deletions
13
lib/container_server_unsupported.go
Normal file
13
lib/container_server_unsupported.go
Normal 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'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue