Back to / plugin / storage / es / dependencystore

Package dependencystore

Latest Go to latest

The highest tagged major version is .

Published: Nov 7, 2019 | License: Apache-2.0 | Module:


type DependencyStore

type DependencyStore struct {
	// contains filtered or unexported fields

DependencyStore handles all queries and insertions to ElasticSearch dependencies

func NewDependencyStore

func NewDependencyStore(client es.Client, logger *zap.Logger, indexPrefix string) *DependencyStore

NewDependencyStore returns a DependencyStore

func (*DependencyStore) GetDependencies

func (s *DependencyStore) GetDependencies(endTs time.Time, lookback time.Duration) ([]model.DependencyLink, error)

GetDependencies returns all interservice dependencies

func (*DependencyStore) WriteDependencies

func (s *DependencyStore) WriteDependencies(ts time.Time, dependencies []model.DependencyLink) error

WriteDependencies implements dependencystore.Writer#WriteDependencies.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier