sandbox_unsupported.go 475 B

123456789101112131415161718192021
  1. // +build !linux
  2. package sandbox
  3. import "errors"
  4. var (
  5. ErrNotImplemented = errors.New("not implemented")
  6. )
  7. // NewSandbox provides a new sandbox instance created in an os specific way
  8. // provided a key which uniquely identifies the sandbox
  9. func NewSandbox(key string, osCreate bool) (Sandbox, error) {
  10. return nil, ErrNotImplemented
  11. }
  12. // GenerateKey generates a sandbox key based on the passed
  13. // container id.
  14. func GenerateKey(containerID string) string {
  15. return ""
  16. }