culprit

package
v0.0.0-...-16b4944 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	// Get fetches stored culprits by ids
	Get(ctx context.Context, ids []string) ([]*pb.Culprit, error)
	// Upsert can write a new, or update an existing Culprit
	Upsert(ctx context.Context, anomaly_group_id string, commits []*pb.Commit) ([]string, error)
	// Add IssueId to a culprit id row
	AddIssueId(ctx context.Context, id string, issueId string, groupId string) error
}

Data Access layer for Culprit

Directories

Path Synopsis
proto
v1
v1/mocks
Code generated by mockery v0.0.0-dev.
Code generated by mockery v0.0.0-dev.
Package storage implements culprit.Store using SQL.
Package storage implements culprit.Store using SQL.

Jump to

Keyboard shortcuts

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