Documentation ¶
Index ¶
- func ToApiDeployKey(apiLink string, key *models.DeployKey) *api.DeployKey
- func ToApiEmail(email *models.EmailAddress) *api.Email
- func ToApiHook(repoLink string, w *models.Webhook) *api.Hook
- func ToApiOrganization(org *models.User) *api.Organization
- func ToApiPublicKey(apiLink string, key *models.PublicKey) *api.PublicKey
- func ToApiRepository(owner *models.User, repo *models.Repository, permission api.Permission) *api.Repository
- func ToApiUser(u *models.User) *api.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToApiDeployKey ¶
ToApiDeployKey converts deploy key to its API format.
func ToApiEmail ¶
func ToApiEmail(email *models.EmailAddress) *api.Email
func ToApiOrganization ¶
func ToApiOrganization(org *models.User) *api.Organization
func ToApiPublicKey ¶
ToApiPublicKey converts public key to its API format.
func ToApiRepository ¶
func ToApiRepository(owner *models.User, repo *models.Repository, permission api.Permission) *api.Repository
ToApiRepository converts repository to API format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.