Versions in this module Expand all Collapse all v1 v1.1.0 Jul 10, 2026 v1.0.0 Jul 6, 2026 Changes in this version + type Artifact struct + Content []byte + ContentHash string + ContentType string + ID uuid.UUID + Kind string + Sidecar map[string]any + TemplateVersion string + Version int + type Input struct + Content []byte + ContentType string + EffectiveDate time.Time + Kind string + Sidecar map[string]any + TemplateVersion string + type Pipeline struct + func New(idgen model.IDGen) *Pipeline + func (p *Pipeline) Generate(ctx context.Context, db database.TenantDB, in Input) (Artifact, error) + func (p *Pipeline) Get(ctx context.Context, db database.TenantDB, id uuid.UUID) (Artifact, error) + func (p *Pipeline) List(ctx context.Context, db database.TenantDB, kind string) ([]Artifact, error) + func (p *Pipeline) Verify(ctx context.Context, db database.TenantDB, id uuid.UUID) (bool, error) + type TemplateVersion struct + EffectiveFrom time.Time + Version string + type Templates struct + func NewTemplates() *Templates + func (t *Templates) Register(kind, version string, effectiveFrom time.Time) + func (t *Templates) Resolve(kind string, at time.Time) (TemplateVersion, bool)