Documentation ¶
Index ¶
- type Store
- func (s *Store) Get(ctx context.Context, records []*claircore.IndexRecord, opts vulnstore.GetOpts) (map[string][]*claircore.Vulnerability, error)
- func (s *Store) GetHash(ctx context.Context, updater string) (string, error)
- func (s *Store) PutHash(updater string, hash string) error
- func (s *Store) PutVulnerabilities(ctx context.Context, updater string, hash string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
store implements all interfaces in the vulnstore package
func (*Store) Get ¶
func (s *Store) Get(ctx context.Context, records []*claircore.IndexRecord, opts vulnstore.GetOpts) (map[string][]*claircore.Vulnerability, error)
Get implements vulnstore.Vulnerability.
func (*Store) PutVulnerabilities ¶
Click to show internal directories.
Click to hide internal directories.