vulnerabilityid

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the vulnerabilityid type in the database.
	Label = "vulnerability_id"
	// 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"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// EdgeVulnEqualVulnA holds the string denoting the vuln_equal_vuln_a edge name in mutations.
	EdgeVulnEqualVulnA = "vuln_equal_vuln_a"
	// EdgeVulnEqualVulnB holds the string denoting the vuln_equal_vuln_b edge name in mutations.
	EdgeVulnEqualVulnB = "vuln_equal_vuln_b"
	// EdgeVulnerabilityMetadata holds the string denoting the vulnerability_metadata edge name in mutations.
	EdgeVulnerabilityMetadata = "vulnerability_metadata"
	// Table holds the table name of the vulnerabilityid in the database.
	Table = "vulnerability_ids"
	// VulnEqualVulnATable is the table that holds the vuln_equal_vuln_a relation/edge.
	VulnEqualVulnATable = "vuln_equals"
	// VulnEqualVulnAInverseTable is the table name for the VulnEqual entity.
	// It exists in this package in order to avoid circular dependency with the "vulnequal" package.
	VulnEqualVulnAInverseTable = "vuln_equals"
	// VulnEqualVulnAColumn is the table column denoting the vuln_equal_vuln_a relation/edge.
	VulnEqualVulnAColumn = "vuln_id"
	// VulnEqualVulnBTable is the table that holds the vuln_equal_vuln_b relation/edge.
	VulnEqualVulnBTable = "vuln_equals"
	// VulnEqualVulnBInverseTable is the table name for the VulnEqual entity.
	// It exists in this package in order to avoid circular dependency with the "vulnequal" package.
	VulnEqualVulnBInverseTable = "vuln_equals"
	// VulnEqualVulnBColumn is the table column denoting the vuln_equal_vuln_b relation/edge.
	VulnEqualVulnBColumn = "equal_vuln_id"
	// VulnerabilityMetadataTable is the table that holds the vulnerability_metadata relation/edge.
	VulnerabilityMetadataTable = "vulnerability_metadata"
	// VulnerabilityMetadataInverseTable is the table name for the VulnerabilityMetadata entity.
	// It exists in this package in order to avoid circular dependency with the "vulnerabilitymetadata" package.
	VulnerabilityMetadataInverseTable = "vulnerability_metadata"
	// VulnerabilityMetadataColumn is the table column denoting the vulnerability_metadata relation/edge.
	VulnerabilityMetadataColumn = "vulnerability_id_id"
)

Variables

View Source
var (
	// TypeValidator is a validator for the "type" field. It is called by the builders before save.
	TypeValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for vulnerabilityid fields.

Functions

func And

And groups predicates with the AND operator between them.

func HasVulnEqualVulnA added in v0.5.0

func HasVulnEqualVulnA() predicate.VulnerabilityID

HasVulnEqualVulnA applies the HasEdge predicate on the "vuln_equal_vuln_a" edge.

func HasVulnEqualVulnAWith added in v0.5.0

func HasVulnEqualVulnAWith(preds ...predicate.VulnEqual) predicate.VulnerabilityID

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

func HasVulnEqualVulnB added in v0.5.0

func HasVulnEqualVulnB() predicate.VulnerabilityID

HasVulnEqualVulnB applies the HasEdge predicate on the "vuln_equal_vuln_b" edge.

func HasVulnEqualVulnBWith added in v0.5.0

func HasVulnEqualVulnBWith(preds ...predicate.VulnEqual) predicate.VulnerabilityID

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

func HasVulnerabilityMetadata added in v0.4.0

func HasVulnerabilityMetadata() predicate.VulnerabilityID

HasVulnerabilityMetadata applies the HasEdge predicate on the "vulnerability_metadata" edge.

func HasVulnerabilityMetadataWith added in v0.4.0

func HasVulnerabilityMetadataWith(preds ...predicate.VulnerabilityMetadata) predicate.VulnerabilityID

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.VulnerabilityID

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.VulnerabilityID

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Type added in v0.5.0

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains added in v0.5.0

func TypeContains(v string) predicate.VulnerabilityID

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold added in v0.5.0

func TypeContainsFold(v string) predicate.VulnerabilityID

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ added in v0.5.0

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold added in v0.5.0

func TypeEqualFold(v string) predicate.VulnerabilityID

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT added in v0.5.0

TypeGT applies the GT predicate on the "type" field.

func TypeGTE added in v0.5.0

func TypeGTE(v string) predicate.VulnerabilityID

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix added in v0.5.0

func TypeHasPrefix(v string) predicate.VulnerabilityID

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix added in v0.5.0

func TypeHasSuffix(v string) predicate.VulnerabilityID

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn added in v0.5.0

func TypeIn(vs ...string) predicate.VulnerabilityID

TypeIn applies the In predicate on the "type" field.

func TypeLT added in v0.5.0

TypeLT applies the LT predicate on the "type" field.

func TypeLTE added in v0.5.0

func TypeLTE(v string) predicate.VulnerabilityID

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ added in v0.5.0

func TypeNEQ(v string) predicate.VulnerabilityID

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn added in v0.5.0

func TypeNotIn(vs ...string) predicate.VulnerabilityID

TypeNotIn applies the NotIn predicate on the "type" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VulnerabilityID

func VulnerabilityID(v string) predicate.VulnerabilityID

VulnerabilityID applies equality check predicate on the "vulnerability_id" field. It's identical to VulnerabilityIDEQ.

func VulnerabilityIDContains

func VulnerabilityIDContains(v string) predicate.VulnerabilityID

VulnerabilityIDContains applies the Contains predicate on the "vulnerability_id" field.

func VulnerabilityIDContainsFold

func VulnerabilityIDContainsFold(v string) predicate.VulnerabilityID

VulnerabilityIDContainsFold applies the ContainsFold predicate on the "vulnerability_id" field.

func VulnerabilityIDEQ

func VulnerabilityIDEQ(v string) predicate.VulnerabilityID

VulnerabilityIDEQ applies the EQ predicate on the "vulnerability_id" field.

func VulnerabilityIDEqualFold

func VulnerabilityIDEqualFold(v string) predicate.VulnerabilityID

VulnerabilityIDEqualFold applies the EqualFold predicate on the "vulnerability_id" field.

func VulnerabilityIDGT

func VulnerabilityIDGT(v string) predicate.VulnerabilityID

VulnerabilityIDGT applies the GT predicate on the "vulnerability_id" field.

func VulnerabilityIDGTE

func VulnerabilityIDGTE(v string) predicate.VulnerabilityID

VulnerabilityIDGTE applies the GTE predicate on the "vulnerability_id" field.

func VulnerabilityIDHasPrefix

func VulnerabilityIDHasPrefix(v string) predicate.VulnerabilityID

VulnerabilityIDHasPrefix applies the HasPrefix predicate on the "vulnerability_id" field.

func VulnerabilityIDHasSuffix

func VulnerabilityIDHasSuffix(v string) predicate.VulnerabilityID

VulnerabilityIDHasSuffix applies the HasSuffix predicate on the "vulnerability_id" field.

func VulnerabilityIDIn

func VulnerabilityIDIn(vs ...string) predicate.VulnerabilityID

VulnerabilityIDIn applies the In predicate on the "vulnerability_id" field.

func VulnerabilityIDLT

func VulnerabilityIDLT(v string) predicate.VulnerabilityID

VulnerabilityIDLT applies the LT predicate on the "vulnerability_id" field.

func VulnerabilityIDLTE

func VulnerabilityIDLTE(v string) predicate.VulnerabilityID

VulnerabilityIDLTE applies the LTE predicate on the "vulnerability_id" field.

func VulnerabilityIDNEQ

func VulnerabilityIDNEQ(v string) predicate.VulnerabilityID

VulnerabilityIDNEQ applies the NEQ predicate on the "vulnerability_id" field.

func VulnerabilityIDNotIn

func VulnerabilityIDNotIn(vs ...string) predicate.VulnerabilityID

VulnerabilityIDNotIn applies the NotIn predicate on the "vulnerability_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the VulnerabilityID queries.

func ByID

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

ByID orders the results by the id field.

func ByType added in v0.5.0

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

ByType orders the results by the type field.

func ByVulnEqualVulnA added in v0.5.0

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

ByVulnEqualVulnA orders the results by vuln_equal_vuln_a terms.

func ByVulnEqualVulnACount added in v0.5.0

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

ByVulnEqualVulnACount orders the results by vuln_equal_vuln_a count.

func ByVulnEqualVulnB added in v0.5.0

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

ByVulnEqualVulnB orders the results by vuln_equal_vuln_b terms.

func ByVulnEqualVulnBCount added in v0.5.0

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

ByVulnEqualVulnBCount orders the results by vuln_equal_vuln_b count.

func ByVulnerabilityID

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

ByVulnerabilityID orders the results by the vulnerability_id field.

func ByVulnerabilityMetadata added in v0.4.0

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

ByVulnerabilityMetadata orders the results by vulnerability_metadata terms.

func ByVulnerabilityMetadataCount added in v0.4.0

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

ByVulnerabilityMetadataCount orders the results by vulnerability_metadata count.

Jump to

Keyboard shortcuts

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