Documentation ¶
Overview ¶
Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. See License.txt for license information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssueStore ¶
type IssueStore interface { Save(issue *model.Issue) (*model.Issue, error) Get(repoOwner, repoName string, number int) (*model.Issue, error) }
func NewSQLIssueStore ¶
func NewSQLIssueStore(sqlStore *SQLStore) IssueStore
type PullRequestStore ¶
type PullRequestStore interface { Save(pr *model.PullRequest) (*model.PullRequest, error) Get(repoOwner, repoName string, number int) (*model.PullRequest, error) ListOpen() ([]*model.PullRequest, error) }
func NewSQLPullRequestStore ¶
func NewSQLPullRequestStore(sqlStore *SQLStore) PullRequestStore
type SQLPullRequestStore ¶
type SQLPullRequestStore struct {
*SQLStore
}
func (SQLPullRequestStore) Get ¶
func (s SQLPullRequestStore) Get(repoOwner, repoName string, number int) (*model.PullRequest, error)
func (SQLPullRequestStore) ListOpen ¶
func (s SQLPullRequestStore) ListOpen() ([]*model.PullRequest, error)
func (SQLPullRequestStore) Save ¶
func (s SQLPullRequestStore) Save(pr *model.PullRequest) (*model.PullRequest, error)
type SQLSpinmintStore ¶
type SQLSpinmintStore struct {
*SQLStore
}
func (SQLSpinmintStore) Delete ¶
func (s SQLSpinmintStore) Delete(instanceID string) error
type SQLStore ¶
type SQLStore struct { SchemaVersion string // contains filtered or unexported fields }
func (*SQLStore) DropAllTables ¶
func (ss *SQLStore) DropAllTables()
func (*SQLStore) Issue ¶
func (ss *SQLStore) Issue() IssueStore
func (*SQLStore) PullRequest ¶
func (ss *SQLStore) PullRequest() PullRequestStore
func (*SQLStore) Spinmint ¶
func (ss *SQLStore) Spinmint() SpinmintStore
type SpinmintStore ¶
type SpinmintStore interface { Save(spinmint *model.Spinmint) (*model.Spinmint, error) Delete(instanceID string) error Get(prNumber int, repoName string) (*model.Spinmint, error) List() ([]*model.Spinmint, error) }
func NewSQLSpinmintStore ¶
func NewSQLSpinmintStore(sqlStore *SQLStore) SpinmintStore
type Store ¶
type Store interface { PullRequest() PullRequestStore Issue() IssueStore Spinmint() SpinmintStore Close() DropAllTables() }
func NewSQLStore ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.