eventsclient

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: Apache-2.0 Imports: 23 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, error)

func NewNotifierWithInfoClient added in v0.17.0

func NewNotifierWithInfoClient(infoClient info.NotifyInfoClient, conn *grpc.ClientConn) (*Notifier, error)

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, qemuAgentPollerInterval *time.Duration) error

Jump to

Keyboard shortcuts

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