vf

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectVsockSync

func ConnectVsockSync(vm *vz.VirtualMachine, port uint) (net.Conn, error)

func ExposeVsock

func ExposeVsock(vm *vz.VirtualMachine, port uint, vsockPath string, listen bool) error

func Listen

func Listen(v *vz.VirtioSocketDevice, port uint32) (net.Listener, error)

Types

type Listener

type Listener struct {
	// contains filtered or unexported fields
}

func (*Listener) Accept

func (l *Listener) Accept() (net.Conn, error)

func (*Listener) Addr

func (l *Listener) Addr() net.Addr

Addr returns the listener's network address.

func (*Listener) Close

func (l *Listener) Close() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL