Documentation ¶
Index ¶
- type DependencyStore
- func (s *DependencyStore) CreateTemplates(dependenciesTemplate string) error
- func (s *DependencyStore) GetDependencies(ctx context.Context, endTs time.Time, lookback time.Duration) ([]model.DependencyLink, error)
- func (s *DependencyStore) WriteDependencies(ts time.Time, dependencies []model.DependencyLink) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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, maxDocCount int) *DependencyStore
NewDependencyStore returns a DependencyStore
func (*DependencyStore) CreateTemplates ¶
func (s *DependencyStore) CreateTemplates(dependenciesTemplate string) error
CreateTemplates creates index templates.
func (*DependencyStore) GetDependencies ¶
func (s *DependencyStore) GetDependencies(ctx context.Context, 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.
Click to show internal directories.
Click to hide internal directories.