Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Vulnerability) predicate.Vulnerability
- func Description(v string) predicate.Vulnerability
- func DescriptionContains(v string) predicate.Vulnerability
- func DescriptionContainsFold(v string) predicate.Vulnerability
- func DescriptionEQ(v string) predicate.Vulnerability
- func DescriptionEqualFold(v string) predicate.Vulnerability
- func DescriptionGT(v string) predicate.Vulnerability
- func DescriptionGTE(v string) predicate.Vulnerability
- func DescriptionHasPrefix(v string) predicate.Vulnerability
- func DescriptionHasSuffix(v string) predicate.Vulnerability
- func DescriptionIn(vs ...string) predicate.Vulnerability
- func DescriptionIsNil() predicate.Vulnerability
- func DescriptionLT(v string) predicate.Vulnerability
- func DescriptionLTE(v string) predicate.Vulnerability
- func DescriptionNEQ(v string) predicate.Vulnerability
- func DescriptionNotIn(vs ...string) predicate.Vulnerability
- func DescriptionNotNil() predicate.Vulnerability
- func HasComponents() predicate.Vulnerability
- func HasComponentsWith(preds ...predicate.Component) predicate.Vulnerability
- func HasInstances() predicate.Vulnerability
- func HasInstancesWith(preds ...predicate.ReleaseVulnerability) predicate.Vulnerability
- func HasOwner() predicate.Vulnerability
- func HasOwnerWith(preds ...predicate.Organization) predicate.Vulnerability
- func HasReviews() predicate.Vulnerability
- func HasReviewsWith(preds ...predicate.VulnerabilityReview) predicate.Vulnerability
- func ID(id int) predicate.Vulnerability
- func IDEQ(id int) predicate.Vulnerability
- func IDGT(id int) predicate.Vulnerability
- func IDGTE(id int) predicate.Vulnerability
- func IDIn(ids ...int) predicate.Vulnerability
- func IDLT(id int) predicate.Vulnerability
- func IDLTE(id int) predicate.Vulnerability
- func IDNEQ(id int) predicate.Vulnerability
- func IDNotIn(ids ...int) predicate.Vulnerability
- func MetadataIsNil() predicate.Vulnerability
- func MetadataNotNil() predicate.Vulnerability
- func Modified(v time.Time) predicate.Vulnerability
- func ModifiedEQ(v time.Time) predicate.Vulnerability
- func ModifiedGT(v time.Time) predicate.Vulnerability
- func ModifiedGTE(v time.Time) predicate.Vulnerability
- func ModifiedIn(vs ...time.Time) predicate.Vulnerability
- func ModifiedIsNil() predicate.Vulnerability
- func ModifiedLT(v time.Time) predicate.Vulnerability
- func ModifiedLTE(v time.Time) predicate.Vulnerability
- func ModifiedNEQ(v time.Time) predicate.Vulnerability
- func ModifiedNotIn(vs ...time.Time) predicate.Vulnerability
- func ModifiedNotNil() predicate.Vulnerability
- func Not(p predicate.Vulnerability) predicate.Vulnerability
- func Or(predicates ...predicate.Vulnerability) predicate.Vulnerability
- func Published(v time.Time) predicate.Vulnerability
- func PublishedEQ(v time.Time) predicate.Vulnerability
- func PublishedGT(v time.Time) predicate.Vulnerability
- func PublishedGTE(v time.Time) predicate.Vulnerability
- func PublishedIn(vs ...time.Time) predicate.Vulnerability
- func PublishedIsNil() predicate.Vulnerability
- func PublishedLT(v time.Time) predicate.Vulnerability
- func PublishedLTE(v time.Time) predicate.Vulnerability
- func PublishedNEQ(v time.Time) predicate.Vulnerability
- func PublishedNotIn(vs ...time.Time) predicate.Vulnerability
- func PublishedNotNil() predicate.Vulnerability
- func SeverityEQ(v Severity) predicate.Vulnerability
- func SeverityIn(vs ...Severity) predicate.Vulnerability
- func SeverityNEQ(v Severity) predicate.Vulnerability
- func SeverityNotIn(vs ...Severity) predicate.Vulnerability
- func SeverityScore(v float64) predicate.Vulnerability
- func SeverityScoreEQ(v float64) predicate.Vulnerability
- func SeverityScoreGT(v float64) predicate.Vulnerability
- func SeverityScoreGTE(v float64) predicate.Vulnerability
- func SeverityScoreIn(vs ...float64) predicate.Vulnerability
- func SeverityScoreLT(v float64) predicate.Vulnerability
- func SeverityScoreLTE(v float64) predicate.Vulnerability
- func SeverityScoreNEQ(v float64) predicate.Vulnerability
- func SeverityScoreNotIn(vs ...float64) predicate.Vulnerability
- func SeverityValidator(s Severity) error
- func Summary(v string) predicate.Vulnerability
- func SummaryContains(v string) predicate.Vulnerability
- func SummaryContainsFold(v string) predicate.Vulnerability
- func SummaryEQ(v string) predicate.Vulnerability
- func SummaryEqualFold(v string) predicate.Vulnerability
- func SummaryGT(v string) predicate.Vulnerability
- func SummaryGTE(v string) predicate.Vulnerability
- func SummaryHasPrefix(v string) predicate.Vulnerability
- func SummaryHasSuffix(v string) predicate.Vulnerability
- func SummaryIn(vs ...string) predicate.Vulnerability
- func SummaryIsNil() predicate.Vulnerability
- func SummaryLT(v string) predicate.Vulnerability
- func SummaryLTE(v string) predicate.Vulnerability
- func SummaryNEQ(v string) predicate.Vulnerability
- func SummaryNotIn(vs ...string) predicate.Vulnerability
- func SummaryNotNil() predicate.Vulnerability
- func ValidColumn(column string) bool
- func Vid(v string) predicate.Vulnerability
- func VidContains(v string) predicate.Vulnerability
- func VidContainsFold(v string) predicate.Vulnerability
- func VidEQ(v string) predicate.Vulnerability
- func VidEqualFold(v string) predicate.Vulnerability
- func VidGT(v string) predicate.Vulnerability
- func VidGTE(v string) predicate.Vulnerability
- func VidHasPrefix(v string) predicate.Vulnerability
- func VidHasSuffix(v string) predicate.Vulnerability
- func VidIn(vs ...string) predicate.Vulnerability
- func VidLT(v string) predicate.Vulnerability
- func VidLTE(v string) predicate.Vulnerability
- func VidNEQ(v string) predicate.Vulnerability
- func VidNotIn(vs ...string) predicate.Vulnerability
- type Severity
Constants ¶
const ( // Label holds the string label denoting the vulnerability type in the database. Label = "vulnerability" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldVid holds the string denoting the vid field in the database. FieldVid = "vid" // FieldSummary holds the string denoting the summary field in the database. FieldSummary = "summary" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldSeverityScore holds the string denoting the severity_score field in the database. FieldSeverityScore = "severity_score" // FieldSeverity holds the string denoting the severity field in the database. FieldSeverity = "severity" // FieldPublished holds the string denoting the published field in the database. FieldPublished = "published" // FieldModified holds the string denoting the modified field in the database. FieldModified = "modified" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeComponents holds the string denoting the components edge name in mutations. EdgeComponents = "components" // EdgeReviews holds the string denoting the reviews edge name in mutations. EdgeReviews = "reviews" // EdgeInstances holds the string denoting the instances edge name in mutations. EdgeInstances = "instances" // Table holds the table name of the vulnerability in the database. Table = "vulnerability" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "vulnerability" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organization" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "vulnerability_owner" // ComponentsTable is the table that holds the components relation/edge. The primary key declared below. ComponentsTable = "component_vulnerabilities" // ComponentsInverseTable is the table name for the Component entity. // It exists in this package in order to avoid circular dependency with the "component" package. ComponentsInverseTable = "component" // ReviewsTable is the table that holds the reviews relation/edge. ReviewsTable = "vulnerability_review" // ReviewsInverseTable is the table name for the VulnerabilityReview entity. // It exists in this package in order to avoid circular dependency with the "vulnerabilityreview" package. ReviewsInverseTable = "vulnerability_review" // ReviewsColumn is the table column denoting the reviews relation/edge. ReviewsColumn = "vulnerability_review_vulnerability" // InstancesTable is the table that holds the instances relation/edge. InstancesTable = "release_vulnerability" // InstancesInverseTable is the table name for the ReleaseVulnerability entity. // It exists in this package in order to avoid circular dependency with the "releasevulnerability" package. InstancesInverseTable = "release_vulnerability" // InstancesColumn is the table column denoting the instances relation/edge. InstancesColumn = "release_vulnerability_vulnerability" )
const DefaultSeverity = SeverityNone
SeverityNone is the default value of the Severity enum.
Variables ¶
var ( Hooks [1]ent.Hook // VidValidator is a validator for the "vid" field. It is called by the builders before save. VidValidator func(string) error // DefaultSeverityScore holds the default value on creation for the "severity_score" field. DefaultSeverityScore float64 )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/valocode/bubbly/ent/runtime"
var Columns = []string{ FieldID, FieldVid, FieldSummary, FieldDescription, FieldSeverityScore, FieldSeverity, FieldPublished, FieldModified, FieldMetadata, }
Columns holds all SQL columns for vulnerability fields.
var ( // ComponentsPrimaryKey and ComponentsColumn2 are the table columns denoting the // primary key for the components relation (M2M). ComponentsPrimaryKey = []string{"component_id", "vulnerability_id"} )
var ForeignKeys = []string{
"vulnerability_owner",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "vulnerability" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.Vulnerability) predicate.Vulnerability
And groups predicates with the AND operator between them.
func Description ¶
func Description(v string) predicate.Vulnerability
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.Vulnerability
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.Vulnerability
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.Vulnerability
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.Vulnerability
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.Vulnerability
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.Vulnerability
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.Vulnerability
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.Vulnerability
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.Vulnerability
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.Vulnerability
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.Vulnerability
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.Vulnerability
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.Vulnerability
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.Vulnerability
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.Vulnerability
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasComponents ¶
func HasComponents() predicate.Vulnerability
HasComponents applies the HasEdge predicate on the "components" edge.
func HasComponentsWith ¶
func HasComponentsWith(preds ...predicate.Component) predicate.Vulnerability
HasComponentsWith applies the HasEdge predicate on the "components" edge with a given conditions (other predicates).
func HasInstances ¶
func HasInstances() predicate.Vulnerability
HasInstances applies the HasEdge predicate on the "instances" edge.
func HasInstancesWith ¶
func HasInstancesWith(preds ...predicate.ReleaseVulnerability) predicate.Vulnerability
HasInstancesWith applies the HasEdge predicate on the "instances" edge with a given conditions (other predicates).
func HasOwner ¶
func HasOwner() predicate.Vulnerability
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Vulnerability
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasReviews ¶
func HasReviews() predicate.Vulnerability
HasReviews applies the HasEdge predicate on the "reviews" edge.
func HasReviewsWith ¶
func HasReviewsWith(preds ...predicate.VulnerabilityReview) predicate.Vulnerability
HasReviewsWith applies the HasEdge predicate on the "reviews" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.Vulnerability
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.Vulnerability
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.Vulnerability
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.Vulnerability
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.Vulnerability
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.Vulnerability
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.Vulnerability
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.Vulnerability
IDNotIn applies the NotIn predicate on the ID field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.Vulnerability
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.Vulnerability
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Modified ¶
func Modified(v time.Time) predicate.Vulnerability
Modified applies equality check predicate on the "modified" field. It's identical to ModifiedEQ.
func ModifiedEQ ¶
func ModifiedEQ(v time.Time) predicate.Vulnerability
ModifiedEQ applies the EQ predicate on the "modified" field.
func ModifiedGT ¶
func ModifiedGT(v time.Time) predicate.Vulnerability
ModifiedGT applies the GT predicate on the "modified" field.
func ModifiedGTE ¶
func ModifiedGTE(v time.Time) predicate.Vulnerability
ModifiedGTE applies the GTE predicate on the "modified" field.
func ModifiedIn ¶
func ModifiedIn(vs ...time.Time) predicate.Vulnerability
ModifiedIn applies the In predicate on the "modified" field.
func ModifiedIsNil ¶
func ModifiedIsNil() predicate.Vulnerability
ModifiedIsNil applies the IsNil predicate on the "modified" field.
func ModifiedLT ¶
func ModifiedLT(v time.Time) predicate.Vulnerability
ModifiedLT applies the LT predicate on the "modified" field.
func ModifiedLTE ¶
func ModifiedLTE(v time.Time) predicate.Vulnerability
ModifiedLTE applies the LTE predicate on the "modified" field.
func ModifiedNEQ ¶
func ModifiedNEQ(v time.Time) predicate.Vulnerability
ModifiedNEQ applies the NEQ predicate on the "modified" field.
func ModifiedNotIn ¶
func ModifiedNotIn(vs ...time.Time) predicate.Vulnerability
ModifiedNotIn applies the NotIn predicate on the "modified" field.
func ModifiedNotNil ¶
func ModifiedNotNil() predicate.Vulnerability
ModifiedNotNil applies the NotNil predicate on the "modified" field.
func Not ¶
func Not(p predicate.Vulnerability) predicate.Vulnerability
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Vulnerability) predicate.Vulnerability
Or groups predicates with the OR operator between them.
func Published ¶
func Published(v time.Time) predicate.Vulnerability
Published applies equality check predicate on the "published" field. It's identical to PublishedEQ.
func PublishedEQ ¶
func PublishedEQ(v time.Time) predicate.Vulnerability
PublishedEQ applies the EQ predicate on the "published" field.
func PublishedGT ¶
func PublishedGT(v time.Time) predicate.Vulnerability
PublishedGT applies the GT predicate on the "published" field.
func PublishedGTE ¶
func PublishedGTE(v time.Time) predicate.Vulnerability
PublishedGTE applies the GTE predicate on the "published" field.
func PublishedIn ¶
func PublishedIn(vs ...time.Time) predicate.Vulnerability
PublishedIn applies the In predicate on the "published" field.
func PublishedIsNil ¶
func PublishedIsNil() predicate.Vulnerability
PublishedIsNil applies the IsNil predicate on the "published" field.
func PublishedLT ¶
func PublishedLT(v time.Time) predicate.Vulnerability
PublishedLT applies the LT predicate on the "published" field.
func PublishedLTE ¶
func PublishedLTE(v time.Time) predicate.Vulnerability
PublishedLTE applies the LTE predicate on the "published" field.
func PublishedNEQ ¶
func PublishedNEQ(v time.Time) predicate.Vulnerability
PublishedNEQ applies the NEQ predicate on the "published" field.
func PublishedNotIn ¶
func PublishedNotIn(vs ...time.Time) predicate.Vulnerability
PublishedNotIn applies the NotIn predicate on the "published" field.
func PublishedNotNil ¶
func PublishedNotNil() predicate.Vulnerability
PublishedNotNil applies the NotNil predicate on the "published" field.
func SeverityEQ ¶
func SeverityEQ(v Severity) predicate.Vulnerability
SeverityEQ applies the EQ predicate on the "severity" field.
func SeverityIn ¶
func SeverityIn(vs ...Severity) predicate.Vulnerability
SeverityIn applies the In predicate on the "severity" field.
func SeverityNEQ ¶
func SeverityNEQ(v Severity) predicate.Vulnerability
SeverityNEQ applies the NEQ predicate on the "severity" field.
func SeverityNotIn ¶
func SeverityNotIn(vs ...Severity) predicate.Vulnerability
SeverityNotIn applies the NotIn predicate on the "severity" field.
func SeverityScore ¶
func SeverityScore(v float64) predicate.Vulnerability
SeverityScore applies equality check predicate on the "severity_score" field. It's identical to SeverityScoreEQ.
func SeverityScoreEQ ¶
func SeverityScoreEQ(v float64) predicate.Vulnerability
SeverityScoreEQ applies the EQ predicate on the "severity_score" field.
func SeverityScoreGT ¶
func SeverityScoreGT(v float64) predicate.Vulnerability
SeverityScoreGT applies the GT predicate on the "severity_score" field.
func SeverityScoreGTE ¶
func SeverityScoreGTE(v float64) predicate.Vulnerability
SeverityScoreGTE applies the GTE predicate on the "severity_score" field.
func SeverityScoreIn ¶
func SeverityScoreIn(vs ...float64) predicate.Vulnerability
SeverityScoreIn applies the In predicate on the "severity_score" field.
func SeverityScoreLT ¶
func SeverityScoreLT(v float64) predicate.Vulnerability
SeverityScoreLT applies the LT predicate on the "severity_score" field.
func SeverityScoreLTE ¶
func SeverityScoreLTE(v float64) predicate.Vulnerability
SeverityScoreLTE applies the LTE predicate on the "severity_score" field.
func SeverityScoreNEQ ¶
func SeverityScoreNEQ(v float64) predicate.Vulnerability
SeverityScoreNEQ applies the NEQ predicate on the "severity_score" field.
func SeverityScoreNotIn ¶
func SeverityScoreNotIn(vs ...float64) predicate.Vulnerability
SeverityScoreNotIn applies the NotIn predicate on the "severity_score" field.
func SeverityValidator ¶
SeverityValidator is a validator for the "severity" field enum values. It is called by the builders before save.
func Summary ¶
func Summary(v string) predicate.Vulnerability
Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.
func SummaryContains ¶
func SummaryContains(v string) predicate.Vulnerability
SummaryContains applies the Contains predicate on the "summary" field.
func SummaryContainsFold ¶
func SummaryContainsFold(v string) predicate.Vulnerability
SummaryContainsFold applies the ContainsFold predicate on the "summary" field.
func SummaryEQ ¶
func SummaryEQ(v string) predicate.Vulnerability
SummaryEQ applies the EQ predicate on the "summary" field.
func SummaryEqualFold ¶
func SummaryEqualFold(v string) predicate.Vulnerability
SummaryEqualFold applies the EqualFold predicate on the "summary" field.
func SummaryGT ¶
func SummaryGT(v string) predicate.Vulnerability
SummaryGT applies the GT predicate on the "summary" field.
func SummaryGTE ¶
func SummaryGTE(v string) predicate.Vulnerability
SummaryGTE applies the GTE predicate on the "summary" field.
func SummaryHasPrefix ¶
func SummaryHasPrefix(v string) predicate.Vulnerability
SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.
func SummaryHasSuffix ¶
func SummaryHasSuffix(v string) predicate.Vulnerability
SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.
func SummaryIn ¶
func SummaryIn(vs ...string) predicate.Vulnerability
SummaryIn applies the In predicate on the "summary" field.
func SummaryIsNil ¶
func SummaryIsNil() predicate.Vulnerability
SummaryIsNil applies the IsNil predicate on the "summary" field.
func SummaryLT ¶
func SummaryLT(v string) predicate.Vulnerability
SummaryLT applies the LT predicate on the "summary" field.
func SummaryLTE ¶
func SummaryLTE(v string) predicate.Vulnerability
SummaryLTE applies the LTE predicate on the "summary" field.
func SummaryNEQ ¶
func SummaryNEQ(v string) predicate.Vulnerability
SummaryNEQ applies the NEQ predicate on the "summary" field.
func SummaryNotIn ¶
func SummaryNotIn(vs ...string) predicate.Vulnerability
SummaryNotIn applies the NotIn predicate on the "summary" field.
func SummaryNotNil ¶
func SummaryNotNil() predicate.Vulnerability
SummaryNotNil applies the NotNil predicate on the "summary" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Vid ¶
func Vid(v string) predicate.Vulnerability
Vid applies equality check predicate on the "vid" field. It's identical to VidEQ.
func VidContains ¶
func VidContains(v string) predicate.Vulnerability
VidContains applies the Contains predicate on the "vid" field.
func VidContainsFold ¶
func VidContainsFold(v string) predicate.Vulnerability
VidContainsFold applies the ContainsFold predicate on the "vid" field.
func VidEQ ¶
func VidEQ(v string) predicate.Vulnerability
VidEQ applies the EQ predicate on the "vid" field.
func VidEqualFold ¶
func VidEqualFold(v string) predicate.Vulnerability
VidEqualFold applies the EqualFold predicate on the "vid" field.
func VidGT ¶
func VidGT(v string) predicate.Vulnerability
VidGT applies the GT predicate on the "vid" field.
func VidGTE ¶
func VidGTE(v string) predicate.Vulnerability
VidGTE applies the GTE predicate on the "vid" field.
func VidHasPrefix ¶
func VidHasPrefix(v string) predicate.Vulnerability
VidHasPrefix applies the HasPrefix predicate on the "vid" field.
func VidHasSuffix ¶
func VidHasSuffix(v string) predicate.Vulnerability
VidHasSuffix applies the HasSuffix predicate on the "vid" field.
func VidIn ¶
func VidIn(vs ...string) predicate.Vulnerability
VidIn applies the In predicate on the "vid" field.
func VidLT ¶
func VidLT(v string) predicate.Vulnerability
VidLT applies the LT predicate on the "vid" field.
func VidLTE ¶
func VidLTE(v string) predicate.Vulnerability
VidLTE applies the LTE predicate on the "vid" field.
func VidNEQ ¶
func VidNEQ(v string) predicate.Vulnerability
VidNEQ applies the NEQ predicate on the "vid" field.
func VidNotIn ¶
func VidNotIn(vs ...string) predicate.Vulnerability
VidNotIn applies the NotIn predicate on the "vid" field.
Types ¶
type Severity ¶
type Severity string
Severity defines the type for the "severity" enum field.
const ( SeverityNone Severity = "None" SeverityLow Severity = "Low" SeverityMedium Severity = "Medium" SeverityHigh Severity = "High" SeverityCritical Severity = "Critical" )
Severity values.
func (Severity) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Severity) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.