webhook

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Git Webhook Server and adds it to the Manager with default RBAC. The Manager will set fields on the Server and Start it when the Manager is Started.

Types

type Server

type Server struct {
	client.Client
	client.FieldIndexer
	http.Server
	Mux *http.ServeMux
	Log logr.Logger
}

func NewServer

func NewServer(mgr manager.Manager, addr string) (*Server, error)

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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