Documentation ¶
Index ¶
- func CreateIssue(ctx context.Context, conn *db.DB, eI *v1.EnrichedIssue) error
- func DeleteIssueByHash(conn *db.DB, hash string) error
- func Dump(conn *db.DB) []*v1.EnrichedIssue
- func EnrichIssue(conn *db.DB, i *v1.Issue) (*v1.EnrichedIssue, error)
- func GetHash(i *v1.Issue) string
- func GetIssueByHash(conn *db.DB, hash string) (*v1.EnrichedIssue, error)
- func NewEnrichedIssue(i *v1.Issue) *v1.EnrichedIssue
- func UpdateEnrichedIssue(i *v1.EnrichedIssue) *v1.EnrichedIssue
- func UpdateIssue(ctx context.Context, conn *db.DB, eI *v1.EnrichedIssue) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIssue ¶
CreateIssue creates the given enriched issue on the database.
func DeleteIssueByHash ¶
DeleteIssueByHash deletes an issue given its hash.
func EnrichIssue ¶
EnrichIssue enriches a given issue, returning an enriched issue once processed.
func GetIssueByHash ¶
GetIssueByHash returns an issue given its hash.
func NewEnrichedIssue ¶
func NewEnrichedIssue(i *v1.Issue) *v1.EnrichedIssue
NewEnrichedIssue returns a new enriched issue from a raw issue.
func UpdateEnrichedIssue ¶
func UpdateEnrichedIssue(i *v1.EnrichedIssue) *v1.EnrichedIssue
UpdateEnrichedIssue updates a given enriched issue.
func UpdateIssue ¶
UpdateIssue updates a given enriched issue on the database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.