mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 18:44:47 +01:00
Lets have a global vendor base on virtcontainers. Signed-off-by: Julio Montes <julio.montes@intel.com> Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com> Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
25 lines
445 B
Go
25 lines
445 B
Go
//+build !linux
|
|
|
|
package vsock
|
|
|
|
import (
|
|
"fmt"
|
|
"net"
|
|
"runtime"
|
|
)
|
|
|
|
var (
|
|
// errUnimplemented is returned by all functions on platforms that
|
|
// cannot make use of VM sockets.
|
|
errUnimplemented = fmt.Errorf("vsock: not implemented on %s/%s",
|
|
runtime.GOOS, runtime.GOARCH)
|
|
)
|
|
|
|
func listenStream(_ uint32) (net.Listener, error) {
|
|
return nil, errUnimplemented
|
|
}
|
|
|
|
func dialStream(_, _ uint32) (net.Conn, error) {
|
|
return nil, errUnimplemented
|
|
}
|