modules

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerWebHook

func HandlerWebHook(c *gin.Context)

func SetStatus

func SetStatus(repo *gitea.Repository, commit string, status gitea.StatusState, desc string, isPR bool)

Types

type Func

type Func func(ctx context.Context, workingDi string, r *git.Repository, hook *models.PRHook) error

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(workingDir string, repo *git.Repository, hook *models.PRHook, funcs ...Func) *Runner

func (*Runner) Run

func (c *Runner) Run() <-chan error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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