eventsserver

package
v0.15.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: Apache-2.0 Imports: 14 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(virtShareDir string, stopChan chan struct{}, c chan watch.Event, recorder record.EventRecorder, vmiStore cache.Store) error

Types

type DomainEventArgs added in v0.9.6

type DomainEventArgs struct {
	DomainJSON string
	StatusJSON string
	EventType  string
}

type Notify

type Notify struct {
	EventChan chan watch.Event
	// contains filtered or unexported fields
}

func (*Notify) DomainEvent

func (s *Notify) DomainEvent(args *DomainEventArgs, reply *Reply) error

func (*Notify) K8sEvent added in v0.9.6

func (s *Notify) K8sEvent(event k8sv1.Event, reply *Reply) error

type Reply

type Reply struct {
	Success bool
	Message string
}

Jump to

Keyboard shortcuts

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