core

package
v0.0.0-...-2f992a8 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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