Documentation ¶
Index ¶
- type Github
- func (g *Github) EmptyCommit(u *model.User, owner, repo, srcBranch, dstBranch, msg string) error
- func (g *Github) GetConfig(u *model.User, owner, repo, path string) (*pkgconfig.PkgConfig, error)
- func (g *Github) Login(res http.ResponseWriter, req *http.Request) (*model.User, error)
- func (g *Github) Perm(u *model.User, owner, name string) (*model.Perm, error)
- func (g *Github) Repo(u *model.User, owner, name string) (*model.Repo, error)
- func (g *Github) SetupBranch(u *model.User, owner, repo, srcBranch, dstBranch string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Github ¶
Github defines a github remote.
func (*Github) EmptyCommit ¶
EmptyCommit creates/adds a new empty commit to a branch of a repo. if srcBranch and dstBranch are different then the commit will include the state of srcbranch effectively rebasing dstBranch onto srcBranch.
func (*Github) Perm ¶
Perm fetches the named repository permissions from the remote system for the specified user.
Click to show internal directories.
Click to hide internal directories.