Files
kata-containers/vendor/github.com/mdlayher/vsock/doc.go
Peng Tao 49184ee562 vendor: update govmm
164bd8c test/fmt: drop extra newlines
73555a4 qmp: add query-status API
234e0ed qemu: fix memory prealloc handling
30bfcaa qemu: add debug logfile

dep now checks for dependency recersively.
runtime-spec and gogo protobuf are also updated as being required by kata agent.

Solving failure: No versions of github.com/kata-containers/agent met constraints:
        94e2a254a94a77c02280f4f84d7f82269be163ce: Could not introduce github.com/kata-containers/agent@94e2a254a94a77c02280f4f84d7f82269be163ce, as it has a dependency on github.com/opencontainers/runtime-spec with constraint a1b50f621a48ad13f8f696a162f684a241307db0, which has no overlap with existing constraint 5806c35637336642129d03657419829569abc5aa from (root)

Solving failure: No versions of github.com/kata-containers/agent met constraints:
        94e2a254a94a77c02280f4f84d7f82269be163ce: Could not introduce github.com/kata-containers/agent@94e2a254a94a77c02280f4f84d7f82269be163ce, as it has a dependency on github.com/gogo/protobuf with constraint 4cbf7e384e768b4e01799441fdf2a706a5635ae7, which has no overlap with existing constraint 342cbe0a04158f6dcb03ca0079991a51a4248c02 from (root)

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
2019-08-16 12:55:10 +00:00

56 lines
2.4 KiB
Go

// Package vsock provides access to Linux VM sockets (AF_VSOCK) for
// communication between a hypervisor and its virtual machines.
//
// The types in this package implement interfaces provided by package net and
// may be used in applications that expect a net.Listener or net.Conn.
//
// - *Addr implements net.Addr
// - *Conn implements net.Conn
// - *Listener implements net.Listener
//
// Go version support
//
// This package supports varying levels of functionality depending on the version
// of Go used during compilation. The Listener and Conn types produced by this
// package are backed by non-blocking I/O, in order to integrate with Go's
// runtime network poller in Go 1.11+. Additional functionality is available
// starting in Go 1.12+.
//
// Go 1.12+ (recommended):
// - *Listener:
// - Accept blocks until a connection is received
// - Close can interrupt Accept and make it return a permanent error
// - SetDeadline can set timeouts which can interrupt Accept and make it return a
// temporary error
// - *Conn:
// - SetDeadline family of methods are fully supported
// - CloseRead and CloseWrite can close the reading or writing sides of a
// Conn, respectively
// - SyscallConn provides access to raw network control/read/write functionality
//
// Go 1.11 (not recommended):
// - *Listener:
// - Accept is non-blocking and should be called in a loop, checking for
// net.Error.Temporary() == true and sleeping for a short period to avoid wasteful
// CPU cycle consumption
// - Close makes Accept return a permanent error on the next loop iteration
// - SetDeadline is not supported and will always return an error
// - *Conn:
// - SetDeadline family of methods are fully supported
// - CloseRead and CloseWrite are not supported and will always return an error
// - SyscallConn is not supported and will always return an error
//
// Go 1.10 and below are not supported. The runtime network poller integration
// required by this package is not available in Go versions prior to Go 1.11.
// Unsupported versions of Go will produce a compilation error when trying to
// build this package.
//
// Stability
//
// At this time, package vsock is in a pre-v1.0.0 state. Changes are being made
// which may impact the exported API of this package and others in its ecosystem.
//
// If you depend on this package in your application, please use Go modules when
// building your application.
package vsock