Documentation ¶
Index ¶
- Constants
- type Config
- type Curator
- func (c *Curator) Delete() error
- func (c *Curator) GetStore() (*reader.Reader, error)
- func (c *Curator) ImportFrom(dbArchivePath string) error
- func (c *Curator) IsUpdateAvailable() (bool, *curation.ListingEntry, error)
- func (c *Curator) Status() Status
- func (c *Curator) Update() (bool, error)
- func (c *Curator) UpdateTo(listing *curation.ListingEntry, ...) error
- func (c *Curator) Validate() error
- type Status
Constants ¶
View Source
const (
FileName = grypeDB.VulnerabilityStoreFileName
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Curator ¶
type Curator struct {
// contains filtered or unexported fields
}
func NewCurator ¶
func (*Curator) ImportFrom ¶
ImportFrom takes a DB archive file and imports it into the final DB location.
func (*Curator) IsUpdateAvailable ¶
func (c *Curator) IsUpdateAvailable() (bool, *curation.ListingEntry, error)
IsUpdateAvailable indicates if there is a new update available as a boolean, and returns the latest listing information available for this schema.
Click to show internal directories.
Click to hide internal directories.