podeventmanager

package
v0.0.0-...-a69e935 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 12 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodEventManager

type PodEventManager interface {
	// GetEvents returns all outstanding pod events in the event stream.
	GetEvents() ([]*pbevent.Event, error)
}

PodEventManager is responsible to listen to pod events coming in from k8s or mesos clusters and adding them to the event stream. It also updates the host cache with the pod event.

func New

func New(
	d *yarpc.Dispatcher,
	podEventCh chan *scalar.PodEvent,
	plugin plugins.Plugin,
	hostCache hostcache.HostCache,
	bufferSize int,
	parentScope tally.Scope,
	enabledStream bool,
) PodEventManager

Jump to

Keyboard shortcuts

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