Documentation ¶
Index ¶
- func ToBranch(b *models.Branch, c *git.Commit) *api.Branch
- func ToCommit(c *git.Commit) *api.PayloadCommit
- func ToDeployKey(apiLink string, key *models.DeployKey) *api.DeployKey
- func ToEmail(email *models.EmailAddress) *api.Email
- func ToHook(repoLink string, w *models.Webhook) *api.Hook
- func ToIssue(issue *models.Issue) *api.Issue
- func ToLabel(label *models.Label) *api.Label
- func ToMilestone(milestone *models.Milestone) *api.Milestone
- func ToOrganization(org *models.User) *api.Organization
- func ToPublicKey(apiLink string, key *models.PublicKey) *api.PublicKey
- func ToRepository(owner *models.User, repo *models.Repository, permission api.Permission) *api.Repository
- func ToUser(u *models.User) *api.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToCommit ¶ added in v0.9.13
func ToCommit(c *git.Commit) *api.PayloadCommit
func ToDeployKey ¶ added in v0.9.13
func ToOrganization ¶ added in v0.9.13
func ToOrganization(org *models.User) *api.Organization
func ToPublicKey ¶ added in v0.9.13
func ToRepository ¶ added in v0.9.13
func ToRepository(owner *models.User, repo *models.Repository, permission api.Permission) *api.Repository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.