hassourceat

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the hassourceat type in the database.
	Label = "has_source_at"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldPackageVersionID holds the string denoting the package_version_id field in the database.
	FieldPackageVersionID = "package_version_id"
	// FieldPackageNameID holds the string denoting the package_name_id field in the database.
	FieldPackageNameID = "package_name_id"
	// FieldSourceID holds the string denoting the source_id field in the database.
	FieldSourceID = "source_id"
	// FieldKnownSince holds the string denoting the known_since field in the database.
	FieldKnownSince = "known_since"
	// FieldJustification holds the string denoting the justification field in the database.
	FieldJustification = "justification"
	// FieldOrigin holds the string denoting the origin field in the database.
	FieldOrigin = "origin"
	// FieldCollector holds the string denoting the collector field in the database.
	FieldCollector = "collector"
	// FieldDocumentRef holds the string denoting the document_ref field in the database.
	FieldDocumentRef = "document_ref"
	// EdgePackageVersion holds the string denoting the package_version edge name in mutations.
	EdgePackageVersion = "package_version"
	// EdgeAllVersions holds the string denoting the all_versions edge name in mutations.
	EdgeAllVersions = "all_versions"
	// EdgeSource holds the string denoting the source edge name in mutations.
	EdgeSource = "source"
	// Table holds the table name of the hassourceat in the database.
	Table = "has_source_ats"
	// PackageVersionTable is the table that holds the package_version relation/edge.
	PackageVersionTable = "has_source_ats"
	// PackageVersionInverseTable is the table name for the PackageVersion entity.
	// It exists in this package in order to avoid circular dependency with the "packageversion" package.
	PackageVersionInverseTable = "package_versions"
	// PackageVersionColumn is the table column denoting the package_version relation/edge.
	PackageVersionColumn = "package_version_id"
	// AllVersionsTable is the table that holds the all_versions relation/edge.
	AllVersionsTable = "has_source_ats"
	// AllVersionsInverseTable is the table name for the PackageName entity.
	// It exists in this package in order to avoid circular dependency with the "packagename" package.
	AllVersionsInverseTable = "package_names"
	// AllVersionsColumn is the table column denoting the all_versions relation/edge.
	AllVersionsColumn = "package_name_id"
	// SourceTable is the table that holds the source relation/edge.
	SourceTable = "has_source_ats"
	// SourceInverseTable is the table name for the SourceName entity.
	// It exists in this package in order to avoid circular dependency with the "sourcename" package.
	SourceInverseTable = "source_names"
	// SourceColumn is the table column denoting the source relation/edge.
	SourceColumn = "source_id"
)

Variables

Columns holds all SQL columns for hassourceat fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Functions

func And

func And(predicates ...predicate.HasSourceAt) predicate.HasSourceAt

And groups predicates with the AND operator between them.

func Collector

func Collector(v string) predicate.HasSourceAt

Collector applies equality check predicate on the "collector" field. It's identical to CollectorEQ.

func CollectorContains

func CollectorContains(v string) predicate.HasSourceAt

CollectorContains applies the Contains predicate on the "collector" field.

func CollectorContainsFold

func CollectorContainsFold(v string) predicate.HasSourceAt

CollectorContainsFold applies the ContainsFold predicate on the "collector" field.

func CollectorEQ

func CollectorEQ(v string) predicate.HasSourceAt

CollectorEQ applies the EQ predicate on the "collector" field.

func CollectorEqualFold

func CollectorEqualFold(v string) predicate.HasSourceAt

CollectorEqualFold applies the EqualFold predicate on the "collector" field.

func CollectorGT

func CollectorGT(v string) predicate.HasSourceAt

CollectorGT applies the GT predicate on the "collector" field.

func CollectorGTE

func CollectorGTE(v string) predicate.HasSourceAt

CollectorGTE applies the GTE predicate on the "collector" field.

func CollectorHasPrefix

func CollectorHasPrefix(v string) predicate.HasSourceAt

CollectorHasPrefix applies the HasPrefix predicate on the "collector" field.

func CollectorHasSuffix

func CollectorHasSuffix(v string) predicate.HasSourceAt

CollectorHasSuffix applies the HasSuffix predicate on the "collector" field.

func CollectorIn

func CollectorIn(vs ...string) predicate.HasSourceAt

CollectorIn applies the In predicate on the "collector" field.

func CollectorLT

func CollectorLT(v string) predicate.HasSourceAt

CollectorLT applies the LT predicate on the "collector" field.

func CollectorLTE

func CollectorLTE(v string) predicate.HasSourceAt

CollectorLTE applies the LTE predicate on the "collector" field.

func CollectorNEQ

func CollectorNEQ(v string) predicate.HasSourceAt

CollectorNEQ applies the NEQ predicate on the "collector" field.

func CollectorNotIn

func CollectorNotIn(vs ...string) predicate.HasSourceAt

CollectorNotIn applies the NotIn predicate on the "collector" field.

func DocumentRef added in v0.6.0

func DocumentRef(v string) predicate.HasSourceAt

DocumentRef applies equality check predicate on the "document_ref" field. It's identical to DocumentRefEQ.

func DocumentRefContains added in v0.6.0

func DocumentRefContains(v string) predicate.HasSourceAt

DocumentRefContains applies the Contains predicate on the "document_ref" field.

func DocumentRefContainsFold added in v0.6.0

func DocumentRefContainsFold(v string) predicate.HasSourceAt

DocumentRefContainsFold applies the ContainsFold predicate on the "document_ref" field.

func DocumentRefEQ added in v0.6.0

func DocumentRefEQ(v string) predicate.HasSourceAt

DocumentRefEQ applies the EQ predicate on the "document_ref" field.

func DocumentRefEqualFold added in v0.6.0

func DocumentRefEqualFold(v string) predicate.HasSourceAt

DocumentRefEqualFold applies the EqualFold predicate on the "document_ref" field.

func DocumentRefGT added in v0.6.0

func DocumentRefGT(v string) predicate.HasSourceAt

DocumentRefGT applies the GT predicate on the "document_ref" field.

func DocumentRefGTE added in v0.6.0

func DocumentRefGTE(v string) predicate.HasSourceAt

DocumentRefGTE applies the GTE predicate on the "document_ref" field.

func DocumentRefHasPrefix added in v0.6.0

func DocumentRefHasPrefix(v string) predicate.HasSourceAt

DocumentRefHasPrefix applies the HasPrefix predicate on the "document_ref" field.

func DocumentRefHasSuffix added in v0.6.0

func DocumentRefHasSuffix(v string) predicate.HasSourceAt

DocumentRefHasSuffix applies the HasSuffix predicate on the "document_ref" field.

func DocumentRefIn added in v0.6.0

func DocumentRefIn(vs ...string) predicate.HasSourceAt

DocumentRefIn applies the In predicate on the "document_ref" field.

func DocumentRefLT added in v0.6.0

func DocumentRefLT(v string) predicate.HasSourceAt

DocumentRefLT applies the LT predicate on the "document_ref" field.

func DocumentRefLTE added in v0.6.0

func DocumentRefLTE(v string) predicate.HasSourceAt

DocumentRefLTE applies the LTE predicate on the "document_ref" field.

func DocumentRefNEQ added in v0.6.0

func DocumentRefNEQ(v string) predicate.HasSourceAt

DocumentRefNEQ applies the NEQ predicate on the "document_ref" field.

func DocumentRefNotIn added in v0.6.0

func DocumentRefNotIn(vs ...string) predicate.HasSourceAt

DocumentRefNotIn applies the NotIn predicate on the "document_ref" field.

func HasAllVersions

func HasAllVersions() predicate.HasSourceAt

HasAllVersions applies the HasEdge predicate on the "all_versions" edge.

func HasAllVersionsWith

func HasAllVersionsWith(preds ...predicate.PackageName) predicate.HasSourceAt

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

func HasPackageVersion

func HasPackageVersion() predicate.HasSourceAt

HasPackageVersion applies the HasEdge predicate on the "package_version" edge.

func HasPackageVersionWith

func HasPackageVersionWith(preds ...predicate.PackageVersion) predicate.HasSourceAt

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

func HasSource

func HasSource() predicate.HasSourceAt

HasSource applies the HasEdge predicate on the "source" edge.

func HasSourceWith

func HasSourceWith(preds ...predicate.SourceName) predicate.HasSourceAt

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.HasSourceAt

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.HasSourceAt

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.HasSourceAt

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.HasSourceAt

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.HasSourceAt

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.HasSourceAt

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Justification

func Justification(v string) predicate.HasSourceAt

Justification applies equality check predicate on the "justification" field. It's identical to JustificationEQ.

func JustificationContains

func JustificationContains(v string) predicate.HasSourceAt

JustificationContains applies the Contains predicate on the "justification" field.

func JustificationContainsFold

func JustificationContainsFold(v string) predicate.HasSourceAt

JustificationContainsFold applies the ContainsFold predicate on the "justification" field.

func JustificationEQ

func JustificationEQ(v string) predicate.HasSourceAt

JustificationEQ applies the EQ predicate on the "justification" field.

func JustificationEqualFold

func JustificationEqualFold(v string) predicate.HasSourceAt

JustificationEqualFold applies the EqualFold predicate on the "justification" field.

func JustificationGT

func JustificationGT(v string) predicate.HasSourceAt

JustificationGT applies the GT predicate on the "justification" field.

func JustificationGTE

func JustificationGTE(v string) predicate.HasSourceAt

JustificationGTE applies the GTE predicate on the "justification" field.

func JustificationHasPrefix

func JustificationHasPrefix(v string) predicate.HasSourceAt

JustificationHasPrefix applies the HasPrefix predicate on the "justification" field.

func JustificationHasSuffix

func JustificationHasSuffix(v string) predicate.HasSourceAt

JustificationHasSuffix applies the HasSuffix predicate on the "justification" field.

func JustificationIn

func JustificationIn(vs ...string) predicate.HasSourceAt

JustificationIn applies the In predicate on the "justification" field.

func JustificationLT

func JustificationLT(v string) predicate.HasSourceAt

JustificationLT applies the LT predicate on the "justification" field.

func JustificationLTE

func JustificationLTE(v string) predicate.HasSourceAt

JustificationLTE applies the LTE predicate on the "justification" field.

func JustificationNEQ

func JustificationNEQ(v string) predicate.HasSourceAt

JustificationNEQ applies the NEQ predicate on the "justification" field.

func JustificationNotIn

func JustificationNotIn(vs ...string) predicate.HasSourceAt

JustificationNotIn applies the NotIn predicate on the "justification" field.

func KnownSince

func KnownSince(v time.Time) predicate.HasSourceAt

KnownSince applies equality check predicate on the "known_since" field. It's identical to KnownSinceEQ.

func KnownSinceEQ

func KnownSinceEQ(v time.Time) predicate.HasSourceAt

KnownSinceEQ applies the EQ predicate on the "known_since" field.

func KnownSinceGT

func KnownSinceGT(v time.Time) predicate.HasSourceAt

KnownSinceGT applies the GT predicate on the "known_since" field.

func KnownSinceGTE

func KnownSinceGTE(v time.Time) predicate.HasSourceAt

KnownSinceGTE applies the GTE predicate on the "known_since" field.

func KnownSinceIn

func KnownSinceIn(vs ...time.Time) predicate.HasSourceAt

KnownSinceIn applies the In predicate on the "known_since" field.

func KnownSinceLT

func KnownSinceLT(v time.Time) predicate.HasSourceAt

KnownSinceLT applies the LT predicate on the "known_since" field.

func KnownSinceLTE

func KnownSinceLTE(v time.Time) predicate.HasSourceAt

KnownSinceLTE applies the LTE predicate on the "known_since" field.

func KnownSinceNEQ

func KnownSinceNEQ(v time.Time) predicate.HasSourceAt

KnownSinceNEQ applies the NEQ predicate on the "known_since" field.

func KnownSinceNotIn

func KnownSinceNotIn(vs ...time.Time) predicate.HasSourceAt

KnownSinceNotIn applies the NotIn predicate on the "known_since" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.HasSourceAt) predicate.HasSourceAt

Or groups predicates with the OR operator between them.

func Origin

func Origin(v string) predicate.HasSourceAt

Origin applies equality check predicate on the "origin" field. It's identical to OriginEQ.

func OriginContains

func OriginContains(v string) predicate.HasSourceAt

OriginContains applies the Contains predicate on the "origin" field.

func OriginContainsFold

func OriginContainsFold(v string) predicate.HasSourceAt

OriginContainsFold applies the ContainsFold predicate on the "origin" field.

func OriginEQ

func OriginEQ(v string) predicate.HasSourceAt

OriginEQ applies the EQ predicate on the "origin" field.

func OriginEqualFold

func OriginEqualFold(v string) predicate.HasSourceAt

OriginEqualFold applies the EqualFold predicate on the "origin" field.

func OriginGT

func OriginGT(v string) predicate.HasSourceAt

OriginGT applies the GT predicate on the "origin" field.

func OriginGTE

func OriginGTE(v string) predicate.HasSourceAt

OriginGTE applies the GTE predicate on the "origin" field.

func OriginHasPrefix

func OriginHasPrefix(v string) predicate.HasSourceAt

OriginHasPrefix applies the HasPrefix predicate on the "origin" field.

func OriginHasSuffix

func OriginHasSuffix(v string) predicate.HasSourceAt

OriginHasSuffix applies the HasSuffix predicate on the "origin" field.

func OriginIn

func OriginIn(vs ...string) predicate.HasSourceAt

OriginIn applies the In predicate on the "origin" field.

func OriginLT

func OriginLT(v string) predicate.HasSourceAt

OriginLT applies the LT predicate on the "origin" field.

func OriginLTE

func OriginLTE(v string) predicate.HasSourceAt

OriginLTE applies the LTE predicate on the "origin" field.

func OriginNEQ

func OriginNEQ(v string) predicate.HasSourceAt

OriginNEQ applies the NEQ predicate on the "origin" field.

func OriginNotIn

func OriginNotIn(vs ...string) predicate.HasSourceAt

OriginNotIn applies the NotIn predicate on the "origin" field.

func PackageNameID

func PackageNameID(v uuid.UUID) predicate.HasSourceAt

PackageNameID applies equality check predicate on the "package_name_id" field. It's identical to PackageNameIDEQ.

func PackageNameIDEQ

func PackageNameIDEQ(v uuid.UUID) predicate.HasSourceAt

PackageNameIDEQ applies the EQ predicate on the "package_name_id" field.

func PackageNameIDIn

func PackageNameIDIn(vs ...uuid.UUID) predicate.HasSourceAt

PackageNameIDIn applies the In predicate on the "package_name_id" field.

func PackageNameIDIsNil

func PackageNameIDIsNil() predicate.HasSourceAt

PackageNameIDIsNil applies the IsNil predicate on the "package_name_id" field.

func PackageNameIDNEQ

func PackageNameIDNEQ(v uuid.UUID) predicate.HasSourceAt

PackageNameIDNEQ applies the NEQ predicate on the "package_name_id" field.

func PackageNameIDNotIn

func PackageNameIDNotIn(vs ...uuid.UUID) predicate.HasSourceAt

PackageNameIDNotIn applies the NotIn predicate on the "package_name_id" field.

func PackageNameIDNotNil

func PackageNameIDNotNil() predicate.HasSourceAt

PackageNameIDNotNil applies the NotNil predicate on the "package_name_id" field.

func PackageVersionID

func PackageVersionID(v uuid.UUID) predicate.HasSourceAt

PackageVersionID applies equality check predicate on the "package_version_id" field. It's identical to PackageVersionIDEQ.

func PackageVersionIDEQ

func PackageVersionIDEQ(v uuid.UUID) predicate.HasSourceAt

PackageVersionIDEQ applies the EQ predicate on the "package_version_id" field.

func PackageVersionIDIn

func PackageVersionIDIn(vs ...uuid.UUID) predicate.HasSourceAt

PackageVersionIDIn applies the In predicate on the "package_version_id" field.

func PackageVersionIDIsNil

func PackageVersionIDIsNil() predicate.HasSourceAt

PackageVersionIDIsNil applies the IsNil predicate on the "package_version_id" field.

func PackageVersionIDNEQ

func PackageVersionIDNEQ(v uuid.UUID) predicate.HasSourceAt

PackageVersionIDNEQ applies the NEQ predicate on the "package_version_id" field.

func PackageVersionIDNotIn

func PackageVersionIDNotIn(vs ...uuid.UUID) predicate.HasSourceAt

PackageVersionIDNotIn applies the NotIn predicate on the "package_version_id" field.

func PackageVersionIDNotNil

func PackageVersionIDNotNil() predicate.HasSourceAt

PackageVersionIDNotNil applies the NotNil predicate on the "package_version_id" field.

func SourceID

func SourceID(v uuid.UUID) predicate.HasSourceAt

SourceID applies equality check predicate on the "source_id" field. It's identical to SourceIDEQ.

func SourceIDEQ

func SourceIDEQ(v uuid.UUID) predicate.HasSourceAt

SourceIDEQ applies the EQ predicate on the "source_id" field.

func SourceIDIn

func SourceIDIn(vs ...uuid.UUID) predicate.HasSourceAt

SourceIDIn applies the In predicate on the "source_id" field.

func SourceIDNEQ

func SourceIDNEQ(v uuid.UUID) predicate.HasSourceAt

SourceIDNEQ applies the NEQ predicate on the "source_id" field.

func SourceIDNotIn

func SourceIDNotIn(vs ...uuid.UUID) predicate.HasSourceAt

SourceIDNotIn applies the NotIn predicate on the "source_id" 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 HasSourceAt queries.

func ByAllVersionsField

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

ByAllVersionsField orders the results by all_versions field.

func ByCollector

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

ByCollector orders the results by the collector field.

func ByDocumentRef added in v0.6.0

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

ByDocumentRef orders the results by the document_ref field.

func ByID

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

ByID orders the results by the id field.

func ByJustification

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

ByJustification orders the results by the justification field.

func ByKnownSince

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

ByKnownSince orders the results by the known_since field.

func ByOrigin

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

ByOrigin orders the results by the origin field.

func ByPackageNameID

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

ByPackageNameID orders the results by the package_name_id field.

func ByPackageVersionField

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

ByPackageVersionField orders the results by package_version field.

func ByPackageVersionID

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

ByPackageVersionID orders the results by the package_version_id field.

func BySourceField

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

BySourceField orders the results by source field.

func BySourceID

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

BySourceID orders the results by the source_id field.

Jump to

Keyboard shortcuts

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