podeventmanager

package
v0.0.0-...-c0686e8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

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