Documentation ¶
Index ¶
Constants ¶
View Source
const ( CIDHost = 2 CIDGuest = 3 )
Variables ¶
View Source
var ( ErrCouldNotConnectToVSock = errors.New("could not connect to VSock") ErrRemoteNotFound = errors.New("remote not found") )
Functions ¶
func SendLivenessPing ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
type LivenessPingReceiver ¶
type LivenessPingReceiver struct {
// contains filtered or unexported fields
}
func NewLivenessPingReceiver ¶
func NewLivenessPingReceiver( vsockPath string, vsockPort uint32, ) *LivenessPingReceiver
func (*LivenessPingReceiver) Close ¶
func (l *LivenessPingReceiver) Close()
func (*LivenessPingReceiver) Open ¶
func (l *LivenessPingReceiver) Open() (string, error)
func (*LivenessPingReceiver) Receive ¶
func (l *LivenessPingReceiver) Receive() error
Click to show internal directories.
Click to hide internal directories.