Documentation ¶
Index ¶
- Variables
- type DBTX
- type InsertPackageParams
- type Queries
- func (q *Queries) AnonymiseOrgAndRepo(ctx context.Context) error
- func (q *Queries) AnonymisePackageNameByOrg(ctx context.Context, packageName string) error
- func (q *Queries) InsertPackage(ctx context.Context, arg InsertPackageParams) error
- func (q *Queries) RetrieveDistinctPackages(ctx context.Context) ([]RetrieveDistinctPackagesRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type RetrieveDistinctPackagesRow
- type Sbom
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTablesQuery string
Functions ¶
This section is empty.
Types ¶
type InsertPackageParams ¶
type InsertPackageParams struct { Platform string Organisation string Repo string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AnonymiseOrgAndRepo ¶
func (*Queries) AnonymisePackageNameByOrg ¶
func (*Queries) InsertPackage ¶
func (q *Queries) InsertPackage(ctx context.Context, arg InsertPackageParams) error
func (*Queries) RetrieveDistinctPackages ¶ added in v0.44.0
func (q *Queries) RetrieveDistinctPackages(ctx context.Context) ([]RetrieveDistinctPackagesRow, error)
type RetrieveDistinctPackagesRow ¶ added in v0.44.0
type RetrieveDistinctPackagesRow struct { PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string }
Click to show internal directories.
Click to hide internal directories.