lineage

package
v0.99.17 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package lineage serves audit and lineage read APIs.

Index

Constants

View Source
const Name = "lineage"

Name is the module id registered with the process and used as the route group.

Variables

This section is empty.

Functions

func ListForCaller

func ListForCaller(ctx context.Context, uid string, admin bool, subjectID string, opts store.ListAuditOptions) ([]store.AuditRecord, string, error)

ListForCaller returns audit rows visible to uid. admin skips the subject restriction when subjectID is empty.

func MountForE2E

func MountForE2E(app *fiber.App)

MountForE2E mounts lineage routes onto app.

func Register

func Register()

Register adds the lineage module.

func VisibleSubject

func VisibleSubject(uid string, admin bool, subjectID string) (string, error)

VisibleSubject returns the uid filter for an audit list. A non-admin caller is limited to their own uid. admin with an empty subject lists every uid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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