Documentation ¶
Index ¶
- Variables
- type ComponentMetadatum
- 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 ComponentMetadatum ¶ added in v0.100.0
type ComponentMetadatum struct { ComponentName string ParentComponentName sql.NullString Platform sql.NullString Organisation sql.NullString Repo sql.NullString Path sql.NullString Vendor sql.NullString Product sql.NullString ProductVersion sql.NullString Owner sql.NullString OwnerNotes sql.NullString ComponentType sql.NullString ComponentUsage sql.NullString Description sql.NullString AdditionalMetadata sql.NullString }
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 { ComponentName string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string PackageUrl string }
type SensitivePackage ¶
type SensitivePackage struct { PackagePattern string PackageManager sql.NullString MatchStrategy string }
Click to show internal directories.
Click to hide internal directories.