convert

package
v0.9.60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToBranch added in v0.9.13

func ToBranch(b *models.Branch, c *git.Commit) *api.Branch

func ToCommit added in v0.9.13

func ToCommit(c *git.Commit) *api.PayloadCommit

func ToCorrectPageSize added in v0.9.46

func ToCorrectPageSize(size int) int

ToCorrectPageSize makes sure page size is in allowed range.

func ToDeployKey added in v0.9.13

func ToDeployKey(apiLink string, key *models.DeployKey) *api.DeployKey

func ToEmail added in v0.9.13

func ToEmail(email *models.EmailAddress) *api.Email

func ToHook added in v0.9.13

func ToHook(repoLink string, w *models.Webhook) *api.Hook

func ToIssue added in v0.9.13

func ToIssue(issue *models.Issue) *api.Issue

func ToLabel added in v0.9.13

func ToLabel(label *models.Label) *api.Label

func ToMilestone added in v0.9.13

func ToMilestone(milestone *models.Milestone) *api.Milestone

func ToOrganization added in v0.9.13

func ToOrganization(org *models.User) *api.Organization

func ToPublicKey added in v0.9.13

func ToPublicKey(apiLink string, key *models.PublicKey) *api.PublicKey

func ToRepository added in v0.9.13

func ToRepository(owner *models.User, repo *models.Repository, permission api.Permission) *api.Repository

func ToTeam added in v0.9.46

func ToTeam(team *models.Team) *api.Team

func ToUser added in v0.9.13

func ToUser(u *models.User) *api.User

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL