Documentation
¶
Overview ¶
Package githubfn is the GitHub module's function: the organisations' team passes and the links pass, on a schedule (`tick`) or when the console asks (`run`), and the installation-token mint, the `github` module's `mint_installation` method, which the issuer calls over modcall through its `live-issuer` alias and no other class may (D-v176-7 a: one function serves both, with the concurrency limit and the mint deadline of the one). It has no HTTP surface. It registers itself with internal/lambdaapp; cmd/sluis-github and the lambda build of cmd/sluis import it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Kinds []string
Kinds are the kinds of secret the module's check reads. The module declares none: an App's credential is made at run time, and the policy's client secrets and the directory's keys are the issuer's and the Google module's.
Functions ¶
func CheckFile ¶
CheckFile is the {"kind":"check"} answer of the function whose document is in file: the adapters a pass and the mint build (State, the blobs, the secrets, the trigger, the audit sink), built from the document and refused with the setting that is missing; then the secrets it declares. Nothing it reaches mutates.
func Handler ¶
func Handler(log *slog.Logger, declared func(target string) bool, open func(context.Context) (lambdaapp.Pass, error), rpc *modcall.Server, check func(context.Context) (deploycheck.Report, error)) *lambdaapp.HTTP
Handler is the function's entry: tick and run events for the targets declared says are the policy's, opening one pass per invocation; check is the {"kind":"check"} answer; rpc answers the module calls (the mint), or is nil for a function that serves none. It answers no HTTP request.
Types ¶
This section is empty.