Documentation
¶
Index ¶
- Constants
- Variables
- func AliasesIsNil() predicate.ReportVulnerability
- func AliasesNotNil() predicate.ReportVulnerability
- func And(predicates ...predicate.ReportVulnerability) predicate.ReportVulnerability
- func CreatedAt(v time.Time) predicate.ReportVulnerability
- func CreatedAtEQ(v time.Time) predicate.ReportVulnerability
- func CreatedAtGT(v time.Time) predicate.ReportVulnerability
- func CreatedAtGTE(v time.Time) predicate.ReportVulnerability
- func CreatedAtIn(vs ...time.Time) predicate.ReportVulnerability
- func CreatedAtIsNil() predicate.ReportVulnerability
- func CreatedAtLT(v time.Time) predicate.ReportVulnerability
- func CreatedAtLTE(v time.Time) predicate.ReportVulnerability
- func CreatedAtNEQ(v time.Time) predicate.ReportVulnerability
- func CreatedAtNotIn(vs ...time.Time) predicate.ReportVulnerability
- func CreatedAtNotNil() predicate.ReportVulnerability
- func CvssScore(v float64) predicate.ReportVulnerability
- func CvssScoreEQ(v float64) predicate.ReportVulnerability
- func CvssScoreGT(v float64) predicate.ReportVulnerability
- func CvssScoreGTE(v float64) predicate.ReportVulnerability
- func CvssScoreIn(vs ...float64) predicate.ReportVulnerability
- func CvssScoreIsNil() predicate.ReportVulnerability
- func CvssScoreLT(v float64) predicate.ReportVulnerability
- func CvssScoreLTE(v float64) predicate.ReportVulnerability
- func CvssScoreNEQ(v float64) predicate.ReportVulnerability
- func CvssScoreNotIn(vs ...float64) predicate.ReportVulnerability
- func CvssScoreNotNil() predicate.ReportVulnerability
- func Description(v string) predicate.ReportVulnerability
- func DescriptionContains(v string) predicate.ReportVulnerability
- func DescriptionContainsFold(v string) predicate.ReportVulnerability
- func DescriptionEQ(v string) predicate.ReportVulnerability
- func DescriptionEqualFold(v string) predicate.ReportVulnerability
- func DescriptionGT(v string) predicate.ReportVulnerability
- func DescriptionGTE(v string) predicate.ReportVulnerability
- func DescriptionHasPrefix(v string) predicate.ReportVulnerability
- func DescriptionHasSuffix(v string) predicate.ReportVulnerability
- func DescriptionIn(vs ...string) predicate.ReportVulnerability
- func DescriptionIsNil() predicate.ReportVulnerability
- func DescriptionLT(v string) predicate.ReportVulnerability
- func DescriptionLTE(v string) predicate.ReportVulnerability
- func DescriptionNEQ(v string) predicate.ReportVulnerability
- func DescriptionNotIn(vs ...string) predicate.ReportVulnerability
- func DescriptionNotNil() predicate.ReportVulnerability
- func HasPackage() predicate.ReportVulnerability
- func HasPackageWith(preds ...predicate.ReportPackage) predicate.ReportVulnerability
- func ID(id int) predicate.ReportVulnerability
- func IDEQ(id int) predicate.ReportVulnerability
- func IDGT(id int) predicate.ReportVulnerability
- func IDGTE(id int) predicate.ReportVulnerability
- func IDIn(ids ...int) predicate.ReportVulnerability
- func IDLT(id int) predicate.ReportVulnerability
- func IDLTE(id int) predicate.ReportVulnerability
- func IDNEQ(id int) predicate.ReportVulnerability
- func IDNotIn(ids ...int) predicate.ReportVulnerability
- func Not(p predicate.ReportVulnerability) predicate.ReportVulnerability
- func Or(predicates ...predicate.ReportVulnerability) predicate.ReportVulnerability
- func Severity(v string) predicate.ReportVulnerability
- func SeverityContains(v string) predicate.ReportVulnerability
- func SeverityContainsFold(v string) predicate.ReportVulnerability
- func SeverityDetailsIsNil() predicate.ReportVulnerability
- func SeverityDetailsNotNil() predicate.ReportVulnerability
- func SeverityEQ(v string) predicate.ReportVulnerability
- func SeverityEqualFold(v string) predicate.ReportVulnerability
- func SeverityGT(v string) predicate.ReportVulnerability
- func SeverityGTE(v string) predicate.ReportVulnerability
- func SeverityHasPrefix(v string) predicate.ReportVulnerability
- func SeverityHasSuffix(v string) predicate.ReportVulnerability
- func SeverityIn(vs ...string) predicate.ReportVulnerability
- func SeverityIsNil() predicate.ReportVulnerability
- func SeverityLT(v string) predicate.ReportVulnerability
- func SeverityLTE(v string) predicate.ReportVulnerability
- func SeverityNEQ(v string) predicate.ReportVulnerability
- func SeverityNotIn(vs ...string) predicate.ReportVulnerability
- func SeverityNotNil() predicate.ReportVulnerability
- func SeverityType(v string) predicate.ReportVulnerability
- func SeverityTypeContains(v string) predicate.ReportVulnerability
- func SeverityTypeContainsFold(v string) predicate.ReportVulnerability
- func SeverityTypeEQ(v string) predicate.ReportVulnerability
- func SeverityTypeEqualFold(v string) predicate.ReportVulnerability
- func SeverityTypeGT(v string) predicate.ReportVulnerability
- func SeverityTypeGTE(v string) predicate.ReportVulnerability
- func SeverityTypeHasPrefix(v string) predicate.ReportVulnerability
- func SeverityTypeHasSuffix(v string) predicate.ReportVulnerability
- func SeverityTypeIn(vs ...string) predicate.ReportVulnerability
- func SeverityTypeIsNil() predicate.ReportVulnerability
- func SeverityTypeLT(v string) predicate.ReportVulnerability
- func SeverityTypeLTE(v string) predicate.ReportVulnerability
- func SeverityTypeNEQ(v string) predicate.ReportVulnerability
- func SeverityTypeNotIn(vs ...string) predicate.ReportVulnerability
- func SeverityTypeNotNil() predicate.ReportVulnerability
- func Title(v string) predicate.ReportVulnerability
- func TitleContains(v string) predicate.ReportVulnerability
- func TitleContainsFold(v string) predicate.ReportVulnerability
- func TitleEQ(v string) predicate.ReportVulnerability
- func TitleEqualFold(v string) predicate.ReportVulnerability
- func TitleGT(v string) predicate.ReportVulnerability
- func TitleGTE(v string) predicate.ReportVulnerability
- func TitleHasPrefix(v string) predicate.ReportVulnerability
- func TitleHasSuffix(v string) predicate.ReportVulnerability
- func TitleIn(vs ...string) predicate.ReportVulnerability
- func TitleLT(v string) predicate.ReportVulnerability
- func TitleLTE(v string) predicate.ReportVulnerability
- func TitleNEQ(v string) predicate.ReportVulnerability
- func TitleNotIn(vs ...string) predicate.ReportVulnerability
- func UpdatedAt(v time.Time) predicate.ReportVulnerability
- func UpdatedAtEQ(v time.Time) predicate.ReportVulnerability
- func UpdatedAtGT(v time.Time) predicate.ReportVulnerability
- func UpdatedAtGTE(v time.Time) predicate.ReportVulnerability
- func UpdatedAtIn(vs ...time.Time) predicate.ReportVulnerability
- func UpdatedAtIsNil() predicate.ReportVulnerability
- func UpdatedAtLT(v time.Time) predicate.ReportVulnerability
- func UpdatedAtLTE(v time.Time) predicate.ReportVulnerability
- func UpdatedAtNEQ(v time.Time) predicate.ReportVulnerability
- func UpdatedAtNotIn(vs ...time.Time) predicate.ReportVulnerability
- func UpdatedAtNotNil() predicate.ReportVulnerability
- func ValidColumn(column string) bool
- func VulnerabilityID(v string) predicate.ReportVulnerability
- func VulnerabilityIDContains(v string) predicate.ReportVulnerability
- func VulnerabilityIDContainsFold(v string) predicate.ReportVulnerability
- func VulnerabilityIDEQ(v string) predicate.ReportVulnerability
- func VulnerabilityIDEqualFold(v string) predicate.ReportVulnerability
- func VulnerabilityIDGT(v string) predicate.ReportVulnerability
- func VulnerabilityIDGTE(v string) predicate.ReportVulnerability
- func VulnerabilityIDHasPrefix(v string) predicate.ReportVulnerability
- func VulnerabilityIDHasSuffix(v string) predicate.ReportVulnerability
- func VulnerabilityIDIn(vs ...string) predicate.ReportVulnerability
- func VulnerabilityIDLT(v string) predicate.ReportVulnerability
- func VulnerabilityIDLTE(v string) predicate.ReportVulnerability
- func VulnerabilityIDNEQ(v string) predicate.ReportVulnerability
- func VulnerabilityIDNotIn(vs ...string) predicate.ReportVulnerability
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCvssScore(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPackageField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySeverity(opts ...sql.OrderTermOption) OrderOption
- func BySeverityType(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVulnerabilityID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the reportvulnerability type in the database. Label = "report_vulnerability" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldVulnerabilityID holds the string denoting the vulnerability_id field in the database. FieldVulnerabilityID = "vulnerability_id" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldAliases holds the string denoting the aliases field in the database. FieldAliases = "aliases" // FieldSeverity holds the string denoting the severity field in the database. FieldSeverity = "severity" // FieldSeverityType holds the string denoting the severity_type field in the database. FieldSeverityType = "severity_type" // FieldCvssScore holds the string denoting the cvss_score field in the database. FieldCvssScore = "cvss_score" // FieldSeverityDetails holds the string denoting the severity_details field in the database. FieldSeverityDetails = "severity_details" // 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" // EdgePackage holds the string denoting the package edge name in mutations. EdgePackage = "package" // Table holds the table name of the reportvulnerability in the database. Table = "report_vulnerabilities" // PackageTable is the table that holds the package relation/edge. PackageTable = "report_vulnerabilities" // PackageInverseTable is the table name for the ReportPackage entity. // It exists in this package in order to avoid circular dependency with the "reportpackage" package. PackageInverseTable = "report_packages" // PackageColumn is the table column denoting the package relation/edge. PackageColumn = "report_package_vulnerabilities" )
Variables ¶
var ( // VulnerabilityIDValidator is a validator for the "vulnerability_id" field. It is called by the builders before save. VulnerabilityIDValidator func(string) error // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error )
var Columns = []string{ FieldID, FieldVulnerabilityID, FieldTitle, FieldDescription, FieldAliases, FieldSeverity, FieldSeverityType, FieldCvssScore, FieldSeverityDetails, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for reportvulnerability fields.
var ForeignKeys = []string{
"report_package_vulnerabilities",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "report_vulnerabilities" table and are not defined as standalone fields in the schema.
Functions ¶
func AliasesIsNil ¶
func AliasesIsNil() predicate.ReportVulnerability
AliasesIsNil applies the IsNil predicate on the "aliases" field.
func AliasesNotNil ¶
func AliasesNotNil() predicate.ReportVulnerability
AliasesNotNil applies the NotNil predicate on the "aliases" field.
func And ¶
func And(predicates ...predicate.ReportVulnerability) predicate.ReportVulnerability
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ReportVulnerability
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ReportVulnerability
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ReportVulnerability
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ReportVulnerability
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ReportVulnerability
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.ReportVulnerability
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ReportVulnerability
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ReportVulnerability
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ReportVulnerability
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ReportVulnerability
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.ReportVulnerability
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CvssScore ¶
func CvssScore(v float64) predicate.ReportVulnerability
CvssScore applies equality check predicate on the "cvss_score" field. It's identical to CvssScoreEQ.
func CvssScoreEQ ¶
func CvssScoreEQ(v float64) predicate.ReportVulnerability
CvssScoreEQ applies the EQ predicate on the "cvss_score" field.
func CvssScoreGT ¶
func CvssScoreGT(v float64) predicate.ReportVulnerability
CvssScoreGT applies the GT predicate on the "cvss_score" field.
func CvssScoreGTE ¶
func CvssScoreGTE(v float64) predicate.ReportVulnerability
CvssScoreGTE applies the GTE predicate on the "cvss_score" field.
func CvssScoreIn ¶
func CvssScoreIn(vs ...float64) predicate.ReportVulnerability
CvssScoreIn applies the In predicate on the "cvss_score" field.
func CvssScoreIsNil ¶
func CvssScoreIsNil() predicate.ReportVulnerability
CvssScoreIsNil applies the IsNil predicate on the "cvss_score" field.
func CvssScoreLT ¶
func CvssScoreLT(v float64) predicate.ReportVulnerability
CvssScoreLT applies the LT predicate on the "cvss_score" field.
func CvssScoreLTE ¶
func CvssScoreLTE(v float64) predicate.ReportVulnerability
CvssScoreLTE applies the LTE predicate on the "cvss_score" field.
func CvssScoreNEQ ¶
func CvssScoreNEQ(v float64) predicate.ReportVulnerability
CvssScoreNEQ applies the NEQ predicate on the "cvss_score" field.
func CvssScoreNotIn ¶
func CvssScoreNotIn(vs ...float64) predicate.ReportVulnerability
CvssScoreNotIn applies the NotIn predicate on the "cvss_score" field.
func CvssScoreNotNil ¶
func CvssScoreNotNil() predicate.ReportVulnerability
CvssScoreNotNil applies the NotNil predicate on the "cvss_score" field.
func Description ¶
func Description(v string) predicate.ReportVulnerability
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ReportVulnerability
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ReportVulnerability
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ReportVulnerability
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ReportVulnerability
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ReportVulnerability
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ReportVulnerability
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ReportVulnerability
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ReportVulnerability
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ReportVulnerability
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ReportVulnerability
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ReportVulnerability
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ReportVulnerability
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ReportVulnerability
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ReportVulnerability
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ReportVulnerability
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasPackage ¶
func HasPackage() predicate.ReportVulnerability
HasPackage applies the HasEdge predicate on the "package" edge.
func HasPackageWith ¶
func HasPackageWith(preds ...predicate.ReportPackage) predicate.ReportVulnerability
HasPackageWith applies the HasEdge predicate on the "package" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.ReportVulnerability
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.ReportVulnerability
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.ReportVulnerability
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.ReportVulnerability
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ReportVulnerability
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.ReportVulnerability
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ReportVulnerability
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ReportVulnerability
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ReportVulnerability
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ReportVulnerability) predicate.ReportVulnerability
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ReportVulnerability) predicate.ReportVulnerability
Or groups predicates with the OR operator between them.
func Severity ¶
func Severity(v string) predicate.ReportVulnerability
Severity applies equality check predicate on the "severity" field. It's identical to SeverityEQ.
func SeverityContains ¶
func SeverityContains(v string) predicate.ReportVulnerability
SeverityContains applies the Contains predicate on the "severity" field.
func SeverityContainsFold ¶
func SeverityContainsFold(v string) predicate.ReportVulnerability
SeverityContainsFold applies the ContainsFold predicate on the "severity" field.
func SeverityDetailsIsNil ¶
func SeverityDetailsIsNil() predicate.ReportVulnerability
SeverityDetailsIsNil applies the IsNil predicate on the "severity_details" field.
func SeverityDetailsNotNil ¶
func SeverityDetailsNotNil() predicate.ReportVulnerability
SeverityDetailsNotNil applies the NotNil predicate on the "severity_details" field.
func SeverityEQ ¶
func SeverityEQ(v string) predicate.ReportVulnerability
SeverityEQ applies the EQ predicate on the "severity" field.
func SeverityEqualFold ¶
func SeverityEqualFold(v string) predicate.ReportVulnerability
SeverityEqualFold applies the EqualFold predicate on the "severity" field.
func SeverityGT ¶
func SeverityGT(v string) predicate.ReportVulnerability
SeverityGT applies the GT predicate on the "severity" field.
func SeverityGTE ¶
func SeverityGTE(v string) predicate.ReportVulnerability
SeverityGTE applies the GTE predicate on the "severity" field.
func SeverityHasPrefix ¶
func SeverityHasPrefix(v string) predicate.ReportVulnerability
SeverityHasPrefix applies the HasPrefix predicate on the "severity" field.
func SeverityHasSuffix ¶
func SeverityHasSuffix(v string) predicate.ReportVulnerability
SeverityHasSuffix applies the HasSuffix predicate on the "severity" field.
func SeverityIn ¶
func SeverityIn(vs ...string) predicate.ReportVulnerability
SeverityIn applies the In predicate on the "severity" field.
func SeverityIsNil ¶
func SeverityIsNil() predicate.ReportVulnerability
SeverityIsNil applies the IsNil predicate on the "severity" field.
func SeverityLT ¶
func SeverityLT(v string) predicate.ReportVulnerability
SeverityLT applies the LT predicate on the "severity" field.
func SeverityLTE ¶
func SeverityLTE(v string) predicate.ReportVulnerability
SeverityLTE applies the LTE predicate on the "severity" field.
func SeverityNEQ ¶
func SeverityNEQ(v string) predicate.ReportVulnerability
SeverityNEQ applies the NEQ predicate on the "severity" field.
func SeverityNotIn ¶
func SeverityNotIn(vs ...string) predicate.ReportVulnerability
SeverityNotIn applies the NotIn predicate on the "severity" field.
func SeverityNotNil ¶
func SeverityNotNil() predicate.ReportVulnerability
SeverityNotNil applies the NotNil predicate on the "severity" field.
func SeverityType ¶
func SeverityType(v string) predicate.ReportVulnerability
SeverityType applies equality check predicate on the "severity_type" field. It's identical to SeverityTypeEQ.
func SeverityTypeContains ¶
func SeverityTypeContains(v string) predicate.ReportVulnerability
SeverityTypeContains applies the Contains predicate on the "severity_type" field.
func SeverityTypeContainsFold ¶
func SeverityTypeContainsFold(v string) predicate.ReportVulnerability
SeverityTypeContainsFold applies the ContainsFold predicate on the "severity_type" field.
func SeverityTypeEQ ¶
func SeverityTypeEQ(v string) predicate.ReportVulnerability
SeverityTypeEQ applies the EQ predicate on the "severity_type" field.
func SeverityTypeEqualFold ¶
func SeverityTypeEqualFold(v string) predicate.ReportVulnerability
SeverityTypeEqualFold applies the EqualFold predicate on the "severity_type" field.
func SeverityTypeGT ¶
func SeverityTypeGT(v string) predicate.ReportVulnerability
SeverityTypeGT applies the GT predicate on the "severity_type" field.
func SeverityTypeGTE ¶
func SeverityTypeGTE(v string) predicate.ReportVulnerability
SeverityTypeGTE applies the GTE predicate on the "severity_type" field.
func SeverityTypeHasPrefix ¶
func SeverityTypeHasPrefix(v string) predicate.ReportVulnerability
SeverityTypeHasPrefix applies the HasPrefix predicate on the "severity_type" field.
func SeverityTypeHasSuffix ¶
func SeverityTypeHasSuffix(v string) predicate.ReportVulnerability
SeverityTypeHasSuffix applies the HasSuffix predicate on the "severity_type" field.
func SeverityTypeIn ¶
func SeverityTypeIn(vs ...string) predicate.ReportVulnerability
SeverityTypeIn applies the In predicate on the "severity_type" field.
func SeverityTypeIsNil ¶
func SeverityTypeIsNil() predicate.ReportVulnerability
SeverityTypeIsNil applies the IsNil predicate on the "severity_type" field.
func SeverityTypeLT ¶
func SeverityTypeLT(v string) predicate.ReportVulnerability
SeverityTypeLT applies the LT predicate on the "severity_type" field.
func SeverityTypeLTE ¶
func SeverityTypeLTE(v string) predicate.ReportVulnerability
SeverityTypeLTE applies the LTE predicate on the "severity_type" field.
func SeverityTypeNEQ ¶
func SeverityTypeNEQ(v string) predicate.ReportVulnerability
SeverityTypeNEQ applies the NEQ predicate on the "severity_type" field.
func SeverityTypeNotIn ¶
func SeverityTypeNotIn(vs ...string) predicate.ReportVulnerability
SeverityTypeNotIn applies the NotIn predicate on the "severity_type" field.
func SeverityTypeNotNil ¶
func SeverityTypeNotNil() predicate.ReportVulnerability
SeverityTypeNotNil applies the NotNil predicate on the "severity_type" field.
func Title ¶
func Title(v string) predicate.ReportVulnerability
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
func TitleContains(v string) predicate.ReportVulnerability
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
func TitleContainsFold(v string) predicate.ReportVulnerability
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEQ ¶
func TitleEQ(v string) predicate.ReportVulnerability
TitleEQ applies the EQ predicate on the "title" field.
func TitleEqualFold ¶
func TitleEqualFold(v string) predicate.ReportVulnerability
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleGT ¶
func TitleGT(v string) predicate.ReportVulnerability
TitleGT applies the GT predicate on the "title" field.
func TitleGTE ¶
func TitleGTE(v string) predicate.ReportVulnerability
TitleGTE applies the GTE predicate on the "title" field.
func TitleHasPrefix ¶
func TitleHasPrefix(v string) predicate.ReportVulnerability
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
func TitleHasSuffix(v string) predicate.ReportVulnerability
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIn ¶
func TitleIn(vs ...string) predicate.ReportVulnerability
TitleIn applies the In predicate on the "title" field.
func TitleLT ¶
func TitleLT(v string) predicate.ReportVulnerability
TitleLT applies the LT predicate on the "title" field.
func TitleLTE ¶
func TitleLTE(v string) predicate.ReportVulnerability
TitleLTE applies the LTE predicate on the "title" field.
func TitleNEQ ¶
func TitleNEQ(v string) predicate.ReportVulnerability
TitleNEQ applies the NEQ predicate on the "title" field.
func TitleNotIn ¶
func TitleNotIn(vs ...string) predicate.ReportVulnerability
TitleNotIn applies the NotIn predicate on the "title" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ReportVulnerability
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ReportVulnerability
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ReportVulnerability
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ReportVulnerability
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ReportVulnerability
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.ReportVulnerability
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ReportVulnerability
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ReportVulnerability
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ReportVulnerability
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ReportVulnerability
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.ReportVulnerability
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VulnerabilityID ¶
func VulnerabilityID(v string) predicate.ReportVulnerability
VulnerabilityID applies equality check predicate on the "vulnerability_id" field. It's identical to VulnerabilityIDEQ.
func VulnerabilityIDContains ¶
func VulnerabilityIDContains(v string) predicate.ReportVulnerability
VulnerabilityIDContains applies the Contains predicate on the "vulnerability_id" field.
func VulnerabilityIDContainsFold ¶
func VulnerabilityIDContainsFold(v string) predicate.ReportVulnerability
VulnerabilityIDContainsFold applies the ContainsFold predicate on the "vulnerability_id" field.
func VulnerabilityIDEQ ¶
func VulnerabilityIDEQ(v string) predicate.ReportVulnerability
VulnerabilityIDEQ applies the EQ predicate on the "vulnerability_id" field.
func VulnerabilityIDEqualFold ¶
func VulnerabilityIDEqualFold(v string) predicate.ReportVulnerability
VulnerabilityIDEqualFold applies the EqualFold predicate on the "vulnerability_id" field.
func VulnerabilityIDGT ¶
func VulnerabilityIDGT(v string) predicate.ReportVulnerability
VulnerabilityIDGT applies the GT predicate on the "vulnerability_id" field.
func VulnerabilityIDGTE ¶
func VulnerabilityIDGTE(v string) predicate.ReportVulnerability
VulnerabilityIDGTE applies the GTE predicate on the "vulnerability_id" field.
func VulnerabilityIDHasPrefix ¶
func VulnerabilityIDHasPrefix(v string) predicate.ReportVulnerability
VulnerabilityIDHasPrefix applies the HasPrefix predicate on the "vulnerability_id" field.
func VulnerabilityIDHasSuffix ¶
func VulnerabilityIDHasSuffix(v string) predicate.ReportVulnerability
VulnerabilityIDHasSuffix applies the HasSuffix predicate on the "vulnerability_id" field.
func VulnerabilityIDIn ¶
func VulnerabilityIDIn(vs ...string) predicate.ReportVulnerability
VulnerabilityIDIn applies the In predicate on the "vulnerability_id" field.
func VulnerabilityIDLT ¶
func VulnerabilityIDLT(v string) predicate.ReportVulnerability
VulnerabilityIDLT applies the LT predicate on the "vulnerability_id" field.
func VulnerabilityIDLTE ¶
func VulnerabilityIDLTE(v string) predicate.ReportVulnerability
VulnerabilityIDLTE applies the LTE predicate on the "vulnerability_id" field.
func VulnerabilityIDNEQ ¶
func VulnerabilityIDNEQ(v string) predicate.ReportVulnerability
VulnerabilityIDNEQ applies the NEQ predicate on the "vulnerability_id" field.
func VulnerabilityIDNotIn ¶
func VulnerabilityIDNotIn(vs ...string) predicate.ReportVulnerability
VulnerabilityIDNotIn applies the NotIn predicate on the "vulnerability_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ReportVulnerability queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCvssScore ¶
func ByCvssScore(opts ...sql.OrderTermOption) OrderOption
ByCvssScore orders the results by the cvss_score field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPackageField ¶
func ByPackageField(field string, opts ...sql.OrderTermOption) OrderOption
ByPackageField orders the results by package field.
func BySeverity ¶
func BySeverity(opts ...sql.OrderTermOption) OrderOption
BySeverity orders the results by the severity field.
func BySeverityType ¶
func BySeverityType(opts ...sql.OrderTermOption) OrderOption
BySeverityType orders the results by the severity_type field.
func ByTitle ¶
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVulnerabilityID ¶
func ByVulnerabilityID(opts ...sql.OrderTermOption) OrderOption
ByVulnerabilityID orders the results by the vulnerability_id field.