repository

package
v0.0.0-...-f5a16a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenGormSqlServerDB

func OpenGormSqlServerDB(server, database string) (*gorm.DB, error)

Types

type GetLastImageScanOptions

type GetLastImageScanOptions struct {
	IncludeVulnerabilities        bool
	IncludeVulnerabilityAggregate bool
}

type Interface

type Interface interface {
	GetLastImageScan(ctx context.Context, images []string, options GetLastImageScanOptions) ([]models.ImageDto, error)
}

func NewGormRepository

func NewGormRepository(db *gorm.DB) Interface

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL