recorder

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package recorder listen for event notifications from controllers, and persists those events' content as files on disk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

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

Listener receive events from controllers and save them to disk as yaml files

func New

func New(log logger, events event.Notifier, localDir string, gcInterval int, dryRun bool) *Listener

New creates a new event Listener

func (*Listener) Start added in v0.2.0

func (w *Listener) Start() *Listener

Start continuously receive events and saves them to disk as files

func (*Listener) Stop added in v0.2.0

func (w *Listener) Stop()

Stop halts the recorder service

Jump to

Keyboard shortcuts

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