Documentation ¶
Index ¶
- func NewAdvisoriesSectionUpdater(updater configs.SectionUpdater[Advisories, Document]) configs.EntryUpdater[Document]
- func NewIndex(ctx context.Context, fsys rwfs.FS) (*configs.Index[Document], error)
- func NewIndexFromPaths(ctx context.Context, fsys rwfs.FS, paths ...string) (*configs.Index[Document], error)
- type Advisories
- type Document
- type Entry
- type Package
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdvisoriesSectionUpdater ¶
func NewAdvisoriesSectionUpdater( updater configs.SectionUpdater[Advisories, Document], ) configs.EntryUpdater[Document]
Types ¶
type Advisories ¶
type Document ¶
type Document struct { Package Package `yaml:"package"` Advisories Advisories `yaml:"advisories,omitempty"` }
type Entry ¶
type Entry struct { Timestamp time.Time `yaml:"timestamp"` Status vex.Status `yaml:"status"` Justification vex.Justification `yaml:"justification,omitempty"` ImpactStatement string `yaml:"impact,omitempty"` ActionStatement string `yaml:"action,omitempty"` FixedVersion string `yaml:"fixed-version,omitempty"` }
Click to show internal directories.
Click to hide internal directories.