Documentation ¶
Index ¶
- Variables
- type DBTX
- type InsertRowParams
- type Libyear
- type Owner
- type Queries
- func (q *Queries) InsertRow(ctx context.Context, arg InsertRowParams) error
- func (q *Queries) RetrieveAllLibyears(ctx context.Context, arg RetrieveAllLibyearsParams) ([]RetrieveAllLibyearsRow, error)
- func (q *Queries) RetrieveDistinctPackagesAndVersionsWithoutSensitivePackages(ctx context.Context) ([]RetrieveDistinctPackagesAndVersionsWithoutSensitivePackagesRow, error)
- func (q *Queries) RetrieveLibyearForSpecificRepo(ctx context.Context, arg RetrieveLibyearForSpecificRepoParams) ([]RetrieveLibyearForSpecificRepoRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Renovate
- type RenovateUpdate
- type RetrieveAllLibyearsParams
- type RetrieveAllLibyearsRow
- type RetrieveDistinctPackagesAndVersionsWithoutSensitivePackagesRow
- type RetrieveLibyearForSpecificRepoParams
- type RetrieveLibyearForSpecificRepoRow
- type Sbom
- type SensitivePackage
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTablesQuery string
Functions ¶
This section is empty.
Types ¶
type InsertRowParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) InsertRow ¶
func (q *Queries) InsertRow(ctx context.Context, arg InsertRowParams) error
func (*Queries) RetrieveAllLibyears ¶
func (q *Queries) RetrieveAllLibyears(ctx context.Context, arg RetrieveAllLibyearsParams) ([]RetrieveAllLibyearsRow, error)
func (*Queries) RetrieveDistinctPackagesAndVersionsWithoutSensitivePackages ¶
func (q *Queries) RetrieveDistinctPackagesAndVersionsWithoutSensitivePackages(ctx context.Context) ([]RetrieveDistinctPackagesAndVersionsWithoutSensitivePackagesRow, error)
func (*Queries) RetrieveLibyearForSpecificRepo ¶
func (q *Queries) RetrieveLibyearForSpecificRepo(ctx context.Context, arg RetrieveLibyearForSpecificRepoParams) ([]RetrieveLibyearForSpecificRepoRow, error)
type RenovateUpdate ¶
type RetrieveAllLibyearsParams ¶
func NewRetrieveAllLibyearsParams ¶
func NewRetrieveAllLibyearsParams(platform string, org string, repo string, owner string) RetrieveAllLibyearsParams
type RetrieveAllLibyearsRow ¶
type RetrieveAllLibyearsRow struct { Platform string Organisation string Repo string Owner sql.NullString TotalLibyears sql.NullFloat64 }
type Sbom ¶
type Sbom struct { Platform string Organisation string Repo string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string }
type SensitivePackage ¶
type SensitivePackage struct { PackagePattern string PackageManager sql.NullString MatchStrategy string }
Click to show internal directories.
Click to hide internal directories.