Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoResult = errors.New("no result from remote server")
)
Functions ¶
This section is empty.
Types ¶
type MergeOption ¶
type MergeOption struct {
Title string
Body string
SourceBranch string
TargetBranch string
Upstream *Repository
}
type Provider ¶
type Provider interface {
Name() string
SearchRepositories(group, query string) ([]*Repository, error)
GetRepository(name string) (*Repository, error)
GetMerge(repo *core.Repository, opts MergeOption) (string, error)
CreateMerge(repo *core.Repository, opts MergeOption) (string, error)
}
type Repository ¶
Click to show internal directories.
Click to hide internal directories.