Documentation
¶
Index ¶
- type Comment
- type DBTX
- type GetByOwnerNameParams
- type GetIssueByIDRow
- type GetIssueByRepoAndNumberParams
- type GetIssueByRepoAndNumberRow
- type GetLastUpdateTimeRow
- type GetRepositoryByIDRow
- type GetSyncCursorParams
- type Goqite
- type InsertOutboxEventParams
- type Issue
- type IssueAssignee
- type IssueLabel
- type Label
- type ListIssuesRow
- type OutboxEvent
- type PendingOutboxEventsAllParams
- type PendingOutboxEventsAllRow
- type PendingOutboxEventsParams
- type PendingOutboxEventsRow
- type Queries
- func (q *Queries) AckOutboxEvent(ctx context.Context, db DBTX, id int64) error
- func (q *Queries) GetByOwnerName(ctx context.Context, db DBTX, arg GetByOwnerNameParams) (int64, error)
- func (q *Queries) GetIssueByID(ctx context.Context, db DBTX, id int64) (GetIssueByIDRow, error)
- func (q *Queries) GetIssueByRepoAndNumber(ctx context.Context, db DBTX, arg GetIssueByRepoAndNumberParams) (GetIssueByRepoAndNumberRow, error)
- func (q *Queries) GetLastUpdateTime(ctx context.Context, db DBTX, repositoryID int64) (GetLastUpdateTimeRow, error)
- func (q *Queries) GetRepositoryByID(ctx context.Context, db DBTX, id int64) (GetRepositoryByIDRow, error)
- func (q *Queries) GetSyncCursor(ctx context.Context, db DBTX, arg GetSyncCursorParams) (SyncCursor, error)
- func (q *Queries) InsertOutboxEvent(ctx context.Context, db DBTX, arg InsertOutboxEventParams) error
- func (q *Queries) ListIssues(ctx context.Context, db DBTX) ([]ListIssuesRow, error)
- func (q *Queries) PendingOutboxEvents(ctx context.Context, db DBTX, arg PendingOutboxEventsParams) ([]PendingOutboxEventsRow, error)
- func (q *Queries) PendingOutboxEventsAll(ctx context.Context, db DBTX, arg PendingOutboxEventsAllParams) ([]PendingOutboxEventsAllRow, error)
- func (q *Queries) UpsertIssue(ctx context.Context, db DBTX, arg UpsertIssueParams) error
- func (q *Queries) UpsertRepository(ctx context.Context, db DBTX, arg UpsertRepositoryParams) (int64, error)
- func (q *Queries) UpsertSyncCursor(ctx context.Context, db DBTX, arg UpsertSyncCursorParams) error
- type Repository
- type SyncCursor
- type UpsertIssueParams
- type UpsertRepositoryParams
- type UpsertSyncCursorParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetByOwnerNameParams ¶ added in v0.12.0
type GetIssueByIDRow ¶ added in v0.18.0
type GetIssueByRepoAndNumberParams ¶ added in v0.16.0
type GetIssueByRepoAndNumberRow ¶ added in v0.16.0
type GetLastUpdateTimeRow ¶
type GetRepositoryByIDRow ¶ added in v0.19.0
type GetSyncCursorParams ¶ added in v0.13.0
type InsertOutboxEventParams ¶ added in v0.15.0
type Issue ¶
type Issue struct {
ID int64
CreatedAt time.Time
UpdatedAt time.Time
RepositoryID int64
GithubID int64
Number int64
Title string
Body string
State string
IsPullRequest bool
PrUrl *string
PrHtmlUrl *string
PrDiffUrl *string
PrPatchUrl *string
GithubCreatedAt time.Time
GithubUpdatedAt time.Time
SyncedAt time.Time
}
type IssueAssignee ¶
type IssueLabel ¶
type ListIssuesRow ¶ added in v0.16.0
type OutboxEvent ¶ added in v0.15.0
type PendingOutboxEventsAllParams ¶ added in v0.16.1
type PendingOutboxEventsAllRow ¶ added in v0.16.1
type PendingOutboxEventsParams ¶ added in v0.15.0
type PendingOutboxEventsRow ¶ added in v0.15.0
type Queries ¶
type Queries struct {
}
func (*Queries) AckOutboxEvent ¶ added in v0.15.0
func (*Queries) GetByOwnerName ¶ added in v0.12.0
func (*Queries) GetIssueByID ¶ added in v0.18.0
func (*Queries) GetIssueByRepoAndNumber ¶ added in v0.16.0
func (q *Queries) GetIssueByRepoAndNumber(ctx context.Context, db DBTX, arg GetIssueByRepoAndNumberParams) (GetIssueByRepoAndNumberRow, error)
func (*Queries) GetLastUpdateTime ¶
func (*Queries) GetRepositoryByID ¶ added in v0.19.0
func (*Queries) GetSyncCursor ¶ added in v0.13.0
func (q *Queries) GetSyncCursor(ctx context.Context, db DBTX, arg GetSyncCursorParams) (SyncCursor, error)
func (*Queries) InsertOutboxEvent ¶ added in v0.15.0
func (*Queries) ListIssues ¶ added in v0.16.0
func (*Queries) PendingOutboxEvents ¶ added in v0.15.0
func (q *Queries) PendingOutboxEvents(ctx context.Context, db DBTX, arg PendingOutboxEventsParams) ([]PendingOutboxEventsRow, error)
func (*Queries) PendingOutboxEventsAll ¶ added in v0.16.1
func (q *Queries) PendingOutboxEventsAll(ctx context.Context, db DBTX, arg PendingOutboxEventsAllParams) ([]PendingOutboxEventsAllRow, error)
func (*Queries) UpsertIssue ¶
func (*Queries) UpsertRepository ¶ added in v0.12.0
func (*Queries) UpsertSyncCursor ¶ added in v0.13.0
type Repository ¶
type SyncCursor ¶
type UpsertIssueParams ¶
type UpsertRepositoryParams ¶ added in v0.12.0
type UpsertSyncCursorParams ¶ added in v0.13.0
Click to show internal directories.
Click to hide internal directories.