sqlanomalygroupstore

package
v0.0.0-...-4fe5f23 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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnomalyGroupStore

type AnomalyGroupStore struct {
	// contains filtered or unexported fields
}

func New

func New(db pool.Pool) (*AnomalyGroupStore, error)

func (*AnomalyGroupStore) AddAnomalyID

func (s *AnomalyGroupStore) AddAnomalyID(ctx context.Context, group_id string, anomaly_id string) error

func (*AnomalyGroupStore) AddCulpritIDs

func (s *AnomalyGroupStore) AddCulpritIDs(ctx context.Context, group_id string, culprit_ids []string) error

func (*AnomalyGroupStore) Create

func (s *AnomalyGroupStore) Create(
	ctx context.Context,
	subscription_name string,
	subscription_revision string,
	domain_name string,
	benchmark_name string,
	start int64,
	end int64,
	action string) (string, error)

func (*AnomalyGroupStore) FindExistingGroup

func (s *AnomalyGroupStore) FindExistingGroup(
	ctx context.Context,
	subscription_name string,
	subscription_revision string,
	domain_name string,
	benchmark_name string,
	start_commit int64,
	end_commit int64,
	action string) ([]*pb.AnomalyGroup, error)

func (*AnomalyGroupStore) LoadById

func (s *AnomalyGroupStore) LoadById(
	ctx context.Context,
	group_id string) (*pb.AnomalyGroup, error)

func (*AnomalyGroupStore) UpdateBisectID

func (s *AnomalyGroupStore) UpdateBisectID(ctx context.Context, group_id string, bisection_id string) error

func (*AnomalyGroupStore) UpdateReportedIssueID

func (s *AnomalyGroupStore) UpdateReportedIssueID(ctx context.Context, group_id string, reported_issue_id string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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