Skip to content

Commit

Permalink
sbom: add initial encoder interface
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Lugo <[email protected]>
  • Loading branch information
BradLugo committed Jan 23, 2025
1 parent bea8a6c commit 03e369e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sbom/sbom.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package sbom

import (
"context"
"github.com/quay/claircore"
"io"
)

type Encoder interface {
Encode(ctx context.Context, ir *claircore.IndexReport) (io.Reader, error)
}

0 comments on commit 03e369e

Please sign in to comment.