reportpackage

package
v1.12.21 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the reportpackage type in the database.
	Label = "report_package"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldPackageID holds the string denoting the package_id field in the database.
	FieldPackageID = "package_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldEcosystem holds the string denoting the ecosystem field in the database.
	FieldEcosystem = "ecosystem"
	// FieldPackageURL holds the string denoting the package_url field in the database.
	FieldPackageURL = "package_url"
	// FieldDepth holds the string denoting the depth field in the database.
	FieldDepth = "depth"
	// FieldIsDirect holds the string denoting the is_direct field in the database.
	FieldIsDirect = "is_direct"
	// FieldIsMalware holds the string denoting the is_malware field in the database.
	FieldIsMalware = "is_malware"
	// FieldIsSuspicious holds the string denoting the is_suspicious field in the database.
	FieldIsSuspicious = "is_suspicious"
	// FieldPackageDetails holds the string denoting the package_details field in the database.
	FieldPackageDetails = "package_details"
	// FieldInsightsV2 holds the string denoting the insights_v2 field in the database.
	FieldInsightsV2 = "insights_v2"
	// FieldCodeAnalysis holds the string denoting the code_analysis field in the database.
	FieldCodeAnalysis = "code_analysis"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// EdgeManifests holds the string denoting the manifests edge name in mutations.
	EdgeManifests = "manifests"
	// EdgeVulnerabilities holds the string denoting the vulnerabilities edge name in mutations.
	EdgeVulnerabilities = "vulnerabilities"
	// EdgeLicenses holds the string denoting the licenses edge name in mutations.
	EdgeLicenses = "licenses"
	// EdgeDependencies holds the string denoting the dependencies edge name in mutations.
	EdgeDependencies = "dependencies"
	// EdgeMalwareAnalysis holds the string denoting the malware_analysis edge name in mutations.
	EdgeMalwareAnalysis = "malware_analysis"
	// EdgeProjects holds the string denoting the projects edge name in mutations.
	EdgeProjects = "projects"
	// EdgeSlsaProvenances holds the string denoting the slsa_provenances edge name in mutations.
	EdgeSlsaProvenances = "slsa_provenances"
	// Table holds the table name of the reportpackage in the database.
	Table = "report_packages"
	// ManifestsTable is the table that holds the manifests relation/edge. The primary key declared below.
	ManifestsTable = "report_package_manifest_packages"
	// ManifestsInverseTable is the table name for the ReportPackageManifest entity.
	// It exists in this package in order to avoid circular dependency with the "reportpackagemanifest" package.
	ManifestsInverseTable = "report_package_manifests"
	// VulnerabilitiesTable is the table that holds the vulnerabilities relation/edge.
	VulnerabilitiesTable = "report_vulnerabilities"
	// VulnerabilitiesInverseTable is the table name for the ReportVulnerability entity.
	// It exists in this package in order to avoid circular dependency with the "reportvulnerability" package.
	VulnerabilitiesInverseTable = "report_vulnerabilities"
	// VulnerabilitiesColumn is the table column denoting the vulnerabilities relation/edge.
	VulnerabilitiesColumn = "report_package_vulnerabilities"
	// LicensesTable is the table that holds the licenses relation/edge.
	LicensesTable = "report_licenses"
	// LicensesInverseTable is the table name for the ReportLicense entity.
	// It exists in this package in order to avoid circular dependency with the "reportlicense" package.
	LicensesInverseTable = "report_licenses"
	// LicensesColumn is the table column denoting the licenses relation/edge.
	LicensesColumn = "report_package_licenses"
	// DependenciesTable is the table that holds the dependencies relation/edge.
	DependenciesTable = "report_dependencies"
	// DependenciesInverseTable is the table name for the ReportDependency entity.
	// It exists in this package in order to avoid circular dependency with the "reportdependency" package.
	DependenciesInverseTable = "report_dependencies"
	// DependenciesColumn is the table column denoting the dependencies relation/edge.
	DependenciesColumn = "report_package_dependencies"
	// MalwareAnalysisTable is the table that holds the malware_analysis relation/edge.
	MalwareAnalysisTable = "report_malwares"
	// MalwareAnalysisInverseTable is the table name for the ReportMalware entity.
	// It exists in this package in order to avoid circular dependency with the "reportmalware" package.
	MalwareAnalysisInverseTable = "report_malwares"
	// MalwareAnalysisColumn is the table column denoting the malware_analysis relation/edge.
	MalwareAnalysisColumn = "report_package_malware_analysis"
	// ProjectsTable is the table that holds the projects relation/edge.
	ProjectsTable = "report_projects"
	// ProjectsInverseTable is the table name for the ReportProject entity.
	// It exists in this package in order to avoid circular dependency with the "reportproject" package.
	ProjectsInverseTable = "report_projects"
	// ProjectsColumn is the table column denoting the projects relation/edge.
	ProjectsColumn = "report_package_projects"
	// SlsaProvenancesTable is the table that holds the slsa_provenances relation/edge.
	SlsaProvenancesTable = "report_slsa_provenances"
	// SlsaProvenancesInverseTable is the table name for the ReportSlsaProvenance entity.
	// It exists in this package in order to avoid circular dependency with the "reportslsaprovenance" package.
	SlsaProvenancesInverseTable = "report_slsa_provenances"
	// SlsaProvenancesColumn is the table column denoting the slsa_provenances relation/edge.
	SlsaProvenancesColumn = "report_package_slsa_provenances"
)

Variables

View Source
var (
	// PackageIDValidator is a validator for the "package_id" field. It is called by the builders before save.
	PackageIDValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// VersionValidator is a validator for the "version" field. It is called by the builders before save.
	VersionValidator func(string) error
	// EcosystemValidator is a validator for the "ecosystem" field. It is called by the builders before save.
	EcosystemValidator func(string) error
	// PackageURLValidator is a validator for the "package_url" field. It is called by the builders before save.
	PackageURLValidator func(string) error
	// DefaultDepth holds the default value on creation for the "depth" field.
	DefaultDepth int
	// DefaultIsDirect holds the default value on creation for the "is_direct" field.
	DefaultIsDirect bool
	// DefaultIsMalware holds the default value on creation for the "is_malware" field.
	DefaultIsMalware bool
	// DefaultIsSuspicious holds the default value on creation for the "is_suspicious" field.
	DefaultIsSuspicious bool
)

Columns holds all SQL columns for reportpackage fields.

View Source
var (
	// ManifestsPrimaryKey and ManifestsColumn2 are the table columns denoting the
	// primary key for the manifests relation (M2M).
	ManifestsPrimaryKey = []string{"report_package_manifest_id", "report_package_id"}
)

Functions

func And

And groups predicates with the AND operator between them.

func CodeAnalysisIsNil

func CodeAnalysisIsNil() predicate.ReportPackage

CodeAnalysisIsNil applies the IsNil predicate on the "code_analysis" field.

func CodeAnalysisNotNil

func CodeAnalysisNotNil() predicate.ReportPackage

CodeAnalysisNotNil applies the NotNil predicate on the "code_analysis" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ReportPackage

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ReportPackage

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ReportPackage

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ReportPackage

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.ReportPackage

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.ReportPackage

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ReportPackage

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ReportPackage

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ReportPackage

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.ReportPackage

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.ReportPackage

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func Depth

func Depth(v int) predicate.ReportPackage

Depth applies equality check predicate on the "depth" field. It's identical to DepthEQ.

func DepthEQ

func DepthEQ(v int) predicate.ReportPackage

DepthEQ applies the EQ predicate on the "depth" field.

func DepthGT

func DepthGT(v int) predicate.ReportPackage

DepthGT applies the GT predicate on the "depth" field.

func DepthGTE

func DepthGTE(v int) predicate.ReportPackage

DepthGTE applies the GTE predicate on the "depth" field.

func DepthIn

func DepthIn(vs ...int) predicate.ReportPackage

DepthIn applies the In predicate on the "depth" field.

func DepthLT

func DepthLT(v int) predicate.ReportPackage

DepthLT applies the LT predicate on the "depth" field.

func DepthLTE

func DepthLTE(v int) predicate.ReportPackage

DepthLTE applies the LTE predicate on the "depth" field.

func DepthNEQ

func DepthNEQ(v int) predicate.ReportPackage

DepthNEQ applies the NEQ predicate on the "depth" field.

func DepthNotIn

func DepthNotIn(vs ...int) predicate.ReportPackage

DepthNotIn applies the NotIn predicate on the "depth" field.

func Ecosystem

func Ecosystem(v string) predicate.ReportPackage

Ecosystem applies equality check predicate on the "ecosystem" field. It's identical to EcosystemEQ.

func EcosystemContains

func EcosystemContains(v string) predicate.ReportPackage

EcosystemContains applies the Contains predicate on the "ecosystem" field.

func EcosystemContainsFold

func EcosystemContainsFold(v string) predicate.ReportPackage

EcosystemContainsFold applies the ContainsFold predicate on the "ecosystem" field.

func EcosystemEQ

func EcosystemEQ(v string) predicate.ReportPackage

EcosystemEQ applies the EQ predicate on the "ecosystem" field.

func EcosystemEqualFold

func EcosystemEqualFold(v string) predicate.ReportPackage

EcosystemEqualFold applies the EqualFold predicate on the "ecosystem" field.

func EcosystemGT

func EcosystemGT(v string) predicate.ReportPackage

EcosystemGT applies the GT predicate on the "ecosystem" field.

func EcosystemGTE

func EcosystemGTE(v string) predicate.ReportPackage

EcosystemGTE applies the GTE predicate on the "ecosystem" field.

func EcosystemHasPrefix

func EcosystemHasPrefix(v string) predicate.ReportPackage

EcosystemHasPrefix applies the HasPrefix predicate on the "ecosystem" field.

func EcosystemHasSuffix

func EcosystemHasSuffix(v string) predicate.ReportPackage

EcosystemHasSuffix applies the HasSuffix predicate on the "ecosystem" field.

func EcosystemIn

func EcosystemIn(vs ...string) predicate.ReportPackage

EcosystemIn applies the In predicate on the "ecosystem" field.

func EcosystemLT

func EcosystemLT(v string) predicate.ReportPackage

EcosystemLT applies the LT predicate on the "ecosystem" field.

func EcosystemLTE

func EcosystemLTE(v string) predicate.ReportPackage

EcosystemLTE applies the LTE predicate on the "ecosystem" field.

func EcosystemNEQ

func EcosystemNEQ(v string) predicate.ReportPackage

EcosystemNEQ applies the NEQ predicate on the "ecosystem" field.

func EcosystemNotIn

func EcosystemNotIn(vs ...string) predicate.ReportPackage

EcosystemNotIn applies the NotIn predicate on the "ecosystem" field.

func HasDependencies

func HasDependencies() predicate.ReportPackage

HasDependencies applies the HasEdge predicate on the "dependencies" edge.

func HasDependenciesWith

func HasDependenciesWith(preds ...predicate.ReportDependency) predicate.ReportPackage

HasDependenciesWith applies the HasEdge predicate on the "dependencies" edge with a given conditions (other predicates).

func HasLicenses

func HasLicenses() predicate.ReportPackage

HasLicenses applies the HasEdge predicate on the "licenses" edge.

func HasLicensesWith

func HasLicensesWith(preds ...predicate.ReportLicense) predicate.ReportPackage

HasLicensesWith applies the HasEdge predicate on the "licenses" edge with a given conditions (other predicates).

func HasMalwareAnalysis

func HasMalwareAnalysis() predicate.ReportPackage

HasMalwareAnalysis applies the HasEdge predicate on the "malware_analysis" edge.

func HasMalwareAnalysisWith

func HasMalwareAnalysisWith(preds ...predicate.ReportMalware) predicate.ReportPackage

HasMalwareAnalysisWith applies the HasEdge predicate on the "malware_analysis" edge with a given conditions (other predicates).

func HasManifests

func HasManifests() predicate.ReportPackage

HasManifests applies the HasEdge predicate on the "manifests" edge.

func HasManifestsWith

func HasManifestsWith(preds ...predicate.ReportPackageManifest) predicate.ReportPackage

HasManifestsWith applies the HasEdge predicate on the "manifests" edge with a given conditions (other predicates).

func HasProjects

func HasProjects() predicate.ReportPackage

HasProjects applies the HasEdge predicate on the "projects" edge.

func HasProjectsWith

func HasProjectsWith(preds ...predicate.ReportProject) predicate.ReportPackage

HasProjectsWith applies the HasEdge predicate on the "projects" edge with a given conditions (other predicates).

func HasSlsaProvenances

func HasSlsaProvenances() predicate.ReportPackage

HasSlsaProvenances applies the HasEdge predicate on the "slsa_provenances" edge.

func HasSlsaProvenancesWith

func HasSlsaProvenancesWith(preds ...predicate.ReportSlsaProvenance) predicate.ReportPackage

HasSlsaProvenancesWith applies the HasEdge predicate on the "slsa_provenances" edge with a given conditions (other predicates).

func HasVulnerabilities

func HasVulnerabilities() predicate.ReportPackage

HasVulnerabilities applies the HasEdge predicate on the "vulnerabilities" edge.

func HasVulnerabilitiesWith

func HasVulnerabilitiesWith(preds ...predicate.ReportVulnerability) predicate.ReportPackage

HasVulnerabilitiesWith applies the HasEdge predicate on the "vulnerabilities" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ReportPackage

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ReportPackage

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ReportPackage

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.ReportPackage

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ReportPackage

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ReportPackage

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ReportPackage

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.ReportPackage

IDNotIn applies the NotIn predicate on the ID field.

func InsightsV2IsNil

func InsightsV2IsNil() predicate.ReportPackage

InsightsV2IsNil applies the IsNil predicate on the "insights_v2" field.

func InsightsV2NotNil

func InsightsV2NotNil() predicate.ReportPackage

InsightsV2NotNil applies the NotNil predicate on the "insights_v2" field.

func IsDirect

func IsDirect(v bool) predicate.ReportPackage

IsDirect applies equality check predicate on the "is_direct" field. It's identical to IsDirectEQ.

func IsDirectEQ

func IsDirectEQ(v bool) predicate.ReportPackage

IsDirectEQ applies the EQ predicate on the "is_direct" field.

func IsDirectNEQ

func IsDirectNEQ(v bool) predicate.ReportPackage

IsDirectNEQ applies the NEQ predicate on the "is_direct" field.

func IsMalware

func IsMalware(v bool) predicate.ReportPackage

IsMalware applies equality check predicate on the "is_malware" field. It's identical to IsMalwareEQ.

func IsMalwareEQ

func IsMalwareEQ(v bool) predicate.ReportPackage

IsMalwareEQ applies the EQ predicate on the "is_malware" field.

func IsMalwareNEQ

func IsMalwareNEQ(v bool) predicate.ReportPackage

IsMalwareNEQ applies the NEQ predicate on the "is_malware" field.

func IsSuspicious

func IsSuspicious(v bool) predicate.ReportPackage

IsSuspicious applies equality check predicate on the "is_suspicious" field. It's identical to IsSuspiciousEQ.

func IsSuspiciousEQ

func IsSuspiciousEQ(v bool) predicate.ReportPackage

IsSuspiciousEQ applies the EQ predicate on the "is_suspicious" field.

func IsSuspiciousNEQ

func IsSuspiciousNEQ(v bool) predicate.ReportPackage

IsSuspiciousNEQ applies the NEQ predicate on the "is_suspicious" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.ReportPackage

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.ReportPackage

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.ReportPackage

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.ReportPackage

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.ReportPackage

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.ReportPackage

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.ReportPackage

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.ReportPackage

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.ReportPackage

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.ReportPackage

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.ReportPackage

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.ReportPackage

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.ReportPackage

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PackageDetailsIsNil

func PackageDetailsIsNil() predicate.ReportPackage

PackageDetailsIsNil applies the IsNil predicate on the "package_details" field.

func PackageDetailsNotNil

func PackageDetailsNotNil() predicate.ReportPackage

PackageDetailsNotNil applies the NotNil predicate on the "package_details" field.

func PackageID

func PackageID(v string) predicate.ReportPackage

PackageID applies equality check predicate on the "package_id" field. It's identical to PackageIDEQ.

func PackageIDContains

func PackageIDContains(v string) predicate.ReportPackage

PackageIDContains applies the Contains predicate on the "package_id" field.

func PackageIDContainsFold

func PackageIDContainsFold(v string) predicate.ReportPackage

PackageIDContainsFold applies the ContainsFold predicate on the "package_id" field.

func PackageIDEQ

func PackageIDEQ(v string) predicate.ReportPackage

PackageIDEQ applies the EQ predicate on the "package_id" field.

func PackageIDEqualFold

func PackageIDEqualFold(v string) predicate.ReportPackage

PackageIDEqualFold applies the EqualFold predicate on the "package_id" field.

func PackageIDGT

func PackageIDGT(v string) predicate.ReportPackage

PackageIDGT applies the GT predicate on the "package_id" field.

func PackageIDGTE

func PackageIDGTE(v string) predicate.ReportPackage

PackageIDGTE applies the GTE predicate on the "package_id" field.

func PackageIDHasPrefix

func PackageIDHasPrefix(v string) predicate.ReportPackage

PackageIDHasPrefix applies the HasPrefix predicate on the "package_id" field.

func PackageIDHasSuffix

func PackageIDHasSuffix(v string) predicate.ReportPackage

PackageIDHasSuffix applies the HasSuffix predicate on the "package_id" field.

func PackageIDIn

func PackageIDIn(vs ...string) predicate.ReportPackage

PackageIDIn applies the In predicate on the "package_id" field.

func PackageIDLT

func PackageIDLT(v string) predicate.ReportPackage

PackageIDLT applies the LT predicate on the "package_id" field.

func PackageIDLTE

func PackageIDLTE(v string) predicate.ReportPackage

PackageIDLTE applies the LTE predicate on the "package_id" field.

func PackageIDNEQ

func PackageIDNEQ(v string) predicate.ReportPackage

PackageIDNEQ applies the NEQ predicate on the "package_id" field.

func PackageIDNotIn

func PackageIDNotIn(vs ...string) predicate.ReportPackage

PackageIDNotIn applies the NotIn predicate on the "package_id" field.

func PackageURL

func PackageURL(v string) predicate.ReportPackage

PackageURL applies equality check predicate on the "package_url" field. It's identical to PackageURLEQ.

func PackageURLContains

func PackageURLContains(v string) predicate.ReportPackage

PackageURLContains applies the Contains predicate on the "package_url" field.

func PackageURLContainsFold

func PackageURLContainsFold(v string) predicate.ReportPackage

PackageURLContainsFold applies the ContainsFold predicate on the "package_url" field.

func PackageURLEQ

func PackageURLEQ(v string) predicate.ReportPackage

PackageURLEQ applies the EQ predicate on the "package_url" field.

func PackageURLEqualFold

func PackageURLEqualFold(v string) predicate.ReportPackage

PackageURLEqualFold applies the EqualFold predicate on the "package_url" field.

func PackageURLGT

func PackageURLGT(v string) predicate.ReportPackage

PackageURLGT applies the GT predicate on the "package_url" field.

func PackageURLGTE

func PackageURLGTE(v string) predicate.ReportPackage

PackageURLGTE applies the GTE predicate on the "package_url" field.

func PackageURLHasPrefix

func PackageURLHasPrefix(v string) predicate.ReportPackage

PackageURLHasPrefix applies the HasPrefix predicate on the "package_url" field.

func PackageURLHasSuffix

func PackageURLHasSuffix(v string) predicate.ReportPackage

PackageURLHasSuffix applies the HasSuffix predicate on the "package_url" field.

func PackageURLIn

func PackageURLIn(vs ...string) predicate.ReportPackage

PackageURLIn applies the In predicate on the "package_url" field.

func PackageURLLT

func PackageURLLT(v string) predicate.ReportPackage

PackageURLLT applies the LT predicate on the "package_url" field.

func PackageURLLTE

func PackageURLLTE(v string) predicate.ReportPackage

PackageURLLTE applies the LTE predicate on the "package_url" field.

func PackageURLNEQ

func PackageURLNEQ(v string) predicate.ReportPackage

PackageURLNEQ applies the NEQ predicate on the "package_url" field.

func PackageURLNotIn

func PackageURLNotIn(vs ...string) predicate.ReportPackage

PackageURLNotIn applies the NotIn predicate on the "package_url" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ReportPackage

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ReportPackage

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ReportPackage

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ReportPackage

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.ReportPackage

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ReportPackage

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ReportPackage

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ReportPackage

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ReportPackage

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.ReportPackage

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ReportPackage

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Version

func Version(v string) predicate.ReportPackage

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.ReportPackage

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.ReportPackage

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.ReportPackage

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.ReportPackage

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.ReportPackage

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.ReportPackage

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.ReportPackage

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.ReportPackage

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.ReportPackage

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.ReportPackage

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.ReportPackage

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.ReportPackage

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.ReportPackage

VersionNotIn applies the NotIn predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ReportPackage queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDependencies

func ByDependencies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByDependencies orders the results by dependencies terms.

func ByDependenciesCount

func ByDependenciesCount(opts ...sql.OrderTermOption) OrderOption

ByDependenciesCount orders the results by dependencies count.

func ByDepth

func ByDepth(opts ...sql.OrderTermOption) OrderOption

ByDepth orders the results by the depth field.

func ByEcosystem

func ByEcosystem(opts ...sql.OrderTermOption) OrderOption

ByEcosystem orders the results by the ecosystem field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIsDirect

func ByIsDirect(opts ...sql.OrderTermOption) OrderOption

ByIsDirect orders the results by the is_direct field.

func ByIsMalware

func ByIsMalware(opts ...sql.OrderTermOption) OrderOption

ByIsMalware orders the results by the is_malware field.

func ByIsSuspicious

func ByIsSuspicious(opts ...sql.OrderTermOption) OrderOption

ByIsSuspicious orders the results by the is_suspicious field.

func ByLicenses

func ByLicenses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByLicenses orders the results by licenses terms.

func ByLicensesCount

func ByLicensesCount(opts ...sql.OrderTermOption) OrderOption

ByLicensesCount orders the results by licenses count.

func ByMalwareAnalysisField

func ByMalwareAnalysisField(field string, opts ...sql.OrderTermOption) OrderOption

ByMalwareAnalysisField orders the results by malware_analysis field.

func ByManifests

func ByManifests(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByManifests orders the results by manifests terms.

func ByManifestsCount

func ByManifestsCount(opts ...sql.OrderTermOption) OrderOption

ByManifestsCount orders the results by manifests count.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByPackageID

func ByPackageID(opts ...sql.OrderTermOption) OrderOption

ByPackageID orders the results by the package_id field.

func ByPackageURL

func ByPackageURL(opts ...sql.OrderTermOption) OrderOption

ByPackageURL orders the results by the package_url field.

func ByProjects

func ByProjects(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByProjects orders the results by projects terms.

func ByProjectsCount

func ByProjectsCount(opts ...sql.OrderTermOption) OrderOption

ByProjectsCount orders the results by projects count.

func BySlsaProvenances

func BySlsaProvenances(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySlsaProvenances orders the results by slsa_provenances terms.

func BySlsaProvenancesCount

func BySlsaProvenancesCount(opts ...sql.OrderTermOption) OrderOption

BySlsaProvenancesCount orders the results by slsa_provenances count.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByVersion

func ByVersion(opts ...sql.OrderTermOption) OrderOption

ByVersion orders the results by the version field.

func ByVulnerabilities

func ByVulnerabilities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByVulnerabilities orders the results by vulnerabilities terms.

func ByVulnerabilitiesCount

func ByVulnerabilitiesCount(opts ...sql.OrderTermOption) OrderOption

ByVulnerabilitiesCount orders the results by vulnerabilities count.

Jump to

Keyboard shortcuts

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