Documentation ¶
Index ¶
- func ToBranch(b *db.Branch, c *git.Commit) *api.Branch
- func ToCommit(c *git.Commit) *api.PayloadCommit
- func ToCorrectPageSize(size int) int
- func ToDeployKey(apiLink string, key *db.DeployKey) *api.DeployKey
- func ToEmail(email *db.EmailAddress) *api.Email
- func ToHook(repoLink string, w *db.Webhook) *api.Hook
- func ToOrganization(org *db.User) *api.Organization
- func ToPublicKey(apiLink string, key *db.PublicKey) *api.PublicKey
- func ToTeam(team *db.Team) *api.Team
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToCommit ¶
func ToCommit(c *git.Commit) *api.PayloadCommit
func ToCorrectPageSize ¶
ToCorrectPageSize makes sure page size is in allowed range.
func ToOrganization ¶
func ToOrganization(org *db.User) *api.Organization
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.