host

package
v0.0.0-...-c0efe8a Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

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

func (*Entry) EndMon

func (e *Entry) EndMon(ctx context.Context, uid types.UID)

func (*Entry) Session

func (e *Entry) Session() (client *libvirt.Libvirt, end func())

func (*Entry) StartMon

func (e *Entry) StartMon(ctx context.Context, uid types.UID)

func (*Entry) Version

func (e *Entry) Version() string

type Store

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

func NewStore

func NewStore() *Store

func (*Store) Deregister

func (s *Store) Deregister(ctx context.Context, uid types.UID)

func (*Store) Entry

func (s *Store) Entry(version string, dialer socket.Dialer) store.HostEntry

func (*Store) Lookup

func (s *Store) Lookup(uid types.UID) (entry store.HostEntry, found bool)

func (*Store) Register

func (s *Store) Register(ctx context.Context, uid types.UID, entry store.HostEntry)

Jump to

Keyboard shortcuts

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