watcher

package
v0.0.0-...-045538f Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActualStreamer

type ActualStreamer struct {
	// contains filtered or unexported fields
}

func NewActualStreamer

func NewActualStreamer(eventDB db.EventDB) *ActualStreamer

func (*ActualStreamer) Stream

func (s *ActualStreamer) Stream(logger lager.Logger, eventChan chan<- models.Event) (chan<- bool, <-chan error)

type DesiredStreamer

type DesiredStreamer struct {
	// contains filtered or unexported fields
}

func NewDesiredStreamer

func NewDesiredStreamer(eventDB db.EventDB) *DesiredStreamer

func (*DesiredStreamer) Stream

func (s *DesiredStreamer) Stream(logger lager.Logger, eventChan chan<- models.Event) (chan<- bool, <-chan error)

type EventStreamer

type EventStreamer interface {
	Stream(logger lager.Logger, eventChan chan<- models.Event) (stop chan<- bool, error <-chan error)
}

type TaskStreamer

type TaskStreamer struct {
	// contains filtered or unexported fields
}

func NewTaskStreamer

func NewTaskStreamer(eventDB db.EventDB) *TaskStreamer

func (*TaskStreamer) Stream

func (s *TaskStreamer) Stream(logger lager.Logger, eventChan chan<- models.Event) (chan<- bool, <-chan error)

type Watcher

type Watcher ifrit.Runner

func NewWatcher

func NewWatcher(
	logger lager.Logger,
	name string,
	retryWaitDuration time.Duration,
	streamer EventStreamer,
	hub events.Hub,
	clock clock.Clock,
) Watcher

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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