recorder_collector

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package recorder_collector holds a class to collect the logs from a recorder vented event log.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	// List all observed events from a ref, optionally filter (pass filter, && together)
	List(ctx context.Context, from duckv1.KReference, filters ...FilterFn) ([]observer.Observed, error)
}

func New

func New(ctx context.Context) Collector

type FilterFn

type FilterFn func(ob observer.Observed) bool

Filter observed events, return true if the observation should be included.

Jump to

Keyboard shortcuts

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