storage

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NoStorageConfigured error = errors.New("No storage backend has been configured")
)

Functions

This section is empty.

Types

type Storage

type Storage interface {
	Start()
	StoreFlows(flows []*flow.Flow) error
	SearchFlows(fsq flow.FlowSearchQuery) (*flow.FlowSet, error)
	SearchMetrics(fsq flow.FlowSearchQuery, metricFilter *flow.Filter) (map[string][]*flow.FlowMetric, error)
	Stop()
}

func NewStorage added in v0.9.0

func NewStorage(backend string) (s Storage, err error)

func NewStorageFromConfig added in v0.9.0

func NewStorageFromConfig() (s Storage, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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