cri-o/oci/oci_unsupported.go

21 lines
322 B
Go
Raw Normal View History

// +build !linux
package oci
import (
"os"
"syscall"
)
func createContainerPlatform(c *Container, cgroupParent string, pid int) error {
return nil
}
func sysProcAttrPlatform() *syscall.SysProcAttr {
return &syscall.SysProcAttr{}
}
func newPipe() (parent *os.File, child *os.File, err error) {
return os.Pipe()
}