server

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const KubeChecksHooksPathPrefix = "/hooks"

Variables

View Source
var ProjectHookPath = "/gitlab/project"

Functions

func GetVCSClient

func GetVCSClient() (vcs_clients.Client, string)

High level type representing the fields we care about from an arbitrary Git repository

Types

type Server

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

func GetServer

func GetServer() *Server

func NewServer

func NewServer(cfg *pkg.ServerConfig) *Server

func (*Server) Start

func (s *Server) Start()

type VCSHookHandler

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

func NewVCSHookHandler

func NewVCSHookHandler(cfg *pkg.ServerConfig) *VCSHookHandler

func (*VCSHookHandler) AttachHandlers

func (h *VCSHookHandler) AttachHandlers(grp *echo.Group)

Jump to

Keyboard shortcuts

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