billofmaterials

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 5 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"
	// FieldDocumentRef holds the string denoting the document_ref field in the database.
	FieldDocumentRef = "document_ref"
	// FieldKnownSince holds the string denoting the known_since field in the database.
	FieldKnownSince = "known_since"
	// FieldIncludedPackagesHash holds the string denoting the included_packages_hash field in the database.
	FieldIncludedPackagesHash = "included_packages_hash"
	// FieldIncludedArtifactsHash holds the string denoting the included_artifacts_hash field in the database.
	FieldIncludedArtifactsHash = "included_artifacts_hash"
	// FieldIncludedDependenciesHash holds the string denoting the included_dependencies_hash field in the database.
	FieldIncludedDependenciesHash = "included_dependencies_hash"
	// FieldIncludedOccurrencesHash holds the string denoting the included_occurrences_hash field in the database.
	FieldIncludedOccurrencesHash = "included_occurrences_hash"
	// 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.

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

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 uuid.UUID) predicate.BillOfMaterials

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

func ArtifactIDEQ

func ArtifactIDEQ(v uuid.UUID) predicate.BillOfMaterials

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

func ArtifactIDIn

func ArtifactIDIn(vs ...uuid.UUID) 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 uuid.UUID) predicate.BillOfMaterials

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

func ArtifactIDNotIn

func ArtifactIDNotIn(vs ...uuid.UUID) 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 DocumentRef added in v0.6.0

func DocumentRef(v string) predicate.BillOfMaterials

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.BillOfMaterials

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

func DocumentRefContainsFold added in v0.6.0

func DocumentRefContainsFold(v string) predicate.BillOfMaterials

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

func DocumentRefEQ added in v0.6.0

func DocumentRefEQ(v string) predicate.BillOfMaterials

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

func DocumentRefEqualFold added in v0.6.0

func DocumentRefEqualFold(v string) predicate.BillOfMaterials

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

func DocumentRefGT added in v0.6.0

func DocumentRefGT(v string) predicate.BillOfMaterials

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

func DocumentRefGTE added in v0.6.0

func DocumentRefGTE(v string) predicate.BillOfMaterials

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

func DocumentRefHasPrefix added in v0.6.0

func DocumentRefHasPrefix(v string) predicate.BillOfMaterials

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

func DocumentRefHasSuffix added in v0.6.0

func DocumentRefHasSuffix(v string) predicate.BillOfMaterials

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

func DocumentRefIn added in v0.6.0

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

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

func DocumentRefLT added in v0.6.0

func DocumentRefLT(v string) predicate.BillOfMaterials

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

func DocumentRefLTE added in v0.6.0

func DocumentRefLTE(v string) predicate.BillOfMaterials

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

func DocumentRefNEQ added in v0.6.0

func DocumentRefNEQ(v string) predicate.BillOfMaterials

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

func DocumentRefNotIn added in v0.6.0

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

DocumentRefNotIn applies the NotIn predicate on the "document_ref" 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

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IncludedArtifactsHash added in v0.5.0

func IncludedArtifactsHash(v string) predicate.BillOfMaterials

IncludedArtifactsHash applies equality check predicate on the "included_artifacts_hash" field. It's identical to IncludedArtifactsHashEQ.

func IncludedArtifactsHashContains added in v0.5.0

func IncludedArtifactsHashContains(v string) predicate.BillOfMaterials

IncludedArtifactsHashContains applies the Contains predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashContainsFold added in v0.5.0

func IncludedArtifactsHashContainsFold(v string) predicate.BillOfMaterials

IncludedArtifactsHashContainsFold applies the ContainsFold predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashEQ added in v0.5.0

func IncludedArtifactsHashEQ(v string) predicate.BillOfMaterials

IncludedArtifactsHashEQ applies the EQ predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashEqualFold added in v0.5.0

func IncludedArtifactsHashEqualFold(v string) predicate.BillOfMaterials

IncludedArtifactsHashEqualFold applies the EqualFold predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashGT added in v0.5.0

func IncludedArtifactsHashGT(v string) predicate.BillOfMaterials

IncludedArtifactsHashGT applies the GT predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashGTE added in v0.5.0

func IncludedArtifactsHashGTE(v string) predicate.BillOfMaterials

IncludedArtifactsHashGTE applies the GTE predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashHasPrefix added in v0.5.0

func IncludedArtifactsHashHasPrefix(v string) predicate.BillOfMaterials

IncludedArtifactsHashHasPrefix applies the HasPrefix predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashHasSuffix added in v0.5.0

func IncludedArtifactsHashHasSuffix(v string) predicate.BillOfMaterials

IncludedArtifactsHashHasSuffix applies the HasSuffix predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashIn added in v0.5.0

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

IncludedArtifactsHashIn applies the In predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashLT added in v0.5.0

func IncludedArtifactsHashLT(v string) predicate.BillOfMaterials

IncludedArtifactsHashLT applies the LT predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashLTE added in v0.5.0

func IncludedArtifactsHashLTE(v string) predicate.BillOfMaterials

IncludedArtifactsHashLTE applies the LTE predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashNEQ added in v0.5.0

func IncludedArtifactsHashNEQ(v string) predicate.BillOfMaterials

IncludedArtifactsHashNEQ applies the NEQ predicate on the "included_artifacts_hash" field.

func IncludedArtifactsHashNotIn added in v0.5.0

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

IncludedArtifactsHashNotIn applies the NotIn predicate on the "included_artifacts_hash" field.

func IncludedDependenciesHash added in v0.5.0

func IncludedDependenciesHash(v string) predicate.BillOfMaterials

IncludedDependenciesHash applies equality check predicate on the "included_dependencies_hash" field. It's identical to IncludedDependenciesHashEQ.

func IncludedDependenciesHashContains added in v0.5.0

func IncludedDependenciesHashContains(v string) predicate.BillOfMaterials

IncludedDependenciesHashContains applies the Contains predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashContainsFold added in v0.5.0

func IncludedDependenciesHashContainsFold(v string) predicate.BillOfMaterials

IncludedDependenciesHashContainsFold applies the ContainsFold predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashEQ added in v0.5.0

func IncludedDependenciesHashEQ(v string) predicate.BillOfMaterials

IncludedDependenciesHashEQ applies the EQ predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashEqualFold added in v0.5.0

func IncludedDependenciesHashEqualFold(v string) predicate.BillOfMaterials

IncludedDependenciesHashEqualFold applies the EqualFold predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashGT added in v0.5.0

func IncludedDependenciesHashGT(v string) predicate.BillOfMaterials

IncludedDependenciesHashGT applies the GT predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashGTE added in v0.5.0

func IncludedDependenciesHashGTE(v string) predicate.BillOfMaterials

IncludedDependenciesHashGTE applies the GTE predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashHasPrefix added in v0.5.0

func IncludedDependenciesHashHasPrefix(v string) predicate.BillOfMaterials

IncludedDependenciesHashHasPrefix applies the HasPrefix predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashHasSuffix added in v0.5.0

func IncludedDependenciesHashHasSuffix(v string) predicate.BillOfMaterials

IncludedDependenciesHashHasSuffix applies the HasSuffix predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashIn added in v0.5.0

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

IncludedDependenciesHashIn applies the In predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashLT added in v0.5.0

func IncludedDependenciesHashLT(v string) predicate.BillOfMaterials

IncludedDependenciesHashLT applies the LT predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashLTE added in v0.5.0

func IncludedDependenciesHashLTE(v string) predicate.BillOfMaterials

IncludedDependenciesHashLTE applies the LTE predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashNEQ added in v0.5.0

func IncludedDependenciesHashNEQ(v string) predicate.BillOfMaterials

IncludedDependenciesHashNEQ applies the NEQ predicate on the "included_dependencies_hash" field.

func IncludedDependenciesHashNotIn added in v0.5.0

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

IncludedDependenciesHashNotIn applies the NotIn predicate on the "included_dependencies_hash" field.

func IncludedOccurrencesHash added in v0.5.0

func IncludedOccurrencesHash(v string) predicate.BillOfMaterials

IncludedOccurrencesHash applies equality check predicate on the "included_occurrences_hash" field. It's identical to IncludedOccurrencesHashEQ.

func IncludedOccurrencesHashContains added in v0.5.0

func IncludedOccurrencesHashContains(v string) predicate.BillOfMaterials

IncludedOccurrencesHashContains applies the Contains predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashContainsFold added in v0.5.0

func IncludedOccurrencesHashContainsFold(v string) predicate.BillOfMaterials

IncludedOccurrencesHashContainsFold applies the ContainsFold predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashEQ added in v0.5.0

func IncludedOccurrencesHashEQ(v string) predicate.BillOfMaterials

IncludedOccurrencesHashEQ applies the EQ predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashEqualFold added in v0.5.0

func IncludedOccurrencesHashEqualFold(v string) predicate.BillOfMaterials

IncludedOccurrencesHashEqualFold applies the EqualFold predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashGT added in v0.5.0

func IncludedOccurrencesHashGT(v string) predicate.BillOfMaterials

IncludedOccurrencesHashGT applies the GT predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashGTE added in v0.5.0

func IncludedOccurrencesHashGTE(v string) predicate.BillOfMaterials

IncludedOccurrencesHashGTE applies the GTE predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashHasPrefix added in v0.5.0

func IncludedOccurrencesHashHasPrefix(v string) predicate.BillOfMaterials

IncludedOccurrencesHashHasPrefix applies the HasPrefix predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashHasSuffix added in v0.5.0

func IncludedOccurrencesHashHasSuffix(v string) predicate.BillOfMaterials

IncludedOccurrencesHashHasSuffix applies the HasSuffix predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashIn added in v0.5.0

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

IncludedOccurrencesHashIn applies the In predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashLT added in v0.5.0

func IncludedOccurrencesHashLT(v string) predicate.BillOfMaterials

IncludedOccurrencesHashLT applies the LT predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashLTE added in v0.5.0

func IncludedOccurrencesHashLTE(v string) predicate.BillOfMaterials

IncludedOccurrencesHashLTE applies the LTE predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashNEQ added in v0.5.0

func IncludedOccurrencesHashNEQ(v string) predicate.BillOfMaterials

IncludedOccurrencesHashNEQ applies the NEQ predicate on the "included_occurrences_hash" field.

func IncludedOccurrencesHashNotIn added in v0.5.0

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

IncludedOccurrencesHashNotIn applies the NotIn predicate on the "included_occurrences_hash" field.

func IncludedPackagesHash added in v0.5.0

func IncludedPackagesHash(v string) predicate.BillOfMaterials

IncludedPackagesHash applies equality check predicate on the "included_packages_hash" field. It's identical to IncludedPackagesHashEQ.

func IncludedPackagesHashContains added in v0.5.0

func IncludedPackagesHashContains(v string) predicate.BillOfMaterials

IncludedPackagesHashContains applies the Contains predicate on the "included_packages_hash" field.

func IncludedPackagesHashContainsFold added in v0.5.0

func IncludedPackagesHashContainsFold(v string) predicate.BillOfMaterials

IncludedPackagesHashContainsFold applies the ContainsFold predicate on the "included_packages_hash" field.

func IncludedPackagesHashEQ added in v0.5.0

func IncludedPackagesHashEQ(v string) predicate.BillOfMaterials

IncludedPackagesHashEQ applies the EQ predicate on the "included_packages_hash" field.

func IncludedPackagesHashEqualFold added in v0.5.0

func IncludedPackagesHashEqualFold(v string) predicate.BillOfMaterials

IncludedPackagesHashEqualFold applies the EqualFold predicate on the "included_packages_hash" field.

func IncludedPackagesHashGT added in v0.5.0

func IncludedPackagesHashGT(v string) predicate.BillOfMaterials

IncludedPackagesHashGT applies the GT predicate on the "included_packages_hash" field.

func IncludedPackagesHashGTE added in v0.5.0

func IncludedPackagesHashGTE(v string) predicate.BillOfMaterials

IncludedPackagesHashGTE applies the GTE predicate on the "included_packages_hash" field.

func IncludedPackagesHashHasPrefix added in v0.5.0

func IncludedPackagesHashHasPrefix(v string) predicate.BillOfMaterials

IncludedPackagesHashHasPrefix applies the HasPrefix predicate on the "included_packages_hash" field.

func IncludedPackagesHashHasSuffix added in v0.5.0

func IncludedPackagesHashHasSuffix(v string) predicate.BillOfMaterials

IncludedPackagesHashHasSuffix applies the HasSuffix predicate on the "included_packages_hash" field.

func IncludedPackagesHashIn added in v0.5.0

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

IncludedPackagesHashIn applies the In predicate on the "included_packages_hash" field.

func IncludedPackagesHashLT added in v0.5.0

func IncludedPackagesHashLT(v string) predicate.BillOfMaterials

IncludedPackagesHashLT applies the LT predicate on the "included_packages_hash" field.

func IncludedPackagesHashLTE added in v0.5.0

func IncludedPackagesHashLTE(v string) predicate.BillOfMaterials

IncludedPackagesHashLTE applies the LTE predicate on the "included_packages_hash" field.

func IncludedPackagesHashNEQ added in v0.5.0

func IncludedPackagesHashNEQ(v string) predicate.BillOfMaterials

IncludedPackagesHashNEQ applies the NEQ predicate on the "included_packages_hash" field.

func IncludedPackagesHashNotIn added in v0.5.0

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

IncludedPackagesHashNotIn applies the NotIn predicate on the "included_packages_hash" 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 uuid.UUID) predicate.BillOfMaterials

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

func PackageIDEQ

func PackageIDEQ(v uuid.UUID) predicate.BillOfMaterials

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

func PackageIDIn

func PackageIDIn(vs ...uuid.UUID) 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 uuid.UUID) predicate.BillOfMaterials

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

func PackageIDNotIn

func PackageIDNotIn(vs ...uuid.UUID) 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 ByDocumentRef added in v0.6.0

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

ByDocumentRef orders the results by the document_ref 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 ByIncludedArtifactsHash added in v0.5.0

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

ByIncludedArtifactsHash orders the results by the included_artifacts_hash 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 ByIncludedDependenciesHash added in v0.5.0

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

ByIncludedDependenciesHash orders the results by the included_dependencies_hash field.

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 ByIncludedOccurrencesHash added in v0.5.0

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

ByIncludedOccurrencesHash orders the results by the included_occurrences_hash field.

func ByIncludedPackagesHash added in v0.5.0

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

ByIncludedPackagesHash orders the results by the included_packages_hash field.

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