dataplane

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobStorageProvider

type BlobStorageProvider interface {
	GetBlobs(outputDir string, filePaths []string) error
	PutBlobs(filePaths []string) (map[string]string, error)
	Close()
}

BlobStorageProvider is responsible for getting information about blobs stored externally

type DataPlane

DataPlane is the module's API to external providers

func (*DataPlane) Close

func (d *DataPlane) Close()

Close cleans up the data plane providers

type DocumentStorageProvider

type DocumentStorageProvider interface {
	GetEventMetaByID(id string) (*documentstorage.EventMeta, error)
	CreateEventMeta(metadata *documentstorage.EventMeta) error
	CreateInsight(insight *documentstorage.Insight) error
	Close()
}

DocumentStorageProvider is a document storage DB for storing document data

type EventPublisher

type EventPublisher interface {
	Publish(e common.Event) error
	Close()
}

EventPublisher is responsible for publishing events to a remote system

Directories

Path Synopsis
blobstorage
events

Jump to

Keyboard shortcuts

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