Documentation ¶ Index ¶ func Add(mgr manager.Manager) error type Server func NewServer(mgr manager.Manager, addr string) (*Server, error) func (s *Server) Start(ctx context.Context) error 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 Source Files ¶ View all Source files webhook.go Directories ¶ Show internal Expand all Path Synopsis git Click to show internal directories. Click to hide internal directories.