Tizen_4.0 base
[platform/upstream/docker-engine.git] / vendor / github.com / docker / libnetwork / osl / sandbox_unsupported.go
1 // +build !linux,!windows,!freebsd,!solaris
2
3 package osl
4
5 import "errors"
6
7 var (
8         // ErrNotImplemented is for platforms which don't implement sandbox
9         ErrNotImplemented = errors.New("not implemented")
10 )
11
12 // NewSandbox provides a new sandbox instance created in an os specific way
13 // provided a key which uniquely identifies the sandbox
14 func NewSandbox(key string, osCreate, isRestore bool) (Sandbox, error) {
15         return nil, ErrNotImplemented
16 }
17
18 // GenerateKey generates a sandbox key based on the passed
19 // container id.
20 func GenerateKey(containerID string) string {
21         return ""
22 }