Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.VulnInformation) predicate.VulnInformation
- func CreateTime(v time.Time) predicate.VulnInformation
- func CreateTimeEQ(v time.Time) predicate.VulnInformation
- func CreateTimeGT(v time.Time) predicate.VulnInformation
- func CreateTimeGTE(v time.Time) predicate.VulnInformation
- func CreateTimeIn(vs ...time.Time) predicate.VulnInformation
- func CreateTimeLT(v time.Time) predicate.VulnInformation
- func CreateTimeLTE(v time.Time) predicate.VulnInformation
- func CreateTimeNEQ(v time.Time) predicate.VulnInformation
- func CreateTimeNotIn(vs ...time.Time) predicate.VulnInformation
- func Cve(v string) predicate.VulnInformation
- func CveContains(v string) predicate.VulnInformation
- func CveContainsFold(v string) predicate.VulnInformation
- func CveEQ(v string) predicate.VulnInformation
- func CveEqualFold(v string) predicate.VulnInformation
- func CveGT(v string) predicate.VulnInformation
- func CveGTE(v string) predicate.VulnInformation
- func CveHasPrefix(v string) predicate.VulnInformation
- func CveHasSuffix(v string) predicate.VulnInformation
- func CveIn(vs ...string) predicate.VulnInformation
- func CveLT(v string) predicate.VulnInformation
- func CveLTE(v string) predicate.VulnInformation
- func CveNEQ(v string) predicate.VulnInformation
- func CveNotIn(vs ...string) predicate.VulnInformation
- func Description(v string) predicate.VulnInformation
- func DescriptionContains(v string) predicate.VulnInformation
- func DescriptionContainsFold(v string) predicate.VulnInformation
- func DescriptionEQ(v string) predicate.VulnInformation
- func DescriptionEqualFold(v string) predicate.VulnInformation
- func DescriptionGT(v string) predicate.VulnInformation
- func DescriptionGTE(v string) predicate.VulnInformation
- func DescriptionHasPrefix(v string) predicate.VulnInformation
- func DescriptionHasSuffix(v string) predicate.VulnInformation
- func DescriptionIn(vs ...string) predicate.VulnInformation
- func DescriptionLT(v string) predicate.VulnInformation
- func DescriptionLTE(v string) predicate.VulnInformation
- func DescriptionNEQ(v string) predicate.VulnInformation
- func DescriptionNotIn(vs ...string) predicate.VulnInformation
- func Disclosure(v string) predicate.VulnInformation
- func DisclosureContains(v string) predicate.VulnInformation
- func DisclosureContainsFold(v string) predicate.VulnInformation
- func DisclosureEQ(v string) predicate.VulnInformation
- func DisclosureEqualFold(v string) predicate.VulnInformation
- func DisclosureGT(v string) predicate.VulnInformation
- func DisclosureGTE(v string) predicate.VulnInformation
- func DisclosureHasPrefix(v string) predicate.VulnInformation
- func DisclosureHasSuffix(v string) predicate.VulnInformation
- func DisclosureIn(vs ...string) predicate.VulnInformation
- func DisclosureLT(v string) predicate.VulnInformation
- func DisclosureLTE(v string) predicate.VulnInformation
- func DisclosureNEQ(v string) predicate.VulnInformation
- func DisclosureNotIn(vs ...string) predicate.VulnInformation
- func From(v string) predicate.VulnInformation
- func FromContains(v string) predicate.VulnInformation
- func FromContainsFold(v string) predicate.VulnInformation
- func FromEQ(v string) predicate.VulnInformation
- func FromEqualFold(v string) predicate.VulnInformation
- func FromGT(v string) predicate.VulnInformation
- func FromGTE(v string) predicate.VulnInformation
- func FromHasPrefix(v string) predicate.VulnInformation
- func FromHasSuffix(v string) predicate.VulnInformation
- func FromIn(vs ...string) predicate.VulnInformation
- func FromLT(v string) predicate.VulnInformation
- func FromLTE(v string) predicate.VulnInformation
- func FromNEQ(v string) predicate.VulnInformation
- func FromNotIn(vs ...string) predicate.VulnInformation
- func GithubSearchIsNil() predicate.VulnInformation
- func GithubSearchNotNil() predicate.VulnInformation
- func ID(id int) predicate.VulnInformation
- func IDEQ(id int) predicate.VulnInformation
- func IDGT(id int) predicate.VulnInformation
- func IDGTE(id int) predicate.VulnInformation
- func IDIn(ids ...int) predicate.VulnInformation
- func IDLT(id int) predicate.VulnInformation
- func IDLTE(id int) predicate.VulnInformation
- func IDNEQ(id int) predicate.VulnInformation
- func IDNotIn(ids ...int) predicate.VulnInformation
- func Key(v string) predicate.VulnInformation
- func KeyContains(v string) predicate.VulnInformation
- func KeyContainsFold(v string) predicate.VulnInformation
- func KeyEQ(v string) predicate.VulnInformation
- func KeyEqualFold(v string) predicate.VulnInformation
- func KeyGT(v string) predicate.VulnInformation
- func KeyGTE(v string) predicate.VulnInformation
- func KeyHasPrefix(v string) predicate.VulnInformation
- func KeyHasSuffix(v string) predicate.VulnInformation
- func KeyIn(vs ...string) predicate.VulnInformation
- func KeyLT(v string) predicate.VulnInformation
- func KeyLTE(v string) predicate.VulnInformation
- func KeyNEQ(v string) predicate.VulnInformation
- func KeyNotIn(vs ...string) predicate.VulnInformation
- func Not(p predicate.VulnInformation) predicate.VulnInformation
- func Or(predicates ...predicate.VulnInformation) predicate.VulnInformation
- func Pushed(v bool) predicate.VulnInformation
- func PushedEQ(v bool) predicate.VulnInformation
- func PushedNEQ(v bool) predicate.VulnInformation
- func ReferencesIsNil() predicate.VulnInformation
- func ReferencesNotNil() predicate.VulnInformation
- func Severity(v string) predicate.VulnInformation
- func SeverityContains(v string) predicate.VulnInformation
- func SeverityContainsFold(v string) predicate.VulnInformation
- func SeverityEQ(v string) predicate.VulnInformation
- func SeverityEqualFold(v string) predicate.VulnInformation
- func SeverityGT(v string) predicate.VulnInformation
- func SeverityGTE(v string) predicate.VulnInformation
- func SeverityHasPrefix(v string) predicate.VulnInformation
- func SeverityHasSuffix(v string) predicate.VulnInformation
- func SeverityIn(vs ...string) predicate.VulnInformation
- func SeverityLT(v string) predicate.VulnInformation
- func SeverityLTE(v string) predicate.VulnInformation
- func SeverityNEQ(v string) predicate.VulnInformation
- func SeverityNotIn(vs ...string) predicate.VulnInformation
- func Solutions(v string) predicate.VulnInformation
- func SolutionsContains(v string) predicate.VulnInformation
- func SolutionsContainsFold(v string) predicate.VulnInformation
- func SolutionsEQ(v string) predicate.VulnInformation
- func SolutionsEqualFold(v string) predicate.VulnInformation
- func SolutionsGT(v string) predicate.VulnInformation
- func SolutionsGTE(v string) predicate.VulnInformation
- func SolutionsHasPrefix(v string) predicate.VulnInformation
- func SolutionsHasSuffix(v string) predicate.VulnInformation
- func SolutionsIn(vs ...string) predicate.VulnInformation
- func SolutionsLT(v string) predicate.VulnInformation
- func SolutionsLTE(v string) predicate.VulnInformation
- func SolutionsNEQ(v string) predicate.VulnInformation
- func SolutionsNotIn(vs ...string) predicate.VulnInformation
- func TagsIsNil() predicate.VulnInformation
- func TagsNotNil() predicate.VulnInformation
- func Title(v string) predicate.VulnInformation
- func TitleContains(v string) predicate.VulnInformation
- func TitleContainsFold(v string) predicate.VulnInformation
- func TitleEQ(v string) predicate.VulnInformation
- func TitleEqualFold(v string) predicate.VulnInformation
- func TitleGT(v string) predicate.VulnInformation
- func TitleGTE(v string) predicate.VulnInformation
- func TitleHasPrefix(v string) predicate.VulnInformation
- func TitleHasSuffix(v string) predicate.VulnInformation
- func TitleIn(vs ...string) predicate.VulnInformation
- func TitleLT(v string) predicate.VulnInformation
- func TitleLTE(v string) predicate.VulnInformation
- func TitleNEQ(v string) predicate.VulnInformation
- func TitleNotIn(vs ...string) predicate.VulnInformation
- func UpdateTime(v time.Time) predicate.VulnInformation
- func UpdateTimeEQ(v time.Time) predicate.VulnInformation
- func UpdateTimeGT(v time.Time) predicate.VulnInformation
- func UpdateTimeGTE(v time.Time) predicate.VulnInformation
- func UpdateTimeIn(vs ...time.Time) predicate.VulnInformation
- func UpdateTimeLT(v time.Time) predicate.VulnInformation
- func UpdateTimeLTE(v time.Time) predicate.VulnInformation
- func UpdateTimeNEQ(v time.Time) predicate.VulnInformation
- func UpdateTimeNotIn(vs ...time.Time) predicate.VulnInformation
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByCve(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDisclosure(opts ...sql.OrderTermOption) OrderOption
- func ByFrom(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByPushed(opts ...sql.OrderTermOption) OrderOption
- func BySeverity(opts ...sql.OrderTermOption) OrderOption
- func BySolutions(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the vulninformation type in the database. Label = "vuln_information" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // 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" // FieldSeverity holds the string denoting the severity field in the database. FieldSeverity = "severity" // FieldCve holds the string denoting the cve field in the database. FieldCve = "cve" // FieldDisclosure holds the string denoting the disclosure field in the database. FieldDisclosure = "disclosure" // FieldSolutions holds the string denoting the solutions field in the database. FieldSolutions = "solutions" // FieldReferences holds the string denoting the references field in the database. FieldReferences = "references" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldGithubSearch holds the string denoting the github_search field in the database. FieldGithubSearch = "github_search" // FieldFrom holds the string denoting the from field in the database. FieldFrom = "from" // FieldPushed holds the string denoting the pushed field in the database. FieldPushed = "pushed" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // Table holds the table name of the vulninformation in the database. Table = "vuln_informations" )
Variables ¶
var ( // DefaultTitle holds the default value on creation for the "title" field. DefaultTitle string // DefaultDescription holds the default value on creation for the "description" field. DefaultDescription string // DefaultSeverity holds the default value on creation for the "severity" field. DefaultSeverity string // DefaultCve holds the default value on creation for the "cve" field. DefaultCve string // DefaultDisclosure holds the default value on creation for the "disclosure" field. DefaultDisclosure string // DefaultSolutions holds the default value on creation for the "solutions" field. DefaultSolutions string // DefaultFrom holds the default value on creation for the "from" field. DefaultFrom string // DefaultPushed holds the default value on creation for the "pushed" field. DefaultPushed bool // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldKey, FieldTitle, FieldDescription, FieldSeverity, FieldCve, FieldDisclosure, FieldSolutions, FieldReferences, FieldTags, FieldGithubSearch, FieldFrom, FieldPushed, FieldCreateTime, FieldUpdateTime, }
Columns holds all SQL columns for vulninformation fields.
Functions ¶
func And ¶
func And(predicates ...predicate.VulnInformation) predicate.VulnInformation
And groups predicates with the AND operator between them.
func CreateTime ¶ added in v1.1.0
func CreateTime(v time.Time) predicate.VulnInformation
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶ added in v1.1.0
func CreateTimeEQ(v time.Time) predicate.VulnInformation
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶ added in v1.1.0
func CreateTimeGT(v time.Time) predicate.VulnInformation
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶ added in v1.1.0
func CreateTimeGTE(v time.Time) predicate.VulnInformation
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶ added in v1.1.0
func CreateTimeIn(vs ...time.Time) predicate.VulnInformation
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶ added in v1.1.0
func CreateTimeLT(v time.Time) predicate.VulnInformation
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶ added in v1.1.0
func CreateTimeLTE(v time.Time) predicate.VulnInformation
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶ added in v1.1.0
func CreateTimeNEQ(v time.Time) predicate.VulnInformation
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶ added in v1.1.0
func CreateTimeNotIn(vs ...time.Time) predicate.VulnInformation
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Cve ¶
func Cve(v string) predicate.VulnInformation
Cve applies equality check predicate on the "cve" field. It's identical to CveEQ.
func CveContains ¶
func CveContains(v string) predicate.VulnInformation
CveContains applies the Contains predicate on the "cve" field.
func CveContainsFold ¶
func CveContainsFold(v string) predicate.VulnInformation
CveContainsFold applies the ContainsFold predicate on the "cve" field.
func CveEQ ¶
func CveEQ(v string) predicate.VulnInformation
CveEQ applies the EQ predicate on the "cve" field.
func CveEqualFold ¶
func CveEqualFold(v string) predicate.VulnInformation
CveEqualFold applies the EqualFold predicate on the "cve" field.
func CveGT ¶
func CveGT(v string) predicate.VulnInformation
CveGT applies the GT predicate on the "cve" field.
func CveGTE ¶
func CveGTE(v string) predicate.VulnInformation
CveGTE applies the GTE predicate on the "cve" field.
func CveHasPrefix ¶
func CveHasPrefix(v string) predicate.VulnInformation
CveHasPrefix applies the HasPrefix predicate on the "cve" field.
func CveHasSuffix ¶
func CveHasSuffix(v string) predicate.VulnInformation
CveHasSuffix applies the HasSuffix predicate on the "cve" field.
func CveIn ¶
func CveIn(vs ...string) predicate.VulnInformation
CveIn applies the In predicate on the "cve" field.
func CveLT ¶
func CveLT(v string) predicate.VulnInformation
CveLT applies the LT predicate on the "cve" field.
func CveLTE ¶
func CveLTE(v string) predicate.VulnInformation
CveLTE applies the LTE predicate on the "cve" field.
func CveNEQ ¶
func CveNEQ(v string) predicate.VulnInformation
CveNEQ applies the NEQ predicate on the "cve" field.
func CveNotIn ¶
func CveNotIn(vs ...string) predicate.VulnInformation
CveNotIn applies the NotIn predicate on the "cve" field.
func Description ¶
func Description(v string) predicate.VulnInformation
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.VulnInformation
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.VulnInformation
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.VulnInformation
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.VulnInformation
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.VulnInformation
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.VulnInformation
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.VulnInformation
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.VulnInformation
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.VulnInformation
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.VulnInformation
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.VulnInformation
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.VulnInformation
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.VulnInformation
DescriptionNotIn applies the NotIn predicate on the "description" field.
func Disclosure ¶
func Disclosure(v string) predicate.VulnInformation
Disclosure applies equality check predicate on the "disclosure" field. It's identical to DisclosureEQ.
func DisclosureContains ¶
func DisclosureContains(v string) predicate.VulnInformation
DisclosureContains applies the Contains predicate on the "disclosure" field.
func DisclosureContainsFold ¶
func DisclosureContainsFold(v string) predicate.VulnInformation
DisclosureContainsFold applies the ContainsFold predicate on the "disclosure" field.
func DisclosureEQ ¶
func DisclosureEQ(v string) predicate.VulnInformation
DisclosureEQ applies the EQ predicate on the "disclosure" field.
func DisclosureEqualFold ¶
func DisclosureEqualFold(v string) predicate.VulnInformation
DisclosureEqualFold applies the EqualFold predicate on the "disclosure" field.
func DisclosureGT ¶
func DisclosureGT(v string) predicate.VulnInformation
DisclosureGT applies the GT predicate on the "disclosure" field.
func DisclosureGTE ¶
func DisclosureGTE(v string) predicate.VulnInformation
DisclosureGTE applies the GTE predicate on the "disclosure" field.
func DisclosureHasPrefix ¶
func DisclosureHasPrefix(v string) predicate.VulnInformation
DisclosureHasPrefix applies the HasPrefix predicate on the "disclosure" field.
func DisclosureHasSuffix ¶
func DisclosureHasSuffix(v string) predicate.VulnInformation
DisclosureHasSuffix applies the HasSuffix predicate on the "disclosure" field.
func DisclosureIn ¶
func DisclosureIn(vs ...string) predicate.VulnInformation
DisclosureIn applies the In predicate on the "disclosure" field.
func DisclosureLT ¶
func DisclosureLT(v string) predicate.VulnInformation
DisclosureLT applies the LT predicate on the "disclosure" field.
func DisclosureLTE ¶
func DisclosureLTE(v string) predicate.VulnInformation
DisclosureLTE applies the LTE predicate on the "disclosure" field.
func DisclosureNEQ ¶
func DisclosureNEQ(v string) predicate.VulnInformation
DisclosureNEQ applies the NEQ predicate on the "disclosure" field.
func DisclosureNotIn ¶
func DisclosureNotIn(vs ...string) predicate.VulnInformation
DisclosureNotIn applies the NotIn predicate on the "disclosure" field.
func From ¶
func From(v string) predicate.VulnInformation
From applies equality check predicate on the "from" field. It's identical to FromEQ.
func FromContains ¶
func FromContains(v string) predicate.VulnInformation
FromContains applies the Contains predicate on the "from" field.
func FromContainsFold ¶
func FromContainsFold(v string) predicate.VulnInformation
FromContainsFold applies the ContainsFold predicate on the "from" field.
func FromEQ ¶
func FromEQ(v string) predicate.VulnInformation
FromEQ applies the EQ predicate on the "from" field.
func FromEqualFold ¶
func FromEqualFold(v string) predicate.VulnInformation
FromEqualFold applies the EqualFold predicate on the "from" field.
func FromGT ¶
func FromGT(v string) predicate.VulnInformation
FromGT applies the GT predicate on the "from" field.
func FromGTE ¶
func FromGTE(v string) predicate.VulnInformation
FromGTE applies the GTE predicate on the "from" field.
func FromHasPrefix ¶
func FromHasPrefix(v string) predicate.VulnInformation
FromHasPrefix applies the HasPrefix predicate on the "from" field.
func FromHasSuffix ¶
func FromHasSuffix(v string) predicate.VulnInformation
FromHasSuffix applies the HasSuffix predicate on the "from" field.
func FromIn ¶
func FromIn(vs ...string) predicate.VulnInformation
FromIn applies the In predicate on the "from" field.
func FromLT ¶
func FromLT(v string) predicate.VulnInformation
FromLT applies the LT predicate on the "from" field.
func FromLTE ¶
func FromLTE(v string) predicate.VulnInformation
FromLTE applies the LTE predicate on the "from" field.
func FromNEQ ¶
func FromNEQ(v string) predicate.VulnInformation
FromNEQ applies the NEQ predicate on the "from" field.
func FromNotIn ¶
func FromNotIn(vs ...string) predicate.VulnInformation
FromNotIn applies the NotIn predicate on the "from" field.
func GithubSearchIsNil ¶ added in v1.1.0
func GithubSearchIsNil() predicate.VulnInformation
GithubSearchIsNil applies the IsNil predicate on the "github_search" field.
func GithubSearchNotNil ¶ added in v1.1.0
func GithubSearchNotNil() predicate.VulnInformation
GithubSearchNotNil applies the NotNil predicate on the "github_search" field.
func IDEQ ¶
func IDEQ(id int) predicate.VulnInformation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.VulnInformation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.VulnInformation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.VulnInformation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.VulnInformation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.VulnInformation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.VulnInformation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.VulnInformation
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.VulnInformation
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.VulnInformation
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.VulnInformation
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.VulnInformation
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.VulnInformation
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.VulnInformation
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.VulnInformation
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.VulnInformation
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.VulnInformation
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.VulnInformation
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.VulnInformation
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.VulnInformation
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.VulnInformation
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.VulnInformation
KeyNotIn applies the NotIn predicate on the "key" field.
func Not ¶
func Not(p predicate.VulnInformation) predicate.VulnInformation
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.VulnInformation) predicate.VulnInformation
Or groups predicates with the OR operator between them.
func Pushed ¶ added in v0.3.0
func Pushed(v bool) predicate.VulnInformation
Pushed applies equality check predicate on the "pushed" field. It's identical to PushedEQ.
func PushedEQ ¶ added in v0.3.0
func PushedEQ(v bool) predicate.VulnInformation
PushedEQ applies the EQ predicate on the "pushed" field.
func PushedNEQ ¶ added in v0.3.0
func PushedNEQ(v bool) predicate.VulnInformation
PushedNEQ applies the NEQ predicate on the "pushed" field.
func ReferencesIsNil ¶
func ReferencesIsNil() predicate.VulnInformation
ReferencesIsNil applies the IsNil predicate on the "references" field.
func ReferencesNotNil ¶
func ReferencesNotNil() predicate.VulnInformation
ReferencesNotNil applies the NotNil predicate on the "references" field.
func Severity ¶
func Severity(v string) predicate.VulnInformation
Severity applies equality check predicate on the "severity" field. It's identical to SeverityEQ.
func SeverityContains ¶
func SeverityContains(v string) predicate.VulnInformation
SeverityContains applies the Contains predicate on the "severity" field.
func SeverityContainsFold ¶
func SeverityContainsFold(v string) predicate.VulnInformation
SeverityContainsFold applies the ContainsFold predicate on the "severity" field.
func SeverityEQ ¶
func SeverityEQ(v string) predicate.VulnInformation
SeverityEQ applies the EQ predicate on the "severity" field.
func SeverityEqualFold ¶
func SeverityEqualFold(v string) predicate.VulnInformation
SeverityEqualFold applies the EqualFold predicate on the "severity" field.
func SeverityGT ¶
func SeverityGT(v string) predicate.VulnInformation
SeverityGT applies the GT predicate on the "severity" field.
func SeverityGTE ¶
func SeverityGTE(v string) predicate.VulnInformation
SeverityGTE applies the GTE predicate on the "severity" field.
func SeverityHasPrefix ¶
func SeverityHasPrefix(v string) predicate.VulnInformation
SeverityHasPrefix applies the HasPrefix predicate on the "severity" field.
func SeverityHasSuffix ¶
func SeverityHasSuffix(v string) predicate.VulnInformation
SeverityHasSuffix applies the HasSuffix predicate on the "severity" field.
func SeverityIn ¶
func SeverityIn(vs ...string) predicate.VulnInformation
SeverityIn applies the In predicate on the "severity" field.
func SeverityLT ¶
func SeverityLT(v string) predicate.VulnInformation
SeverityLT applies the LT predicate on the "severity" field.
func SeverityLTE ¶
func SeverityLTE(v string) predicate.VulnInformation
SeverityLTE applies the LTE predicate on the "severity" field.
func SeverityNEQ ¶
func SeverityNEQ(v string) predicate.VulnInformation
SeverityNEQ applies the NEQ predicate on the "severity" field.
func SeverityNotIn ¶
func SeverityNotIn(vs ...string) predicate.VulnInformation
SeverityNotIn applies the NotIn predicate on the "severity" field.
func Solutions ¶
func Solutions(v string) predicate.VulnInformation
Solutions applies equality check predicate on the "solutions" field. It's identical to SolutionsEQ.
func SolutionsContains ¶
func SolutionsContains(v string) predicate.VulnInformation
SolutionsContains applies the Contains predicate on the "solutions" field.
func SolutionsContainsFold ¶
func SolutionsContainsFold(v string) predicate.VulnInformation
SolutionsContainsFold applies the ContainsFold predicate on the "solutions" field.
func SolutionsEQ ¶
func SolutionsEQ(v string) predicate.VulnInformation
SolutionsEQ applies the EQ predicate on the "solutions" field.
func SolutionsEqualFold ¶
func SolutionsEqualFold(v string) predicate.VulnInformation
SolutionsEqualFold applies the EqualFold predicate on the "solutions" field.
func SolutionsGT ¶
func SolutionsGT(v string) predicate.VulnInformation
SolutionsGT applies the GT predicate on the "solutions" field.
func SolutionsGTE ¶
func SolutionsGTE(v string) predicate.VulnInformation
SolutionsGTE applies the GTE predicate on the "solutions" field.
func SolutionsHasPrefix ¶
func SolutionsHasPrefix(v string) predicate.VulnInformation
SolutionsHasPrefix applies the HasPrefix predicate on the "solutions" field.
func SolutionsHasSuffix ¶
func SolutionsHasSuffix(v string) predicate.VulnInformation
SolutionsHasSuffix applies the HasSuffix predicate on the "solutions" field.
func SolutionsIn ¶
func SolutionsIn(vs ...string) predicate.VulnInformation
SolutionsIn applies the In predicate on the "solutions" field.
func SolutionsLT ¶
func SolutionsLT(v string) predicate.VulnInformation
SolutionsLT applies the LT predicate on the "solutions" field.
func SolutionsLTE ¶
func SolutionsLTE(v string) predicate.VulnInformation
SolutionsLTE applies the LTE predicate on the "solutions" field.
func SolutionsNEQ ¶
func SolutionsNEQ(v string) predicate.VulnInformation
SolutionsNEQ applies the NEQ predicate on the "solutions" field.
func SolutionsNotIn ¶
func SolutionsNotIn(vs ...string) predicate.VulnInformation
SolutionsNotIn applies the NotIn predicate on the "solutions" field.
func TagsIsNil ¶
func TagsIsNil() predicate.VulnInformation
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.VulnInformation
TagsNotNil applies the NotNil predicate on the "tags" field.
func Title ¶
func Title(v string) predicate.VulnInformation
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
func TitleContains(v string) predicate.VulnInformation
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
func TitleContainsFold(v string) predicate.VulnInformation
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEQ ¶
func TitleEQ(v string) predicate.VulnInformation
TitleEQ applies the EQ predicate on the "title" field.
func TitleEqualFold ¶
func TitleEqualFold(v string) predicate.VulnInformation
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleGT ¶
func TitleGT(v string) predicate.VulnInformation
TitleGT applies the GT predicate on the "title" field.
func TitleGTE ¶
func TitleGTE(v string) predicate.VulnInformation
TitleGTE applies the GTE predicate on the "title" field.
func TitleHasPrefix ¶
func TitleHasPrefix(v string) predicate.VulnInformation
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
func TitleHasSuffix(v string) predicate.VulnInformation
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIn ¶
func TitleIn(vs ...string) predicate.VulnInformation
TitleIn applies the In predicate on the "title" field.
func TitleLT ¶
func TitleLT(v string) predicate.VulnInformation
TitleLT applies the LT predicate on the "title" field.
func TitleLTE ¶
func TitleLTE(v string) predicate.VulnInformation
TitleLTE applies the LTE predicate on the "title" field.
func TitleNEQ ¶
func TitleNEQ(v string) predicate.VulnInformation
TitleNEQ applies the NEQ predicate on the "title" field.
func TitleNotIn ¶
func TitleNotIn(vs ...string) predicate.VulnInformation
TitleNotIn applies the NotIn predicate on the "title" field.
func UpdateTime ¶ added in v1.1.0
func UpdateTime(v time.Time) predicate.VulnInformation
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶ added in v1.1.0
func UpdateTimeEQ(v time.Time) predicate.VulnInformation
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶ added in v1.1.0
func UpdateTimeGT(v time.Time) predicate.VulnInformation
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶ added in v1.1.0
func UpdateTimeGTE(v time.Time) predicate.VulnInformation
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶ added in v1.1.0
func UpdateTimeIn(vs ...time.Time) predicate.VulnInformation
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶ added in v1.1.0
func UpdateTimeLT(v time.Time) predicate.VulnInformation
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶ added in v1.1.0
func UpdateTimeLTE(v time.Time) predicate.VulnInformation
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶ added in v1.1.0
func UpdateTimeNEQ(v time.Time) predicate.VulnInformation
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶ added in v1.1.0
func UpdateTimeNotIn(vs ...time.Time) predicate.VulnInformation
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶ added in v1.2.2
OrderOption defines the ordering options for the VulnInformation queries.
func ByCreateTime ¶ added in v1.1.0
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByCve ¶ added in v0.8.0
func ByCve(opts ...sql.OrderTermOption) OrderOption
ByCve orders the results by the cve field.
func ByDescription ¶ added in v0.8.0
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDisclosure ¶ added in v0.8.0
func ByDisclosure(opts ...sql.OrderTermOption) OrderOption
ByDisclosure orders the results by the disclosure field.
func ByFrom ¶ added in v0.8.0
func ByFrom(opts ...sql.OrderTermOption) OrderOption
ByFrom orders the results by the from field.
func ByID ¶ added in v0.8.0
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKey ¶ added in v0.8.0
func ByKey(opts ...sql.OrderTermOption) OrderOption
ByKey orders the results by the key field.
func ByPushed ¶ added in v0.8.0
func ByPushed(opts ...sql.OrderTermOption) OrderOption
ByPushed orders the results by the pushed field.
func BySeverity ¶ added in v0.8.0
func BySeverity(opts ...sql.OrderTermOption) OrderOption
BySeverity orders the results by the severity field.
func BySolutions ¶ added in v0.8.0
func BySolutions(opts ...sql.OrderTermOption) OrderOption
BySolutions orders the results by the solutions field.
func ByTitle ¶ added in v0.8.0
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title field.
func ByUpdateTime ¶ added in v1.1.0
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.