userissue

package
v0.0.0-...-b95a7b5 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: BSD-3-Clause Imports: 1 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 {
	// Save inserts a user issue into the db
	Save(ctx context.Context, req *UserIssue) error

	// Delete deletes the user issue from the db.
	Delete(ctx context.Context, traceKey string, commitPosition int64) error

	// GetUserIssuesForTraceKeys retrieves list of points with an associated issue id.
	GetUserIssuesForTraceKeys(ctx context.Context, traceKeys []string, startCommitPosition int64, endCommitPosition int64) ([]UserIssue, error)
}

Store is the interface used to persist user issues.

type UserIssue

type UserIssue struct {
	UserId         string
	TraceKey       string
	CommitPosition int64
	IssueId        int64
}

UserIssue is a struct that represents a user reported buganizer issue on a data point.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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