Versions in this module Expand all Collapse all v0 v0.19.0 Nov 7, 2026 Changes in this version + type Authorizer interface + CheckControl func(ctx context.Context, p authz.Principal, appID string, verb authz.Verb) error + type Policy interface + AllowsWebhookRoutes func(ctx context.Context, s *spec.AppSpec) error + type Revisions interface + CreateRevision func(ctx context.Context, appID string, s *spec.AppSpec, origin spec.Origin, ...) (state.Revision, error) + PinnedAndNewest func(ctx context.Context, app state.App) (pinned, newest state.Revision, err error) + type Route struct + Deployed bool + SecretSet bool + type Saved struct + Revision int + Route Route + Secret *Secret + type Secret struct + func (k Secret) MarshalJSON() ([]byte, error) + type Secrets interface + Delete func(ctx context.Context, appID, route string) error + Names func(ctx context.Context, appID string) (map[string]bool, error) + Put func(ctx context.Context, appID, route string, v secret.Value) error + type Service struct + Apps Revisions + Audit func(ctx context.Context, e audit.Event) + Authz Authorizer + Policy Policy + Secrets Secrets + func (s *Service) Add(ctx context.Context, p authz.Principal, app state.App, r spec.WebhookRoute, ...) (Saved, error) + func (s *Service) List(ctx context.Context, app state.App) (View, error) + func (s *Service) Remove(ctx context.Context, p authz.Principal, app state.App, name string) (int, error) + func (s *Service) SetSecret(ctx context.Context, p authz.Principal, app state.App, name, supplied string) (*Secret, error) + type View struct + Routes []Route