Documentation ¶
Index ¶
- Variables
- type Advisory
- type AwsElasticacheDatastore
- type AwsElasticacheDatastoreEngine
- type AwsLambdaFunction
- type AwsLambdaFunctionRuntime
- type AwsRdsDatabase
- type AwsRdsDatabasesEngine
- type DBTX
- type DependabotEndoflife
- type DepsdevCfe
- type DepsdevLicense
- type EndoflifedateProduct
- type Owner
- type Queries
- func (q *Queries) AnonymiseAdvisoriesPackagePatternByOrg(ctx context.Context, packagePattern string) error
- func (q *Queries) RetrieveAWSAdvisories(ctx context.Context) ([]RetrieveAWSAdvisoriesRow, error)
- func (q *Queries) RetrievePackageAdvisories(ctx context.Context) ([]RetrievePackageAdvisoriesRow, error)
- func (q *Queries) RetrievePackageAdvisoriesLike(ctx context.Context, arg RetrievePackageAdvisoriesLikeParams) ([]RetrievePackageAdvisoriesLikeRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Renovate
- type RenovateEndoflife
- type RenovateUpdate
- type RetrieveAWSAdvisoriesRow
- type RetrievePackageAdvisoriesLikeParams
- type RetrievePackageAdvisoriesLikeRow
- type RetrievePackageAdvisoriesRow
- type Sbom
- type SbomsEndoflife
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTablesQuery string
Functions ¶
This section is empty.
Types ¶
type Advisory ¶
type Advisory struct { PackagePattern string PackageManager string Version sql.NullString VersionMatchStrategy sql.NullString AdvisoryType string Description string }
type AwsElasticacheDatastore ¶ added in v0.28.0
type AwsElasticacheDatastoreEngine ¶ added in v0.28.0
type AwsLambdaFunction ¶ added in v0.28.0
type AwsLambdaFunctionRuntime ¶ added in v0.28.0
type AwsLambdaFunctionRuntime struct { Runtime string Deprecation sql.NullString EndOfLife sql.NullString }
type AwsRdsDatabase ¶ added in v0.28.0
type AwsRdsDatabasesEngine ¶ added in v0.28.0
type DependabotEndoflife ¶ added in v0.28.0
type DepsdevCfe ¶ added in v0.44.0
type DepsdevLicense ¶ added in v0.44.0
type EndoflifedateProduct ¶ added in v0.28.0
type EndoflifedateProduct struct { ProductName string Cycle string SupportedUntil sql.NullString EolFrom sql.NullString InsertedAt string }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AnonymiseAdvisoriesPackagePatternByOrg ¶
func (*Queries) RetrieveAWSAdvisories ¶ added in v0.28.0
func (q *Queries) RetrieveAWSAdvisories(ctx context.Context) ([]RetrieveAWSAdvisoriesRow, error)
func (*Queries) RetrievePackageAdvisories ¶ added in v0.39.0
func (q *Queries) RetrievePackageAdvisories(ctx context.Context) ([]RetrievePackageAdvisoriesRow, error)
func (*Queries) RetrievePackageAdvisoriesLike ¶ added in v0.42.0
func (q *Queries) RetrievePackageAdvisoriesLike(ctx context.Context, arg RetrievePackageAdvisoriesLikeParams) ([]RetrievePackageAdvisoriesLikeRow, error)
type RenovateEndoflife ¶ added in v0.28.0
type RenovateUpdate ¶ added in v0.27.0
type RetrieveAWSAdvisoriesRow ¶ added in v0.28.0
type RetrieveAWSAdvisoriesRow struct { Arn string Name string Runtime sql.NullString AdvisoryType interface{} Description interface{} }
type RetrievePackageAdvisoriesLikeParams ¶ added in v0.42.0
type RetrievePackageAdvisoriesLikeParams struct { Platform string Org string Repo string Owner interface{} }
func NewRetrievePackageAdvisoriesLikeParams ¶ added in v0.42.0
func NewRetrievePackageAdvisoriesLikeParams(platform, org, repo, owner string) RetrievePackageAdvisoriesLikeParams
NewRetrievePackageAdvisoriesLikeParams constructs a RetrievePackageAdvisoriesLikeParams with the correct defaults, and replaces wildcard characters (`*`) with the appropriate SQL
func (RetrievePackageAdvisoriesLikeParams) IsWildcard ¶ added in v0.42.0
func (p RetrievePackageAdvisoriesLikeParams) IsWildcard() bool
type RetrievePackageAdvisoriesLikeRow ¶ added in v0.42.0
type RetrievePackageAdvisoriesLikeRow struct { Platform string Organisation string Repo string PackageName string Version sql.NullString CurrentVersion sql.NullString DepTypes string PackageFilePath string Owner sql.NullString AdvisoryType string Description string }
type RetrievePackageAdvisoriesRow ¶ added in v0.39.0
type RetrievePackageAdvisoriesRow struct { Platform string Organisation string Repo string PackageName string Version sql.NullString CurrentVersion sql.NullString DepTypes string PackageFilePath string Owner sql.NullString AdvisoryType string Description string }
type Sbom ¶ added in v0.39.0
type Sbom struct { Platform string Organisation string Repo string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string }
type SbomsEndoflife ¶ added in v0.43.0
type SbomsEndoflife struct { PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string ProductName string Cycle string }
Click to show internal directories.
Click to hide internal directories.