eventsclient

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 28 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier added in v0.17.0

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

func NewNotifier added in v0.17.0

func NewNotifier(virtShareDir string) *Notifier

func (*Notifier) Close added in v0.17.0

func (n *Notifier) Close()

func (*Notifier) SendDomainEvent added in v0.17.0

func (n *Notifier) SendDomainEvent(event watch.Event) error

func (*Notifier) SendK8sEvent added in v0.17.0

func (n *Notifier) SendK8sEvent(vmi *v1.VirtualMachineInstance, severity string, reason string, message string) error

func (*Notifier) SetCustomTimeouts added in v0.40.0

func (n *Notifier) SetCustomTimeouts(interval, send, total time.Duration)

used by unit tests

func (*Notifier) StartDomainNotifier added in v0.17.0

func (n *Notifier) StartDomainNotifier(
	domainConn cli.Connection,
	deleteNotificationSent chan watch.Event,
	vmi *v1.VirtualMachineInstance,
	domainName string,
	agentStore *agentpoller.AsyncAgentStore,
	qemuAgentSysInterval time.Duration,
	qemuAgentFileInterval time.Duration,
	qemuAgentUserInterval time.Duration,
	qemuAgentVersionInterval time.Duration,
	qemuAgentFSFreezeStatusInterval time.Duration,
	metadataCache *metadata.Cache,
) error

Jump to

Keyboard shortcuts

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