reportdependency

package
v1.12.21 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the reportdependency type in the database.
	Label = "report_dependency"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldDependencyPackageID holds the string denoting the dependency_package_id field in the database.
	FieldDependencyPackageID = "dependency_package_id"
	// FieldDependencyName holds the string denoting the dependency_name field in the database.
	FieldDependencyName = "dependency_name"
	// FieldDependencyVersion holds the string denoting the dependency_version field in the database.
	FieldDependencyVersion = "dependency_version"
	// FieldDependencyEcosystem holds the string denoting the dependency_ecosystem field in the database.
	FieldDependencyEcosystem = "dependency_ecosystem"
	// FieldDependencyType holds the string denoting the dependency_type field in the database.
	FieldDependencyType = "dependency_type"
	// FieldDepth holds the string denoting the depth field in the database.
	FieldDepth = "depth"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// EdgePackage holds the string denoting the package edge name in mutations.
	EdgePackage = "package"
	// Table holds the table name of the reportdependency in the database.
	Table = "report_dependencies"
	// PackageTable is the table that holds the package relation/edge.
	PackageTable = "report_dependencies"
	// PackageInverseTable is the table name for the ReportPackage entity.
	// It exists in this package in order to avoid circular dependency with the "reportpackage" package.
	PackageInverseTable = "report_packages"
	// PackageColumn is the table column denoting the package relation/edge.
	PackageColumn = "report_package_dependencies"
)

Variables

View Source
var (
	// DependencyPackageIDValidator is a validator for the "dependency_package_id" field. It is called by the builders before save.
	DependencyPackageIDValidator func(string) error
	// DependencyNameValidator is a validator for the "dependency_name" field. It is called by the builders before save.
	DependencyNameValidator func(string) error
	// DependencyVersionValidator is a validator for the "dependency_version" field. It is called by the builders before save.
	DependencyVersionValidator func(string) error
	// DependencyEcosystemValidator is a validator for the "dependency_ecosystem" field. It is called by the builders before save.
	DependencyEcosystemValidator func(string) error
	// DefaultDepth holds the default value on creation for the "depth" field.
	DefaultDepth int
)

Columns holds all SQL columns for reportdependency fields.

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

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

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.ReportDependency

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ReportDependency

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ReportDependency

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ReportDependency

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.ReportDependency

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.ReportDependency

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ReportDependency

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ReportDependency

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ReportDependency

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.ReportDependency

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.ReportDependency

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func DependencyEcosystem

func DependencyEcosystem(v string) predicate.ReportDependency

DependencyEcosystem applies equality check predicate on the "dependency_ecosystem" field. It's identical to DependencyEcosystemEQ.

func DependencyEcosystemContains

func DependencyEcosystemContains(v string) predicate.ReportDependency

DependencyEcosystemContains applies the Contains predicate on the "dependency_ecosystem" field.

func DependencyEcosystemContainsFold

func DependencyEcosystemContainsFold(v string) predicate.ReportDependency

DependencyEcosystemContainsFold applies the ContainsFold predicate on the "dependency_ecosystem" field.

func DependencyEcosystemEQ

func DependencyEcosystemEQ(v string) predicate.ReportDependency

DependencyEcosystemEQ applies the EQ predicate on the "dependency_ecosystem" field.

func DependencyEcosystemEqualFold

func DependencyEcosystemEqualFold(v string) predicate.ReportDependency

DependencyEcosystemEqualFold applies the EqualFold predicate on the "dependency_ecosystem" field.

func DependencyEcosystemGT

func DependencyEcosystemGT(v string) predicate.ReportDependency

DependencyEcosystemGT applies the GT predicate on the "dependency_ecosystem" field.

func DependencyEcosystemGTE

func DependencyEcosystemGTE(v string) predicate.ReportDependency

DependencyEcosystemGTE applies the GTE predicate on the "dependency_ecosystem" field.

func DependencyEcosystemHasPrefix

func DependencyEcosystemHasPrefix(v string) predicate.ReportDependency

DependencyEcosystemHasPrefix applies the HasPrefix predicate on the "dependency_ecosystem" field.

func DependencyEcosystemHasSuffix

func DependencyEcosystemHasSuffix(v string) predicate.ReportDependency

DependencyEcosystemHasSuffix applies the HasSuffix predicate on the "dependency_ecosystem" field.

func DependencyEcosystemIn

func DependencyEcosystemIn(vs ...string) predicate.ReportDependency

DependencyEcosystemIn applies the In predicate on the "dependency_ecosystem" field.

func DependencyEcosystemLT

func DependencyEcosystemLT(v string) predicate.ReportDependency

DependencyEcosystemLT applies the LT predicate on the "dependency_ecosystem" field.

func DependencyEcosystemLTE

func DependencyEcosystemLTE(v string) predicate.ReportDependency

DependencyEcosystemLTE applies the LTE predicate on the "dependency_ecosystem" field.

func DependencyEcosystemNEQ

func DependencyEcosystemNEQ(v string) predicate.ReportDependency

DependencyEcosystemNEQ applies the NEQ predicate on the "dependency_ecosystem" field.

func DependencyEcosystemNotIn

func DependencyEcosystemNotIn(vs ...string) predicate.ReportDependency

DependencyEcosystemNotIn applies the NotIn predicate on the "dependency_ecosystem" field.

func DependencyName

func DependencyName(v string) predicate.ReportDependency

DependencyName applies equality check predicate on the "dependency_name" field. It's identical to DependencyNameEQ.

func DependencyNameContains

func DependencyNameContains(v string) predicate.ReportDependency

DependencyNameContains applies the Contains predicate on the "dependency_name" field.

func DependencyNameContainsFold

func DependencyNameContainsFold(v string) predicate.ReportDependency

DependencyNameContainsFold applies the ContainsFold predicate on the "dependency_name" field.

func DependencyNameEQ

func DependencyNameEQ(v string) predicate.ReportDependency

DependencyNameEQ applies the EQ predicate on the "dependency_name" field.

func DependencyNameEqualFold

func DependencyNameEqualFold(v string) predicate.ReportDependency

DependencyNameEqualFold applies the EqualFold predicate on the "dependency_name" field.

func DependencyNameGT

func DependencyNameGT(v string) predicate.ReportDependency

DependencyNameGT applies the GT predicate on the "dependency_name" field.

func DependencyNameGTE

func DependencyNameGTE(v string) predicate.ReportDependency

DependencyNameGTE applies the GTE predicate on the "dependency_name" field.

func DependencyNameHasPrefix

func DependencyNameHasPrefix(v string) predicate.ReportDependency

DependencyNameHasPrefix applies the HasPrefix predicate on the "dependency_name" field.

func DependencyNameHasSuffix

func DependencyNameHasSuffix(v string) predicate.ReportDependency

DependencyNameHasSuffix applies the HasSuffix predicate on the "dependency_name" field.

func DependencyNameIn

func DependencyNameIn(vs ...string) predicate.ReportDependency

DependencyNameIn applies the In predicate on the "dependency_name" field.

func DependencyNameLT

func DependencyNameLT(v string) predicate.ReportDependency

DependencyNameLT applies the LT predicate on the "dependency_name" field.

func DependencyNameLTE

func DependencyNameLTE(v string) predicate.ReportDependency

DependencyNameLTE applies the LTE predicate on the "dependency_name" field.

func DependencyNameNEQ

func DependencyNameNEQ(v string) predicate.ReportDependency

DependencyNameNEQ applies the NEQ predicate on the "dependency_name" field.

func DependencyNameNotIn

func DependencyNameNotIn(vs ...string) predicate.ReportDependency

DependencyNameNotIn applies the NotIn predicate on the "dependency_name" field.

func DependencyPackageID

func DependencyPackageID(v string) predicate.ReportDependency

DependencyPackageID applies equality check predicate on the "dependency_package_id" field. It's identical to DependencyPackageIDEQ.

func DependencyPackageIDContains

func DependencyPackageIDContains(v string) predicate.ReportDependency

DependencyPackageIDContains applies the Contains predicate on the "dependency_package_id" field.

func DependencyPackageIDContainsFold

func DependencyPackageIDContainsFold(v string) predicate.ReportDependency

DependencyPackageIDContainsFold applies the ContainsFold predicate on the "dependency_package_id" field.

func DependencyPackageIDEQ

func DependencyPackageIDEQ(v string) predicate.ReportDependency

DependencyPackageIDEQ applies the EQ predicate on the "dependency_package_id" field.

func DependencyPackageIDEqualFold

func DependencyPackageIDEqualFold(v string) predicate.ReportDependency

DependencyPackageIDEqualFold applies the EqualFold predicate on the "dependency_package_id" field.

func DependencyPackageIDGT

func DependencyPackageIDGT(v string) predicate.ReportDependency

DependencyPackageIDGT applies the GT predicate on the "dependency_package_id" field.

func DependencyPackageIDGTE

func DependencyPackageIDGTE(v string) predicate.ReportDependency

DependencyPackageIDGTE applies the GTE predicate on the "dependency_package_id" field.

func DependencyPackageIDHasPrefix

func DependencyPackageIDHasPrefix(v string) predicate.ReportDependency

DependencyPackageIDHasPrefix applies the HasPrefix predicate on the "dependency_package_id" field.

func DependencyPackageIDHasSuffix

func DependencyPackageIDHasSuffix(v string) predicate.ReportDependency

DependencyPackageIDHasSuffix applies the HasSuffix predicate on the "dependency_package_id" field.

func DependencyPackageIDIn

func DependencyPackageIDIn(vs ...string) predicate.ReportDependency

DependencyPackageIDIn applies the In predicate on the "dependency_package_id" field.

func DependencyPackageIDLT

func DependencyPackageIDLT(v string) predicate.ReportDependency

DependencyPackageIDLT applies the LT predicate on the "dependency_package_id" field.

func DependencyPackageIDLTE

func DependencyPackageIDLTE(v string) predicate.ReportDependency

DependencyPackageIDLTE applies the LTE predicate on the "dependency_package_id" field.

func DependencyPackageIDNEQ

func DependencyPackageIDNEQ(v string) predicate.ReportDependency

DependencyPackageIDNEQ applies the NEQ predicate on the "dependency_package_id" field.

func DependencyPackageIDNotIn

func DependencyPackageIDNotIn(vs ...string) predicate.ReportDependency

DependencyPackageIDNotIn applies the NotIn predicate on the "dependency_package_id" field.

func DependencyType

func DependencyType(v string) predicate.ReportDependency

DependencyType applies equality check predicate on the "dependency_type" field. It's identical to DependencyTypeEQ.

func DependencyTypeContains

func DependencyTypeContains(v string) predicate.ReportDependency

DependencyTypeContains applies the Contains predicate on the "dependency_type" field.

func DependencyTypeContainsFold

func DependencyTypeContainsFold(v string) predicate.ReportDependency

DependencyTypeContainsFold applies the ContainsFold predicate on the "dependency_type" field.

func DependencyTypeEQ

func DependencyTypeEQ(v string) predicate.ReportDependency

DependencyTypeEQ applies the EQ predicate on the "dependency_type" field.

func DependencyTypeEqualFold

func DependencyTypeEqualFold(v string) predicate.ReportDependency

DependencyTypeEqualFold applies the EqualFold predicate on the "dependency_type" field.

func DependencyTypeGT

func DependencyTypeGT(v string) predicate.ReportDependency

DependencyTypeGT applies the GT predicate on the "dependency_type" field.

func DependencyTypeGTE

func DependencyTypeGTE(v string) predicate.ReportDependency

DependencyTypeGTE applies the GTE predicate on the "dependency_type" field.

func DependencyTypeHasPrefix

func DependencyTypeHasPrefix(v string) predicate.ReportDependency

DependencyTypeHasPrefix applies the HasPrefix predicate on the "dependency_type" field.

func DependencyTypeHasSuffix

func DependencyTypeHasSuffix(v string) predicate.ReportDependency

DependencyTypeHasSuffix applies the HasSuffix predicate on the "dependency_type" field.

func DependencyTypeIn

func DependencyTypeIn(vs ...string) predicate.ReportDependency

DependencyTypeIn applies the In predicate on the "dependency_type" field.

func DependencyTypeIsNil

func DependencyTypeIsNil() predicate.ReportDependency

DependencyTypeIsNil applies the IsNil predicate on the "dependency_type" field.

func DependencyTypeLT

func DependencyTypeLT(v string) predicate.ReportDependency

DependencyTypeLT applies the LT predicate on the "dependency_type" field.

func DependencyTypeLTE

func DependencyTypeLTE(v string) predicate.ReportDependency

DependencyTypeLTE applies the LTE predicate on the "dependency_type" field.

func DependencyTypeNEQ

func DependencyTypeNEQ(v string) predicate.ReportDependency

DependencyTypeNEQ applies the NEQ predicate on the "dependency_type" field.

func DependencyTypeNotIn

func DependencyTypeNotIn(vs ...string) predicate.ReportDependency

DependencyTypeNotIn applies the NotIn predicate on the "dependency_type" field.

func DependencyTypeNotNil

func DependencyTypeNotNil() predicate.ReportDependency

DependencyTypeNotNil applies the NotNil predicate on the "dependency_type" field.

func DependencyVersion

func DependencyVersion(v string) predicate.ReportDependency

DependencyVersion applies equality check predicate on the "dependency_version" field. It's identical to DependencyVersionEQ.

func DependencyVersionContains

func DependencyVersionContains(v string) predicate.ReportDependency

DependencyVersionContains applies the Contains predicate on the "dependency_version" field.

func DependencyVersionContainsFold

func DependencyVersionContainsFold(v string) predicate.ReportDependency

DependencyVersionContainsFold applies the ContainsFold predicate on the "dependency_version" field.

func DependencyVersionEQ

func DependencyVersionEQ(v string) predicate.ReportDependency

DependencyVersionEQ applies the EQ predicate on the "dependency_version" field.

func DependencyVersionEqualFold

func DependencyVersionEqualFold(v string) predicate.ReportDependency

DependencyVersionEqualFold applies the EqualFold predicate on the "dependency_version" field.

func DependencyVersionGT

func DependencyVersionGT(v string) predicate.ReportDependency

DependencyVersionGT applies the GT predicate on the "dependency_version" field.

func DependencyVersionGTE

func DependencyVersionGTE(v string) predicate.ReportDependency

DependencyVersionGTE applies the GTE predicate on the "dependency_version" field.

func DependencyVersionHasPrefix

func DependencyVersionHasPrefix(v string) predicate.ReportDependency

DependencyVersionHasPrefix applies the HasPrefix predicate on the "dependency_version" field.

func DependencyVersionHasSuffix

func DependencyVersionHasSuffix(v string) predicate.ReportDependency

DependencyVersionHasSuffix applies the HasSuffix predicate on the "dependency_version" field.

func DependencyVersionIn

func DependencyVersionIn(vs ...string) predicate.ReportDependency

DependencyVersionIn applies the In predicate on the "dependency_version" field.

func DependencyVersionLT

func DependencyVersionLT(v string) predicate.ReportDependency

DependencyVersionLT applies the LT predicate on the "dependency_version" field.

func DependencyVersionLTE

func DependencyVersionLTE(v string) predicate.ReportDependency

DependencyVersionLTE applies the LTE predicate on the "dependency_version" field.

func DependencyVersionNEQ

func DependencyVersionNEQ(v string) predicate.ReportDependency

DependencyVersionNEQ applies the NEQ predicate on the "dependency_version" field.

func DependencyVersionNotIn

func DependencyVersionNotIn(vs ...string) predicate.ReportDependency

DependencyVersionNotIn applies the NotIn predicate on the "dependency_version" field.

func Depth

Depth applies equality check predicate on the "depth" field. It's identical to DepthEQ.

func DepthEQ

func DepthEQ(v int) predicate.ReportDependency

DepthEQ applies the EQ predicate on the "depth" field.

func DepthGT

func DepthGT(v int) predicate.ReportDependency

DepthGT applies the GT predicate on the "depth" field.

func DepthGTE

func DepthGTE(v int) predicate.ReportDependency

DepthGTE applies the GTE predicate on the "depth" field.

func DepthIn

func DepthIn(vs ...int) predicate.ReportDependency

DepthIn applies the In predicate on the "depth" field.

func DepthLT

func DepthLT(v int) predicate.ReportDependency

DepthLT applies the LT predicate on the "depth" field.

func DepthLTE

func DepthLTE(v int) predicate.ReportDependency

DepthLTE applies the LTE predicate on the "depth" field.

func DepthNEQ

func DepthNEQ(v int) predicate.ReportDependency

DepthNEQ applies the NEQ predicate on the "depth" field.

func DepthNotIn

func DepthNotIn(vs ...int) predicate.ReportDependency

DepthNotIn applies the NotIn predicate on the "depth" field.

func HasPackage

func HasPackage() predicate.ReportDependency

HasPackage applies the HasEdge predicate on the "package" edge.

func HasPackageWith

func HasPackageWith(preds ...predicate.ReportPackage) predicate.ReportDependency

HasPackageWith applies the HasEdge predicate on the "package" 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

func IDGTE(id int) predicate.ReportDependency

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.ReportDependency

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ReportDependency

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ReportDependency

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.ReportDependency

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 UpdatedAt

func UpdatedAt(v time.Time) predicate.ReportDependency

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ReportDependency

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ReportDependency

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ReportDependency

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.ReportDependency

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ReportDependency

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ReportDependency

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ReportDependency

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ReportDependency

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.ReportDependency

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ReportDependency

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ReportDependency queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDependencyEcosystem

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

ByDependencyEcosystem orders the results by the dependency_ecosystem field.

func ByDependencyName

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

ByDependencyName orders the results by the dependency_name field.

func ByDependencyPackageID

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

ByDependencyPackageID orders the results by the dependency_package_id field.

func ByDependencyType

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

ByDependencyType orders the results by the dependency_type field.

func ByDependencyVersion

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

ByDependencyVersion orders the results by the dependency_version field.

func ByDepth

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

ByDepth orders the results by the depth field.

func ByID

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

ByID orders the results by the id field.

func ByPackageField

func ByPackageField(field string, opts ...sql.OrderTermOption) OrderOption

ByPackageField orders the results by package field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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