pointofcontact

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the pointofcontact type in the database.
	Label = "point_of_contact"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSourceID holds the string denoting the source_id field in the database.
	FieldSourceID = "source_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"
	// FieldArtifactID holds the string denoting the artifact_id field in the database.
	FieldArtifactID = "artifact_id"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldInfo holds the string denoting the info field in the database.
	FieldInfo = "info"
	// FieldSince holds the string denoting the since field in the database.
	FieldSince = "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"
	// EdgeSource holds the string denoting the source edge name in mutations.
	EdgeSource = "source"
	// 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"
	// EdgeArtifact holds the string denoting the artifact edge name in mutations.
	EdgeArtifact = "artifact"
	// Table holds the table name of the pointofcontact in the database.
	Table = "point_of_contacts"
	// SourceTable is the table that holds the source relation/edge.
	SourceTable = "point_of_contacts"
	// 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"
	// PackageVersionTable is the table that holds the package_version relation/edge.
	PackageVersionTable = "point_of_contacts"
	// 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 = "point_of_contacts"
	// 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"
	// ArtifactTable is the table that holds the artifact relation/edge.
	ArtifactTable = "point_of_contacts"
	// ArtifactInverseTable is the table name for the Artifact entity.
	// It exists in this package in order to avoid circular dependency with the "artifact" package.
	ArtifactInverseTable = "artifacts"
	// ArtifactColumn is the table column denoting the artifact relation/edge.
	ArtifactColumn = "artifact_id"
)

Variables

Columns holds all SQL columns for pointofcontact fields.

Functions

func And

And groups predicates with the AND operator between them.

func ArtifactID

func ArtifactID(v int) predicate.PointOfContact

ArtifactID applies equality check predicate on the "artifact_id" field. It's identical to ArtifactIDEQ.

func ArtifactIDEQ

func ArtifactIDEQ(v int) predicate.PointOfContact

ArtifactIDEQ applies the EQ predicate on the "artifact_id" field.

func ArtifactIDIn

func ArtifactIDIn(vs ...int) predicate.PointOfContact

ArtifactIDIn applies the In predicate on the "artifact_id" field.

func ArtifactIDIsNil

func ArtifactIDIsNil() predicate.PointOfContact

ArtifactIDIsNil applies the IsNil predicate on the "artifact_id" field.

func ArtifactIDNEQ

func ArtifactIDNEQ(v int) predicate.PointOfContact

ArtifactIDNEQ applies the NEQ predicate on the "artifact_id" field.

func ArtifactIDNotIn

func ArtifactIDNotIn(vs ...int) predicate.PointOfContact

ArtifactIDNotIn applies the NotIn predicate on the "artifact_id" field.

func ArtifactIDNotNil

func ArtifactIDNotNil() predicate.PointOfContact

ArtifactIDNotNil applies the NotNil predicate on the "artifact_id" field.

func Collector

func Collector(v string) predicate.PointOfContact

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

func CollectorContains

func CollectorContains(v string) predicate.PointOfContact

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

func CollectorContainsFold

func CollectorContainsFold(v string) predicate.PointOfContact

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

func CollectorEQ

func CollectorEQ(v string) predicate.PointOfContact

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

func CollectorEqualFold

func CollectorEqualFold(v string) predicate.PointOfContact

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

func CollectorGT

func CollectorGT(v string) predicate.PointOfContact

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

func CollectorGTE

func CollectorGTE(v string) predicate.PointOfContact

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

func CollectorHasPrefix

func CollectorHasPrefix(v string) predicate.PointOfContact

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

func CollectorHasSuffix

func CollectorHasSuffix(v string) predicate.PointOfContact

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

func CollectorIn

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

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

func CollectorLT

func CollectorLT(v string) predicate.PointOfContact

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

func CollectorLTE

func CollectorLTE(v string) predicate.PointOfContact

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

func CollectorNEQ

func CollectorNEQ(v string) predicate.PointOfContact

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

func CollectorNotIn

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

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

func Email

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.PointOfContact

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.PointOfContact

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.PointOfContact

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.PointOfContact

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.PointOfContact

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.PointOfContact

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.PointOfContact

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.PointOfContact

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.PointOfContact

EmailIn applies the In predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.PointOfContact

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.PointOfContact

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.PointOfContact

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.PointOfContact

EmailNotIn applies the NotIn predicate on the "email" field.

func HasAllVersions

func HasAllVersions() predicate.PointOfContact

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

func HasAllVersionsWith

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

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

func HasArtifact

func HasArtifact() predicate.PointOfContact

HasArtifact applies the HasEdge predicate on the "artifact" edge.

func HasArtifactWith

func HasArtifactWith(preds ...predicate.Artifact) predicate.PointOfContact

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

func HasPackageVersion

func HasPackageVersion() predicate.PointOfContact

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

func HasPackageVersionWith

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

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

func HasSource

func HasSource() predicate.PointOfContact

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

func HasSourceWith

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

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

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.PointOfContact

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.PointOfContact

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.PointOfContact

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.PointOfContact

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.PointOfContact

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Info

Info applies equality check predicate on the "info" field. It's identical to InfoEQ.

func InfoContains

func InfoContains(v string) predicate.PointOfContact

InfoContains applies the Contains predicate on the "info" field.

func InfoContainsFold

func InfoContainsFold(v string) predicate.PointOfContact

InfoContainsFold applies the ContainsFold predicate on the "info" field.

func InfoEQ

InfoEQ applies the EQ predicate on the "info" field.

func InfoEqualFold

func InfoEqualFold(v string) predicate.PointOfContact

InfoEqualFold applies the EqualFold predicate on the "info" field.

func InfoGT

InfoGT applies the GT predicate on the "info" field.

func InfoGTE

func InfoGTE(v string) predicate.PointOfContact

InfoGTE applies the GTE predicate on the "info" field.

func InfoHasPrefix

func InfoHasPrefix(v string) predicate.PointOfContact

InfoHasPrefix applies the HasPrefix predicate on the "info" field.

func InfoHasSuffix

func InfoHasSuffix(v string) predicate.PointOfContact

InfoHasSuffix applies the HasSuffix predicate on the "info" field.

func InfoIn

func InfoIn(vs ...string) predicate.PointOfContact

InfoIn applies the In predicate on the "info" field.

func InfoLT

InfoLT applies the LT predicate on the "info" field.

func InfoLTE

func InfoLTE(v string) predicate.PointOfContact

InfoLTE applies the LTE predicate on the "info" field.

func InfoNEQ

func InfoNEQ(v string) predicate.PointOfContact

InfoNEQ applies the NEQ predicate on the "info" field.

func InfoNotIn

func InfoNotIn(vs ...string) predicate.PointOfContact

InfoNotIn applies the NotIn predicate on the "info" field.

func Justification

func Justification(v string) predicate.PointOfContact

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

func JustificationContains

func JustificationContains(v string) predicate.PointOfContact

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

func JustificationContainsFold

func JustificationContainsFold(v string) predicate.PointOfContact

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

func JustificationEQ

func JustificationEQ(v string) predicate.PointOfContact

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

func JustificationEqualFold

func JustificationEqualFold(v string) predicate.PointOfContact

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

func JustificationGT

func JustificationGT(v string) predicate.PointOfContact

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

func JustificationGTE

func JustificationGTE(v string) predicate.PointOfContact

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

func JustificationHasPrefix

func JustificationHasPrefix(v string) predicate.PointOfContact

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

func JustificationHasSuffix

func JustificationHasSuffix(v string) predicate.PointOfContact

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

func JustificationIn

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

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

func JustificationLT

func JustificationLT(v string) predicate.PointOfContact

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

func JustificationLTE

func JustificationLTE(v string) predicate.PointOfContact

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

func JustificationNEQ

func JustificationNEQ(v string) predicate.PointOfContact

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

func JustificationNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Origin

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

func OriginContains

func OriginContains(v string) predicate.PointOfContact

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

func OriginContainsFold

func OriginContainsFold(v string) predicate.PointOfContact

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

func OriginEQ

func OriginEQ(v string) predicate.PointOfContact

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

func OriginEqualFold

func OriginEqualFold(v string) predicate.PointOfContact

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

func OriginGT

func OriginGT(v string) predicate.PointOfContact

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

func OriginGTE

func OriginGTE(v string) predicate.PointOfContact

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

func OriginHasPrefix

func OriginHasPrefix(v string) predicate.PointOfContact

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

func OriginHasSuffix

func OriginHasSuffix(v string) predicate.PointOfContact

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

func OriginIn

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

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

func OriginLT

func OriginLT(v string) predicate.PointOfContact

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

func OriginLTE

func OriginLTE(v string) predicate.PointOfContact

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

func OriginNEQ

func OriginNEQ(v string) predicate.PointOfContact

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

func OriginNotIn

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

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

func PackageNameID

func PackageNameID(v int) predicate.PointOfContact

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

func PackageNameIDEQ

func PackageNameIDEQ(v int) predicate.PointOfContact

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

func PackageNameIDIn

func PackageNameIDIn(vs ...int) predicate.PointOfContact

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

func PackageNameIDIsNil

func PackageNameIDIsNil() predicate.PointOfContact

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

func PackageNameIDNEQ

func PackageNameIDNEQ(v int) predicate.PointOfContact

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

func PackageNameIDNotIn

func PackageNameIDNotIn(vs ...int) predicate.PointOfContact

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

func PackageNameIDNotNil

func PackageNameIDNotNil() predicate.PointOfContact

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

func PackageVersionID

func PackageVersionID(v int) predicate.PointOfContact

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

func PackageVersionIDEQ

func PackageVersionIDEQ(v int) predicate.PointOfContact

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

func PackageVersionIDIn

func PackageVersionIDIn(vs ...int) predicate.PointOfContact

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

func PackageVersionIDIsNil

func PackageVersionIDIsNil() predicate.PointOfContact

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

func PackageVersionIDNEQ

func PackageVersionIDNEQ(v int) predicate.PointOfContact

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

func PackageVersionIDNotIn

func PackageVersionIDNotIn(vs ...int) predicate.PointOfContact

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

func PackageVersionIDNotNil

func PackageVersionIDNotNil() predicate.PointOfContact

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

func Since

Since applies equality check predicate on the "since" field. It's identical to SinceEQ.

func SinceEQ

func SinceEQ(v time.Time) predicate.PointOfContact

SinceEQ applies the EQ predicate on the "since" field.

func SinceGT

func SinceGT(v time.Time) predicate.PointOfContact

SinceGT applies the GT predicate on the "since" field.

func SinceGTE

func SinceGTE(v time.Time) predicate.PointOfContact

SinceGTE applies the GTE predicate on the "since" field.

func SinceIn

func SinceIn(vs ...time.Time) predicate.PointOfContact

SinceIn applies the In predicate on the "since" field.

func SinceLT

func SinceLT(v time.Time) predicate.PointOfContact

SinceLT applies the LT predicate on the "since" field.

func SinceLTE

func SinceLTE(v time.Time) predicate.PointOfContact

SinceLTE applies the LTE predicate on the "since" field.

func SinceNEQ

func SinceNEQ(v time.Time) predicate.PointOfContact

SinceNEQ applies the NEQ predicate on the "since" field.

func SinceNotIn

func SinceNotIn(vs ...time.Time) predicate.PointOfContact

SinceNotIn applies the NotIn predicate on the "since" field.

func SourceID

func SourceID(v int) predicate.PointOfContact

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

func SourceIDEQ

func SourceIDEQ(v int) predicate.PointOfContact

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

func SourceIDIn

func SourceIDIn(vs ...int) predicate.PointOfContact

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

func SourceIDIsNil

func SourceIDIsNil() predicate.PointOfContact

SourceIDIsNil applies the IsNil predicate on the "source_id" field.

func SourceIDNEQ

func SourceIDNEQ(v int) predicate.PointOfContact

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

func SourceIDNotIn

func SourceIDNotIn(vs ...int) predicate.PointOfContact

SourceIDNotIn applies the NotIn predicate on the "source_id" field.

func SourceIDNotNil

func SourceIDNotNil() predicate.PointOfContact

SourceIDNotNil applies the NotNil 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 PointOfContact queries.

func ByAllVersionsField

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

ByAllVersionsField orders the results by all_versions field.

func ByArtifactField

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

ByArtifactField orders the results by artifact field.

func ByArtifactID

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

ByArtifactID orders the results by the artifact_id field.

func ByCollector

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

ByCollector orders the results by the collector field.

func ByEmail

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

ByEmail orders the results by the email field.

func ByID

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

ByID orders the results by the id field.

func ByInfo

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

ByInfo orders the results by the info field.

func ByJustification

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

ByJustification orders the results by the justification 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 BySince

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

BySince orders the results by the since 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