Documentation ¶
Index ¶
- func GetFileFromRepository(repoOwner, repoName, fpath, ref string) (*gitea.ContentsResponse, error)
- func GetRepository(repositoryID int64) (*gitea.Repository, error)
- func ReportRepoStatus(repoOwner, repoName, commitSha string, opt *gitea.CreateStatusOption) error
- func StartJobConsumer()
- func WebhookHandler(ctx *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileFromRepository ¶
func GetFileFromRepository(repoOwner, repoName, fpath, ref string) (*gitea.ContentsResponse, error)
GetFileFromRepository fetches a file from a repository. ref may be an empty string to use the default branch.
func GetRepository ¶
func GetRepository(repositoryID int64) (*gitea.Repository, error)
func ReportRepoStatus ¶
func ReportRepoStatus(repoOwner, repoName, commitSha string, opt *gitea.CreateStatusOption) error
func StartJobConsumer ¶
func StartJobConsumer()
func WebhookHandler ¶
func WebhookHandler(ctx *fiber.Ctx) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.