vulnstatusindex

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the vulnstatusindex type in the database.
	Label = "vuln_status_index"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// EdgeStatus holds the string denoting the status edge name in mutations.
	EdgeStatus = "status"
	// Table holds the table name of the vulnstatusindex in the database.
	Table = "vuln_status_indexes"
	// StatusTable is the table that holds the status relation/edge.
	StatusTable = "vuln_status"
	// StatusInverseTable is the table name for the VulnStatus entity.
	// It exists in this package in order to avoid circular dependency with the "vulnstatus" package.
	StatusInverseTable = "vuln_status"
	// StatusColumn is the table column denoting the status relation/edge.
	StatusColumn = "vuln_status_index_status"
)

Variables

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

Columns holds all SQL columns for vulnstatusindex fields.

View Source
var ForeignKeys = []string{
	"repository_status",
}

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

View Source
var (
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Functions

func And

And groups predicates with the AND operator between them.

func HasStatus

func HasStatus() predicate.VulnStatusIndex

HasStatus applies the HasEdge predicate on the "status" edge.

func HasStatusWith

func HasStatusWith(preds ...predicate.VulnStatus) predicate.VulnStatusIndex

HasStatusWith applies the HasEdge predicate on the "status" 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 ...string) predicate.VulnStatusIndex

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 ...string) predicate.VulnStatusIndex

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