Documentation ¶
Overview ¶
Package storage implements culprit.Store using SQL.
Please see perf/sql/migrations for the database schema used.
Index ¶
- type CulpritStore
- func (s *CulpritStore) AddIssueId(ctx context.Context, id string, issue_id string, group_id string) error
- func (s *CulpritStore) Get(ctx context.Context, ids []string) ([]*pb.Culprit, error)
- func (s *CulpritStore) Upsert(ctx context.Context, anomaly_group_id string, ip_commits []*pb.Commit) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CulpritStore ¶
type CulpritStore struct {
// contains filtered or unexported fields
}
CulpritStore implements the culprits.Store interface.
func (*CulpritStore) AddIssueId ¶
func (s *CulpritStore) AddIssueId(ctx context.Context, id string, issue_id string, group_id string) error
Adds issue id to a Culprit row.
Click to show internal directories.
Click to hide internal directories.