Documentation ¶
Index ¶
- func GetNameAndEmail(raw string) (name string, email string)
- func Paginate(log hclog.Logger, fn PaginateStartAtFn) error
- func PaginateNewerThan(log hclog.Logger, lastProcessed time.Time, fn PaginateNewerThanFn) error
- func ReposAll(qc interface{}, teamName string, res chan []commonrepo.Repo) error
- func Teams(qc QueryContext) (teamNames []string, err error)
- func ValidateUser(qc QueryContext) (rerr error)
- type PageInfo
- func CommitUsersSourcecodePage(qc QueryContext, repo string, params url.Values) (page PageInfo, users []commitusers.CommitUser, err error)
- func PullRequestCommentsPage(qc QueryContext, repo commonrepo.Repo, pr sourcecode.PullRequest, ...) (pi PageInfo, res []*sourcecode.PullRequestComment, err error)
- func PullRequestCommitsPage(qc QueryContext, repo commonrepo.Repo, prID string, params url.Values) (pi PageInfo, res []*sourcecode.PullRequestCommit, err error)
- func PullRequestPage(qc QueryContext, sender *objsender.Session, repoID string, repoName string, ...) (pi PageInfo, res []sourcecode.PullRequest, err error)
- func ReposOnboardPage(qc QueryContext, teamName string, params url.Values) (page PageInfo, repos []*agent.RepoResponseRepos, err error)
- func ReposPage(qc QueryContext, teamName string, params url.Values) (page PageInfo, repos []commonrepo.Repo, err error)
- func ReposSourcecodePage(qc QueryContext, teamName string, params url.Values, stopOnUpdatedAt time.Time) (page PageInfo, repos []*sourcecode.Repo, err error)
- func UsersSourcecodePage(qc QueryContext, group string, params url.Values) (page PageInfo, users []*sourcecode.User, err error)
- type PaginateNewerThanFn
- type PaginateStartAtFn
- type QueryContext
- type Requester
- type RequesterOpts
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNameAndEmail ¶
func Paginate ¶
func Paginate(log hclog.Logger, fn PaginateStartAtFn) error
func PaginateNewerThan ¶
func PaginateNewerThan(log hclog.Logger, lastProcessed time.Time, fn PaginateNewerThanFn) error
func Teams ¶
func Teams(qc QueryContext) (teamNames []string, err error)
func ValidateUser ¶
func ValidateUser(qc QueryContext) (rerr error)
Types ¶
type PageInfo ¶
func CommitUsersSourcecodePage ¶
func CommitUsersSourcecodePage(qc QueryContext, repo string, params url.Values) (page PageInfo, users []commitusers.CommitUser, err error)
func PullRequestCommentsPage ¶
func PullRequestCommentsPage( qc QueryContext, repo commonrepo.Repo, pr sourcecode.PullRequest, params url.Values) (pi PageInfo, res []*sourcecode.PullRequestComment, err error)
func PullRequestCommitsPage ¶
func PullRequestCommitsPage( qc QueryContext, repo commonrepo.Repo, prID string, params url.Values) (pi PageInfo, res []*sourcecode.PullRequestCommit, err error)
func PullRequestPage ¶
func PullRequestPage( qc QueryContext, sender *objsender.Session, repoID string, repoName string, params url.Values, stopOnUpdatedAt time.Time) (pi PageInfo, res []sourcecode.PullRequest, err error)
func ReposOnboardPage ¶
func ReposOnboardPage(qc QueryContext, teamName string, params url.Values) (page PageInfo, repos []*agent.RepoResponseRepos, err error)
func ReposPage ¶
func ReposPage(qc QueryContext, teamName string, params url.Values) (page PageInfo, repos []commonrepo.Repo, err error)
func ReposSourcecodePage ¶
func ReposSourcecodePage(qc QueryContext, teamName string, params url.Values, stopOnUpdatedAt time.Time) (page PageInfo, repos []*sourcecode.Repo, err error)
func UsersSourcecodePage ¶
func UsersSourcecodePage(qc QueryContext, group string, params url.Values) (page PageInfo, users []*sourcecode.User, err error)
type PaginateNewerThanFn ¶
type PaginateStartAtFn ¶
type QueryContext ¶
type Requester ¶
type Requester struct {
// contains filtered or unexported fields
}
func NewRequester ¶
func NewRequester(opts RequesterOpts) *Requester
type RequesterOpts ¶
Click to show internal directories.
Click to hide internal directories.