Documentation
¶
Overview ¶
Package slackfn is the Slack module's controller function: the workspaces' user-group passes, on a schedule (`tick`) or when the console asks (`run`). It has no HTTP surface and serves no module call. It registers itself with internal/lambdaapp; cmd/sluis-slack 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: a workspace'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 Handler ¶
func Handler(log *slog.Logger, declared func(target string) bool, open func(context.Context) (lambdaapp.Pass, error), 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. It answers no module call and no HTTP request.
Types ¶
This section is empty.