releasevulnerability

package
v0.0.0-...-aca7f8d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the releasevulnerability type in the database.
	Label = "release_vulnerability"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// EdgeVulnerability holds the string denoting the vulnerability edge name in mutations.
	EdgeVulnerability = "vulnerability"
	// EdgeComponent holds the string denoting the component edge name in mutations.
	EdgeComponent = "component"
	// EdgeRelease holds the string denoting the release edge name in mutations.
	EdgeRelease = "release"
	// EdgeReviews holds the string denoting the reviews edge name in mutations.
	EdgeReviews = "reviews"
	// EdgeScan holds the string denoting the scan edge name in mutations.
	EdgeScan = "scan"
	// Table holds the table name of the releasevulnerability in the database.
	Table = "release_vulnerability"
	// VulnerabilityTable is the table that holds the vulnerability relation/edge.
	VulnerabilityTable = "release_vulnerability"
	// VulnerabilityInverseTable is the table name for the Vulnerability entity.
	// It exists in this package in order to avoid circular dependency with the "vulnerability" package.
	VulnerabilityInverseTable = "vulnerability"
	// VulnerabilityColumn is the table column denoting the vulnerability relation/edge.
	VulnerabilityColumn = "release_vulnerability_vulnerability"
	// ComponentTable is the table that holds the component relation/edge.
	ComponentTable = "release_vulnerability"
	// ComponentInverseTable is the table name for the ReleaseComponent entity.
	// It exists in this package in order to avoid circular dependency with the "releasecomponent" package.
	ComponentInverseTable = "release_component"
	// ComponentColumn is the table column denoting the component relation/edge.
	ComponentColumn = "release_vulnerability_component"
	// ReleaseTable is the table that holds the release relation/edge.
	ReleaseTable = "release_vulnerability"
	// ReleaseInverseTable is the table name for the Release entity.
	// It exists in this package in order to avoid circular dependency with the "release" package.
	ReleaseInverseTable = "release"
	// ReleaseColumn is the table column denoting the release relation/edge.
	ReleaseColumn = "release_vulnerability_release"
	// ReviewsTable is the table that holds the reviews relation/edge. The primary key declared below.
	ReviewsTable = "release_vulnerability_reviews"
	// 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"
	// ScanTable is the table that holds the scan relation/edge.
	ScanTable = "release_vulnerability"
	// ScanInverseTable is the table name for the CodeScan entity.
	// It exists in this package in order to avoid circular dependency with the "codescan" package.
	ScanInverseTable = "code_scan"
	// ScanColumn is the table column denoting the scan relation/edge.
	ScanColumn = "release_vulnerability_scan"
)

Variables

View Source
var Columns = []string{
	FieldID,
}

Columns holds all SQL columns for releasevulnerability fields.

View Source
var ForeignKeys = []string{
	"release_vulnerability_vulnerability",
	"release_vulnerability_component",
	"release_vulnerability_release",
	"release_vulnerability_scan",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "release_vulnerability" table and are not defined as standalone fields in the schema.

View Source
var (
	// ReviewsPrimaryKey and ReviewsColumn2 are the table columns denoting the
	// primary key for the reviews relation (M2M).
	ReviewsPrimaryKey = []string{"release_vulnerability_id", "vulnerability_review_id"}
)

Functions

func And

And groups predicates with the AND operator between them.

func HasComponent

func HasComponent() predicate.ReleaseVulnerability

HasComponent applies the HasEdge predicate on the "component" edge.

func HasComponentWith

func HasComponentWith(preds ...predicate.ReleaseComponent) predicate.ReleaseVulnerability

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

func HasRelease

func HasRelease() predicate.ReleaseVulnerability

HasRelease applies the HasEdge predicate on the "release" edge.

func HasReleaseWith

func HasReleaseWith(preds ...predicate.Release) predicate.ReleaseVulnerability

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

func HasReviews

func HasReviews() predicate.ReleaseVulnerability

HasReviews applies the HasEdge predicate on the "reviews" edge.

func HasReviewsWith

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

func HasScan

HasScan applies the HasEdge predicate on the "scan" edge.

func HasScanWith

func HasScanWith(preds ...predicate.CodeScan) predicate.ReleaseVulnerability

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

func HasVulnerability

func HasVulnerability() predicate.ReleaseVulnerability

HasVulnerability applies the HasEdge predicate on the "vulnerability" edge.

func HasVulnerabilityWith

func HasVulnerabilityWith(preds ...predicate.Vulnerability) predicate.ReleaseVulnerability

HasVulnerabilityWith applies the HasEdge predicate on the "vulnerability" 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 ...int) predicate.ReleaseVulnerability

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 ...int) predicate.ReleaseVulnerability

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 ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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