eventsclient

package
v0.32.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 26 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) StartDomainNotifier added in v0.17.0

func (n *Notifier) StartDomainNotifier(
	domainConn cli.Connection,
	deleteNotificationSent chan watch.Event,
	vmiUID types.UID,
	domainName string,
	agentStore *agentpoller.AsyncAgentStore,
	qemuAgentSysInterval time.Duration,
	qemuAgentFileInterval time.Duration,
	qemuAgentUserInterval time.Duration,
	qemuAgentVersionInterval time.Duration,
) error

Jump to

Keyboard shortcuts

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