Documentation ¶
Index ¶
- func ApiDeployKey(apiLink string, key *models.DeployKey) *api.DeployKey
- func ApiHook(repoLink string, w *models.Webhook) *api.Hook
- func ApiPublicKey(apiLink string, key *models.PublicKey) *api.PublicKey
- func ApiRepository(owner *models.User, repo *models.Repository, permission api.Permission) *api.Repository
- func ApiUser(u *models.User) *api.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiDeployKey ¶
ApiDeployKey converts deploy key to its API format.
func ApiPublicKey ¶
ApiPublicKey converts public key to its API format.
func ApiRepository ¶
func ApiRepository(owner *models.User, repo *models.Repository, permission api.Permission) *api.Repository
ApiRepository converts repository to API format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.