Versions in this module Expand all Collapse all v1 v1.5.35 Feb 11, 2025 Changes in this version + type Creator struct + Creator string + CreatorType string + type Encoder struct + Creators []Creator + DocumentComment string + DocumentName string + DocumentNamespace string + Format Format + Version Version + func NewDefaultEncoder(options ...Option) *Encoder + func (e *Encoder) Encode(ctx context.Context, w io.Writer, ir *claircore.IndexReport) error + type Format string + const JSONFormat + type Option func(*Encoder) + func WithDocumentComment(comment string) Option + func WithDocumentName(name string) Option + func WithDocumentNamespace(namespace string) Option + type Version string + const V2_3