db

package
v0.0.2-0...-8dc706e Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBHelper

type DBHelper interface {
	GetGitHubHandle(email string) (string, error)
	GetPortMaintainer(port string) (*PortMaintainer, error)
	NewPR(number int, maintainers []string) error
	GetPR(number int) (*PullRequest, error)
	GetTimeoutPRs() ([]*PullRequest, error)
	SetPRProcessed(number int, processed bool) error
	SetPRPendingReview(number int, pendingReview bool) error
}

func NewDBHelper

func NewDBHelper() (DBHelper, error)

type Maintainer

type Maintainer struct {
	GithubHandle string
	Email        string
}

type PortMaintainer

type PortMaintainer struct {
	Primary        *Maintainer
	Others         []*Maintainer
	NoMaintainer   bool
	OpenMaintainer bool
}

type PullRequest

type PullRequest struct {
	Number        int
	Processed     bool
	PendingReview bool
	Maintainers   []string
}

Jump to

Keyboard shortcuts

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