billofmaterials

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 billofmaterials type in the database.
	Label = "bill_of_materials"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldPackageID holds the string denoting the package_id field in the database.
	FieldPackageID = "package_id"
	// FieldArtifactID holds the string denoting the artifact_id field in the database.
	FieldArtifactID = "artifact_id"
	// FieldURI holds the string denoting the uri field in the database.
	FieldURI = "uri"
	// FieldAlgorithm holds the string denoting the algorithm field in the database.
	FieldAlgorithm = "algorithm"
	// FieldDigest holds the string denoting the digest field in the database.
	FieldDigest = "digest"
	// FieldDownloadLocation holds the string denoting the download_location field in the database.
	FieldDownloadLocation = "download_location"
	// 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"
	// FieldKnownSince holds the string denoting the known_since field in the database.
	FieldKnownSince = "known_since"
	// EdgePackage holds the string denoting the package edge name in mutations.
	EdgePackage = "package"
	// EdgeArtifact holds the string denoting the artifact edge name in mutations.
	EdgeArtifact = "artifact"
	// EdgeIncludedSoftwarePackages holds the string denoting the included_software_packages edge name in mutations.
	EdgeIncludedSoftwarePackages = "included_software_packages"
	// EdgeIncludedSoftwareArtifacts holds the string denoting the included_software_artifacts edge name in mutations.
	EdgeIncludedSoftwareArtifacts = "included_software_artifacts"
	// EdgeIncludedDependencies holds the string denoting the included_dependencies edge name in mutations.
	EdgeIncludedDependencies = "included_dependencies"
	// EdgeIncludedOccurrences holds the string denoting the included_occurrences edge name in mutations.
	EdgeIncludedOccurrences = "included_occurrences"
	// Table holds the table name of the billofmaterials in the database.
	Table = "bill_of_materials"
	// PackageTable is the table that holds the package relation/edge.
	PackageTable = "bill_of_materials"
	// PackageInverseTable is the table name for the PackageVersion entity.
	// It exists in this package in order to avoid circular dependency with the "packageversion" package.
	PackageInverseTable = "package_versions"
	// PackageColumn is the table column denoting the package relation/edge.
	PackageColumn = "package_id"
	// ArtifactTable is the table that holds the artifact relation/edge.
	ArtifactTable = "bill_of_materials"
	// 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"
	// IncludedSoftwarePackagesTable is the table that holds the included_software_packages relation/edge. The primary key declared below.
	IncludedSoftwarePackagesTable = "bill_of_materials_included_software_packages"
	// IncludedSoftwarePackagesInverseTable is the table name for the PackageVersion entity.
	// It exists in this package in order to avoid circular dependency with the "packageversion" package.
	IncludedSoftwarePackagesInverseTable = "package_versions"
	// IncludedSoftwareArtifactsTable is the table that holds the included_software_artifacts relation/edge. The primary key declared below.
	IncludedSoftwareArtifactsTable = "bill_of_materials_included_software_artifacts"
	// IncludedSoftwareArtifactsInverseTable is the table name for the Artifact entity.
	// It exists in this package in order to avoid circular dependency with the "artifact" package.
	IncludedSoftwareArtifactsInverseTable = "artifacts"
	// IncludedDependenciesTable is the table that holds the included_dependencies relation/edge. The primary key declared below.
	IncludedDependenciesTable = "bill_of_materials_included_dependencies"
	// IncludedDependenciesInverseTable is the table name for the Dependency entity.
	// It exists in this package in order to avoid circular dependency with the "dependency" package.
	IncludedDependenciesInverseTable = "dependencies"
	// IncludedOccurrencesTable is the table that holds the included_occurrences relation/edge. The primary key declared below.
	IncludedOccurrencesTable = "bill_of_materials_included_occurrences"
	// IncludedOccurrencesInverseTable is the table name for the Occurrence entity.
	// It exists in this package in order to avoid circular dependency with the "occurrence" package.
	IncludedOccurrencesInverseTable = "occurrences"
)

Variables

View Source
var (
	// IncludedSoftwarePackagesPrimaryKey and IncludedSoftwarePackagesColumn2 are the table columns denoting the
	// primary key for the included_software_packages relation (M2M).
	IncludedSoftwarePackagesPrimaryKey = []string{"bill_of_materials_id", "package_version_id"}
	// IncludedSoftwareArtifactsPrimaryKey and IncludedSoftwareArtifactsColumn2 are the table columns denoting the
	// primary key for the included_software_artifacts relation (M2M).
	IncludedSoftwareArtifactsPrimaryKey = []string{"bill_of_materials_id", "artifact_id"}
	// IncludedDependenciesPrimaryKey and IncludedDependenciesColumn2 are the table columns denoting the
	// primary key for the included_dependencies relation (M2M).
	IncludedDependenciesPrimaryKey = []string{"bill_of_materials_id", "dependency_id"}
	// IncludedOccurrencesPrimaryKey and IncludedOccurrencesColumn2 are the table columns denoting the
	// primary key for the included_occurrences relation (M2M).
	IncludedOccurrencesPrimaryKey = []string{"bill_of_materials_id", "occurrence_id"}
)

Columns holds all SQL columns for billofmaterials fields.

Functions

func Algorithm

func Algorithm(v string) predicate.BillOfMaterials

Algorithm applies equality check predicate on the "algorithm" field. It's identical to AlgorithmEQ.

func AlgorithmContains

func AlgorithmContains(v string) predicate.BillOfMaterials

AlgorithmContains applies the Contains predicate on the "algorithm" field.

func AlgorithmContainsFold

func AlgorithmContainsFold(v string) predicate.BillOfMaterials

AlgorithmContainsFold applies the ContainsFold predicate on the "algorithm" field.

func AlgorithmEQ

func AlgorithmEQ(v string) predicate.BillOfMaterials

AlgorithmEQ applies the EQ predicate on the "algorithm" field.

func AlgorithmEqualFold

func AlgorithmEqualFold(v string) predicate.BillOfMaterials

AlgorithmEqualFold applies the EqualFold predicate on the "algorithm" field.

func AlgorithmGT

func AlgorithmGT(v string) predicate.BillOfMaterials

AlgorithmGT applies the GT predicate on the "algorithm" field.

func AlgorithmGTE

func AlgorithmGTE(v string) predicate.BillOfMaterials

AlgorithmGTE applies the GTE predicate on the "algorithm" field.

func AlgorithmHasPrefix

func AlgorithmHasPrefix(v string) predicate.BillOfMaterials

AlgorithmHasPrefix applies the HasPrefix predicate on the "algorithm" field.

func AlgorithmHasSuffix

func AlgorithmHasSuffix(v string) predicate.BillOfMaterials

AlgorithmHasSuffix applies the HasSuffix predicate on the "algorithm" field.

func AlgorithmIn

func AlgorithmIn(vs ...string) predicate.BillOfMaterials

AlgorithmIn applies the In predicate on the "algorithm" field.

func AlgorithmLT

func AlgorithmLT(v string) predicate.BillOfMaterials

AlgorithmLT applies the LT predicate on the "algorithm" field.

func AlgorithmLTE

func AlgorithmLTE(v string) predicate.BillOfMaterials

AlgorithmLTE applies the LTE predicate on the "algorithm" field.

func AlgorithmNEQ

func AlgorithmNEQ(v string) predicate.BillOfMaterials

AlgorithmNEQ applies the NEQ predicate on the "algorithm" field.

func AlgorithmNotIn

func AlgorithmNotIn(vs ...string) predicate.BillOfMaterials

AlgorithmNotIn applies the NotIn predicate on the "algorithm" field.

func And

And groups predicates with the AND operator between them.

func ArtifactID

func ArtifactID(v int) predicate.BillOfMaterials

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

func ArtifactIDEQ

func ArtifactIDEQ(v int) predicate.BillOfMaterials

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

func ArtifactIDIn

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

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

func ArtifactIDIsNil

func ArtifactIDIsNil() predicate.BillOfMaterials

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

func ArtifactIDNEQ

func ArtifactIDNEQ(v int) predicate.BillOfMaterials

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

func ArtifactIDNotIn

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

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

func ArtifactIDNotNil

func ArtifactIDNotNil() predicate.BillOfMaterials

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

func Collector

func Collector(v string) predicate.BillOfMaterials

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

func CollectorContains

func CollectorContains(v string) predicate.BillOfMaterials

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

func CollectorContainsFold

func CollectorContainsFold(v string) predicate.BillOfMaterials

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

func CollectorEQ

func CollectorEQ(v string) predicate.BillOfMaterials

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

func CollectorEqualFold

func CollectorEqualFold(v string) predicate.BillOfMaterials

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

func CollectorGT

func CollectorGT(v string) predicate.BillOfMaterials

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

func CollectorGTE

func CollectorGTE(v string) predicate.BillOfMaterials

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

func CollectorHasPrefix

func CollectorHasPrefix(v string) predicate.BillOfMaterials

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

func CollectorHasSuffix

func CollectorHasSuffix(v string) predicate.BillOfMaterials

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

func CollectorIn

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

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

func CollectorLT

func CollectorLT(v string) predicate.BillOfMaterials

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

func CollectorLTE

func CollectorLTE(v string) predicate.BillOfMaterials

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

func CollectorNEQ

func CollectorNEQ(v string) predicate.BillOfMaterials

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

func CollectorNotIn

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

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

func Digest

Digest applies equality check predicate on the "digest" field. It's identical to DigestEQ.

func DigestContains

func DigestContains(v string) predicate.BillOfMaterials

DigestContains applies the Contains predicate on the "digest" field.

func DigestContainsFold

func DigestContainsFold(v string) predicate.BillOfMaterials

DigestContainsFold applies the ContainsFold predicate on the "digest" field.

func DigestEQ

func DigestEQ(v string) predicate.BillOfMaterials

DigestEQ applies the EQ predicate on the "digest" field.

func DigestEqualFold

func DigestEqualFold(v string) predicate.BillOfMaterials

DigestEqualFold applies the EqualFold predicate on the "digest" field.

func DigestGT

func DigestGT(v string) predicate.BillOfMaterials

DigestGT applies the GT predicate on the "digest" field.

func DigestGTE

func DigestGTE(v string) predicate.BillOfMaterials

DigestGTE applies the GTE predicate on the "digest" field.

func DigestHasPrefix

func DigestHasPrefix(v string) predicate.BillOfMaterials

DigestHasPrefix applies the HasPrefix predicate on the "digest" field.

func DigestHasSuffix

func DigestHasSuffix(v string) predicate.BillOfMaterials

DigestHasSuffix applies the HasSuffix predicate on the "digest" field.

func DigestIn

func DigestIn(vs ...string) predicate.BillOfMaterials

DigestIn applies the In predicate on the "digest" field.

func DigestLT

func DigestLT(v string) predicate.BillOfMaterials

DigestLT applies the LT predicate on the "digest" field.

func DigestLTE

func DigestLTE(v string) predicate.BillOfMaterials

DigestLTE applies the LTE predicate on the "digest" field.

func DigestNEQ

func DigestNEQ(v string) predicate.BillOfMaterials

DigestNEQ applies the NEQ predicate on the "digest" field.

func DigestNotIn

func DigestNotIn(vs ...string) predicate.BillOfMaterials

DigestNotIn applies the NotIn predicate on the "digest" field.

func DownloadLocation

func DownloadLocation(v string) predicate.BillOfMaterials

DownloadLocation applies equality check predicate on the "download_location" field. It's identical to DownloadLocationEQ.

func DownloadLocationContains

func DownloadLocationContains(v string) predicate.BillOfMaterials

DownloadLocationContains applies the Contains predicate on the "download_location" field.

func DownloadLocationContainsFold

func DownloadLocationContainsFold(v string) predicate.BillOfMaterials

DownloadLocationContainsFold applies the ContainsFold predicate on the "download_location" field.

func DownloadLocationEQ

func DownloadLocationEQ(v string) predicate.BillOfMaterials

DownloadLocationEQ applies the EQ predicate on the "download_location" field.

func DownloadLocationEqualFold

func DownloadLocationEqualFold(v string) predicate.BillOfMaterials

DownloadLocationEqualFold applies the EqualFold predicate on the "download_location" field.

func DownloadLocationGT

func DownloadLocationGT(v string) predicate.BillOfMaterials

DownloadLocationGT applies the GT predicate on the "download_location" field.

func DownloadLocationGTE

func DownloadLocationGTE(v string) predicate.BillOfMaterials

DownloadLocationGTE applies the GTE predicate on the "download_location" field.

func DownloadLocationHasPrefix

func DownloadLocationHasPrefix(v string) predicate.BillOfMaterials

DownloadLocationHasPrefix applies the HasPrefix predicate on the "download_location" field.

func DownloadLocationHasSuffix

func DownloadLocationHasSuffix(v string) predicate.BillOfMaterials

DownloadLocationHasSuffix applies the HasSuffix predicate on the "download_location" field.

func DownloadLocationIn

func DownloadLocationIn(vs ...string) predicate.BillOfMaterials

DownloadLocationIn applies the In predicate on the "download_location" field.

func DownloadLocationLT

func DownloadLocationLT(v string) predicate.BillOfMaterials

DownloadLocationLT applies the LT predicate on the "download_location" field.

func DownloadLocationLTE

func DownloadLocationLTE(v string) predicate.BillOfMaterials

DownloadLocationLTE applies the LTE predicate on the "download_location" field.

func DownloadLocationNEQ

func DownloadLocationNEQ(v string) predicate.BillOfMaterials

DownloadLocationNEQ applies the NEQ predicate on the "download_location" field.

func DownloadLocationNotIn

func DownloadLocationNotIn(vs ...string) predicate.BillOfMaterials

DownloadLocationNotIn applies the NotIn predicate on the "download_location" field.

func HasArtifact

func HasArtifact() predicate.BillOfMaterials

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

func HasArtifactWith

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

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

func HasIncludedDependencies added in v0.4.0

func HasIncludedDependencies() predicate.BillOfMaterials

HasIncludedDependencies applies the HasEdge predicate on the "included_dependencies" edge.

func HasIncludedDependenciesWith added in v0.4.0

func HasIncludedDependenciesWith(preds ...predicate.Dependency) predicate.BillOfMaterials

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

func HasIncludedOccurrences added in v0.4.0

func HasIncludedOccurrences() predicate.BillOfMaterials

HasIncludedOccurrences applies the HasEdge predicate on the "included_occurrences" edge.

func HasIncludedOccurrencesWith added in v0.4.0

func HasIncludedOccurrencesWith(preds ...predicate.Occurrence) predicate.BillOfMaterials

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

func HasIncludedSoftwareArtifacts added in v0.4.0

func HasIncludedSoftwareArtifacts() predicate.BillOfMaterials

HasIncludedSoftwareArtifacts applies the HasEdge predicate on the "included_software_artifacts" edge.

func HasIncludedSoftwareArtifactsWith added in v0.4.0

func HasIncludedSoftwareArtifactsWith(preds ...predicate.Artifact) predicate.BillOfMaterials

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

func HasIncludedSoftwarePackages added in v0.4.0

func HasIncludedSoftwarePackages() predicate.BillOfMaterials

HasIncludedSoftwarePackages applies the HasEdge predicate on the "included_software_packages" edge.

func HasIncludedSoftwarePackagesWith added in v0.4.0

func HasIncludedSoftwarePackagesWith(preds ...predicate.PackageVersion) predicate.BillOfMaterials

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

func HasPackage

func HasPackage() predicate.BillOfMaterials

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

func HasPackageWith

func HasPackageWith(preds ...predicate.PackageVersion) predicate.BillOfMaterials

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

func IDEQ(id int) predicate.BillOfMaterials

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.BillOfMaterials

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.BillOfMaterials

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.BillOfMaterials

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.BillOfMaterials

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.BillOfMaterials

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func KnownSince added in v0.4.0

func KnownSince(v time.Time) predicate.BillOfMaterials

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

func KnownSinceEQ added in v0.4.0

func KnownSinceEQ(v time.Time) predicate.BillOfMaterials

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

func KnownSinceGT added in v0.4.0

func KnownSinceGT(v time.Time) predicate.BillOfMaterials

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

func KnownSinceGTE added in v0.4.0

func KnownSinceGTE(v time.Time) predicate.BillOfMaterials

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

func KnownSinceIn added in v0.4.0

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

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

func KnownSinceLT added in v0.4.0

func KnownSinceLT(v time.Time) predicate.BillOfMaterials

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

func KnownSinceLTE added in v0.4.0

func KnownSinceLTE(v time.Time) predicate.BillOfMaterials

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

func KnownSinceNEQ added in v0.4.0

func KnownSinceNEQ(v time.Time) predicate.BillOfMaterials

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

func KnownSinceNotIn added in v0.4.0

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

KnownSinceNotIn applies the NotIn predicate on the "known_since" 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.BillOfMaterials

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

func OriginContainsFold

func OriginContainsFold(v string) predicate.BillOfMaterials

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

func OriginEQ

func OriginEQ(v string) predicate.BillOfMaterials

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

func OriginEqualFold

func OriginEqualFold(v string) predicate.BillOfMaterials

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

func OriginGT

func OriginGT(v string) predicate.BillOfMaterials

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

func OriginGTE

func OriginGTE(v string) predicate.BillOfMaterials

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

func OriginHasPrefix

func OriginHasPrefix(v string) predicate.BillOfMaterials

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

func OriginHasSuffix

func OriginHasSuffix(v string) predicate.BillOfMaterials

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

func OriginIn

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

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

func OriginLT

func OriginLT(v string) predicate.BillOfMaterials

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

func OriginLTE

func OriginLTE(v string) predicate.BillOfMaterials

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

func OriginNEQ

func OriginNEQ(v string) predicate.BillOfMaterials

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

func OriginNotIn

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

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

func PackageID

func PackageID(v int) predicate.BillOfMaterials

PackageID applies equality check predicate on the "package_id" field. It's identical to PackageIDEQ.

func PackageIDEQ

func PackageIDEQ(v int) predicate.BillOfMaterials

PackageIDEQ applies the EQ predicate on the "package_id" field.

func PackageIDIn

func PackageIDIn(vs ...int) predicate.BillOfMaterials

PackageIDIn applies the In predicate on the "package_id" field.

func PackageIDIsNil

func PackageIDIsNil() predicate.BillOfMaterials

PackageIDIsNil applies the IsNil predicate on the "package_id" field.

func PackageIDNEQ

func PackageIDNEQ(v int) predicate.BillOfMaterials

PackageIDNEQ applies the NEQ predicate on the "package_id" field.

func PackageIDNotIn

func PackageIDNotIn(vs ...int) predicate.BillOfMaterials

PackageIDNotIn applies the NotIn predicate on the "package_id" field.

func PackageIDNotNil

func PackageIDNotNil() predicate.BillOfMaterials

PackageIDNotNil applies the NotNil predicate on the "package_id" field.

func URI

URI applies equality check predicate on the "uri" field. It's identical to URIEQ.

func URIContains

func URIContains(v string) predicate.BillOfMaterials

URIContains applies the Contains predicate on the "uri" field.

func URIContainsFold

func URIContainsFold(v string) predicate.BillOfMaterials

URIContainsFold applies the ContainsFold predicate on the "uri" field.

func URIEQ

URIEQ applies the EQ predicate on the "uri" field.

func URIEqualFold

func URIEqualFold(v string) predicate.BillOfMaterials

URIEqualFold applies the EqualFold predicate on the "uri" field.

func URIGT

URIGT applies the GT predicate on the "uri" field.

func URIGTE

URIGTE applies the GTE predicate on the "uri" field.

func URIHasPrefix

func URIHasPrefix(v string) predicate.BillOfMaterials

URIHasPrefix applies the HasPrefix predicate on the "uri" field.

func URIHasSuffix

func URIHasSuffix(v string) predicate.BillOfMaterials

URIHasSuffix applies the HasSuffix predicate on the "uri" field.

func URIIn

func URIIn(vs ...string) predicate.BillOfMaterials

URIIn applies the In predicate on the "uri" field.

func URILT

URILT applies the LT predicate on the "uri" field.

func URILTE

URILTE applies the LTE predicate on the "uri" field.

func URINEQ

URINEQ applies the NEQ predicate on the "uri" field.

func URINotIn

func URINotIn(vs ...string) predicate.BillOfMaterials

URINotIn applies the NotIn predicate on the "uri" 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 BillOfMaterials queries.

func ByAlgorithm

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

ByAlgorithm orders the results by the algorithm 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 ByDigest

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

ByDigest orders the results by the digest field.

func ByDownloadLocation

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

ByDownloadLocation orders the results by the download_location field.

func ByID

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

ByID orders the results by the id field.

func ByIncludedDependencies added in v0.4.0

func ByIncludedDependencies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByIncludedDependencies orders the results by included_dependencies terms.

func ByIncludedDependenciesCount added in v0.4.0

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

ByIncludedDependenciesCount orders the results by included_dependencies count.

func ByIncludedOccurrences added in v0.4.0

func ByIncludedOccurrences(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByIncludedOccurrences orders the results by included_occurrences terms.

func ByIncludedOccurrencesCount added in v0.4.0

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

ByIncludedOccurrencesCount orders the results by included_occurrences count.

func ByIncludedSoftwareArtifacts added in v0.4.0

func ByIncludedSoftwareArtifacts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByIncludedSoftwareArtifacts orders the results by included_software_artifacts terms.

func ByIncludedSoftwareArtifactsCount added in v0.4.0

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

ByIncludedSoftwareArtifactsCount orders the results by included_software_artifacts count.

func ByIncludedSoftwarePackages added in v0.4.0

func ByIncludedSoftwarePackages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByIncludedSoftwarePackages orders the results by included_software_packages terms.

func ByIncludedSoftwarePackagesCount added in v0.4.0

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

ByIncludedSoftwarePackagesCount orders the results by included_software_packages count.

func ByKnownSince added in v0.4.0

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 ByPackageField

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

ByPackageField orders the results by package field.

func ByPackageID

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

ByPackageID orders the results by the package_id field.

func ByURI

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

ByURI orders the results by the uri field.

Jump to

Keyboard shortcuts

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