store

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthEntry

type AuthEntry interface {
	SetPath(string)
	GetPath() string
	Version() string
}

type AuthFile

type AuthFile interface {
	Name() string
	Data() []byte
}

type AuthStore

type AuthStore interface {
	Entry(version string) AuthEntry
	File(name string, data []byte) AuthFile
	Register(ctx context.Context, uid types.UID, entry AuthEntry, files []AuthFile) error
	Deregister(ctx context.Context, uid types.UID)
	Lookup(uid types.UID) (auth AuthEntry, found bool)
}

type HostEntry

type HostEntry interface {
	Session() (client *libvirt.Libvirt, end func())
	Version() string
	StartMon(ctx context.Context, uid types.UID)
	EndMon(ctx context.Context, uid types.UID)
}

type HostStore

type HostStore interface {
	Entry(version string, dialer socket.Dialer) HostEntry
	Register(ctx context.Context, uid types.UID, entry HostEntry)
	Deregister(ctx context.Context, uid types.UID)
	Lookup(uid types.UID) (entry HostEntry, found bool)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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