Documentation ¶
Index ¶
- type Event
- type EventType
- type ListImageOptions
- type ListRawImagesOptions
- type Order
- type Sort
- type Store
- func (s *Store) Close() error
- func (s *Store) DeleteNonPresent(ctx context.Context, references []string) (int64, error)
- func (s *Store) GetImage(ctx context.Context, reference string) (*models.Image, error)
- func (s *Store) GetImageDescription(ctx context.Context, reference string) (*models.ImageDescription, error)
- func (s *Store) GetImageGraph(ctx context.Context, reference string) (*models.Graph, error)
- func (s *Store) GetImageReleaseNotes(ctx context.Context, reference string) (*models.ImageReleaseNotes, error)
- func (s *Store) GetImageVulnerabilities(ctx context.Context, reference string) ([]models.ImageVulnerability, error)
- func (s *Store) GetImagesLinks(ctx context.Context, reference string) ([]models.ImageLink, error)
- func (s *Store) GetImagesTags(ctx context.Context, reference string) ([]string, error)
- func (s *Store) GetRawImage(ctx context.Context, reference string) (*models.RawImage, error)
- func (s *Store) GetTags(ctx context.Context) ([]string, error)
- func (s *Store) InsertImage(ctx context.Context, image *models.Image) error
- func (s *Store) InsertImageDescription(ctx context.Context, reference string, description *models.ImageDescription) error
- func (s *Store) InsertImageGraph(ctx context.Context, reference string, graph *models.Graph) error
- func (s *Store) InsertImageReleaseNotes(ctx context.Context, reference string, releaseNotes *models.ImageReleaseNotes) error
- func (s *Store) InsertRawImage(ctx context.Context, image *models.RawImage) (bool, error)
- func (s *Store) ListImages(ctx context.Context, options *ListImageOptions) (*models.ImagePage, error)
- func (s *Store) ListRawImages(ctx context.Context, options *ListRawImagesOptions) ([]models.RawImage, error)
- func (s *Store) Summary(ctx context.Context) (*models.ImagePageSummary, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListImageOptions ¶
type ListImageOptions struct { // Tags defaults to nil (don't filter by tags). Tags []string // Order defaults to OrderAscending. Order Order // Page defaults to 0. Page int // Limit defaults to 30. Limit int // Sort defaults to SortBump. Sort Sort // Query is an Sqlite full text search query. Query string }
type ListRawImagesOptions ¶
type Store ¶
func (*Store) DeleteNonPresent ¶
DeleteNonPresent deletes all images that are not referenced. Returns the number of affected rows.
func (*Store) GetImageDescription ¶
func (*Store) GetImageGraph ¶
func (*Store) GetImageReleaseNotes ¶
func (*Store) GetImageVulnerabilities ¶
func (*Store) GetImagesLinks ¶
func (*Store) GetImagesTags ¶
func (*Store) GetRawImage ¶
func (*Store) InsertImage ¶
func (*Store) InsertImageDescription ¶
func (*Store) InsertImageGraph ¶
func (*Store) InsertImageReleaseNotes ¶
func (*Store) InsertRawImage ¶
func (*Store) ListImages ¶
func (*Store) ListRawImages ¶
Click to show internal directories.
Click to hide internal directories.