webhook

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package webhook receives GitHub lifecycle events for jobs served by this fleet.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(secret []byte, sink func(ledger.Record)) http.HandlerFunc

Handler accepts signed start and completion events for fleet runners.

func ScopedHandler added in v0.2.9

func ScopedHandler(resolver Resolver, sink func(ledger.Record)) http.HandlerFunc

ScopedHandler binds each app secret to its verified scope and enrolled host.

Types

type Resolver added in v0.2.9

type Resolver interface {
	Webhook(context.Context, string) (secret, scope, name string, err error)
}

Jump to

Keyboard shortcuts

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