Documentation
¶
Index ¶
- type GithubProvider
- func (p *GithubProvider) GetChange(owner, repo, sha string) (result *github.RepositoryCommit, err error)
- func (p *GithubProvider) GetCommitURL(repoName, commitHash string) (result string)
- func (p *GithubProvider) GetFileLineURL(repoName, commitHash, filePath string, startLineNum, endLineNum int) (result string)
- func (p *GithubProvider) GetFileURL(repoName, commitHash, filePath string) (result string)
- func (p *GithubProvider) GetName() (result string)
- func (p *GithubProvider) GetRepoURL(repoName string) (result string)
- func (p *GithubProvider) GetRepositories(repoFilter *manip.SliceFilter) (result []*source.RepoInfo, err error)
- func (p *GithubProvider) Owner() string
- func (p *GithubProvider) QueryReposByOrg(organization string) (result []*github.Repository, err error)
- type LocalProvider
- func (p *LocalProvider) GetCommitURL(repoName, commitHash string) (result string)
- func (p *LocalProvider) GetFileLineURL(repoName, commitHash string, filePath string, startLineNum, endLineNum int) (result string)
- func (p *LocalProvider) GetFileURL(repoName, commitHash string, filePath string) (result string)
- func (p *LocalProvider) GetName() (result string)
- func (p *LocalProvider) GetRepoURL(repoName string) (result string)
- func (p *LocalProvider) GetRepositories(repoFilter *manip.SliceFilter) (result []*source.RepoInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubProvider ¶
type GithubProvider struct {
// contains filtered or unexported fields
}
func NewGithubProvider ¶
func (*GithubProvider) GetChange ¶
func (p *GithubProvider) GetChange(owner, repo, sha string) (result *github.RepositoryCommit, err error)
func (*GithubProvider) GetCommitURL ¶
func (p *GithubProvider) GetCommitURL(repoName, commitHash string) (result string)
func (*GithubProvider) GetFileLineURL ¶
func (p *GithubProvider) GetFileLineURL(repoName, commitHash, filePath string, startLineNum, endLineNum int) (result string)
func (*GithubProvider) GetFileURL ¶
func (p *GithubProvider) GetFileURL(repoName, commitHash, filePath string) (result string)
func (*GithubProvider) GetName ¶
func (p *GithubProvider) GetName() (result string)
func (*GithubProvider) GetRepoURL ¶
func (p *GithubProvider) GetRepoURL(repoName string) (result string)
func (*GithubProvider) GetRepositories ¶
func (p *GithubProvider) GetRepositories(repoFilter *manip.SliceFilter) (result []*source.RepoInfo, err error)
func (*GithubProvider) Owner ¶
func (p *GithubProvider) Owner() string
func (*GithubProvider) QueryReposByOrg ¶
func (p *GithubProvider) QueryReposByOrg(organization string) (result []*github.Repository, err error)
type LocalProvider ¶
type LocalProvider struct {
// contains filtered or unexported fields
}
func NewLocalProvider ¶
func (*LocalProvider) GetCommitURL ¶
func (p *LocalProvider) GetCommitURL(repoName, commitHash string) (result string)
func (*LocalProvider) GetFileLineURL ¶
func (p *LocalProvider) GetFileLineURL(repoName, commitHash string, filePath string, startLineNum, endLineNum int) (result string)
func (*LocalProvider) GetFileURL ¶
func (p *LocalProvider) GetFileURL(repoName, commitHash string, filePath string) (result string)
func (*LocalProvider) GetName ¶
func (p *LocalProvider) GetName() (result string)
func (*LocalProvider) GetRepoURL ¶
func (p *LocalProvider) GetRepoURL(repoName string) (result string)
func (*LocalProvider) GetRepositories ¶
func (p *LocalProvider) GetRepositories(repoFilter *manip.SliceFilter) (result []*source.RepoInfo, err error)
Click to show internal directories.
Click to hide internal directories.