schema

package
v0.10.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	ent.Schema
}

Artifact holds the schema definition for the Artifact entity.

func (Artifact) Edges

func (Artifact) Edges() []ent.Edge

Edges of the Artifact.

func (Artifact) Fields

func (Artifact) Fields() []ent.Field

Fields of the Artifact.

func (Artifact) Indexes

func (Artifact) Indexes() []ent.Index

Indexes of the Artifact.

NOTE: Given the nature of digests, we could treat them as unique identifiers with a single index, but currently we index both alg and digest so that it is possible to query all artifacts using a specific algorithm.

type BillOfMaterials

type BillOfMaterials struct {
	ent.Schema
}

BillOfMaterials holds the schema definition for the BillOfMaterials (SBOM) entity.

func (BillOfMaterials) Edges

func (BillOfMaterials) Edges() []ent.Edge

Edges of the Material.

func (BillOfMaterials) Fields

func (BillOfMaterials) Fields() []ent.Field

Fields of the SBOM.

func (BillOfMaterials) Indexes

func (BillOfMaterials) Indexes() []ent.Index

Indexes of the Material.

type Builder

type Builder struct {
	ent.Schema
}

Builder holds the schema definition for the Builder entity.

func (Builder) Edges

func (Builder) Edges() []ent.Edge

Edges of the Builder.

func (Builder) Fields

func (Builder) Fields() []ent.Field

Fields of the Builder.

func (Builder) Indexes

func (Builder) Indexes() []ent.Index

Indexes of the BuilderNode.

type Certification

type Certification struct {
	ent.Schema
}

Certification holds the schema definition for the Certification entity.

func (Certification) Edges

func (Certification) Edges() []ent.Edge

Edges of the Certification.

func (Certification) Fields

func (Certification) Fields() []ent.Field

Fields of the Certification.

func (Certification) Indexes

func (Certification) Indexes() []ent.Index

type CertifyLegal

type CertifyLegal struct {
	ent.Schema
}

CertifyLegal holds the schema definition for the CertifyLegal entity.

func (CertifyLegal) Edges

func (CertifyLegal) Edges() []ent.Edge

Edges of the CertifyLegal.

func (CertifyLegal) Fields

func (CertifyLegal) Fields() []ent.Field

Fields of the CertifyLegal.

func (CertifyLegal) Indexes

func (CertifyLegal) Indexes() []ent.Index

type CertifyScorecard

type CertifyScorecard struct {
	ent.Schema
}

CertifyScorecard holds the schema definition for the CertifyScorecard entity.

func (CertifyScorecard) Edges

func (CertifyScorecard) Edges() []ent.Edge

Edges of the CertifyScorecard.

func (CertifyScorecard) Fields

func (CertifyScorecard) Fields() []ent.Field

Fields of the CertifyScorecard.

func (CertifyScorecard) Indexes

func (CertifyScorecard) Indexes() []ent.Index

type CertifyVex

type CertifyVex struct {
	ent.Schema
}

CertifyVex holds the schema definition for the CertifyVex entity.

func (CertifyVex) Edges

func (CertifyVex) Edges() []ent.Edge

Edges of the VEX.

func (CertifyVex) Fields

func (CertifyVex) Fields() []ent.Field

Fields of the VEX.

func (CertifyVex) Indexes

func (CertifyVex) Indexes() []ent.Index

Indexes of the VEX.

type CertifyVuln

type CertifyVuln struct {
	ent.Schema
}

CertifyVuln holds the schema definition for the CertifyVuln entity.

func (CertifyVuln) Edges

func (CertifyVuln) Edges() []ent.Edge

Edges of the Vulnerability.

func (CertifyVuln) Fields

func (CertifyVuln) Fields() []ent.Field

Fields of the Vulnerability.

func (CertifyVuln) Indexes

func (CertifyVuln) Indexes() []ent.Index

Indexes of the Vulnerability.

type Dependency

type Dependency struct {
	ent.Schema
}

Dependency holds the schema definition for the Dependency entity.

func (Dependency) Annotations

func (Dependency) Annotations() []schema.Annotation

Annotations of the Dependency.

func (Dependency) Edges

func (Dependency) Edges() []ent.Edge

Edges of the Dependency.

func (Dependency) Fields

func (Dependency) Fields() []ent.Field

Fields of the Dependency.

func (Dependency) Indexes

func (Dependency) Indexes() []ent.Index

Indexes of the Dependency.

type HasMetadata added in v0.2.1

type HasMetadata struct {
	ent.Schema
}

HasMetadata holds the schema definition for the HasMetadata entity.

func (HasMetadata) Edges added in v0.2.1

func (HasMetadata) Edges() []ent.Edge

Edges of the HasMetadata.

func (HasMetadata) Fields added in v0.2.1

func (HasMetadata) Fields() []ent.Field

Fields of the HasMetadata.

func (HasMetadata) Indexes added in v0.2.1

func (HasMetadata) Indexes() []ent.Index

type HasSourceAt

type HasSourceAt struct {
	ent.Schema
}

HasSourceAt holds the schema definition for the HasSourceAt entity.

func (HasSourceAt) Edges

func (HasSourceAt) Edges() []ent.Edge

Edges of the HasSourceAt.

func (HasSourceAt) Fields

func (HasSourceAt) Fields() []ent.Field

Fields of the HasSourceAt.

func (HasSourceAt) Indexes

func (HasSourceAt) Indexes() []ent.Index

type HashEqual

type HashEqual struct {
	ent.Schema
}

HashEqual holds the schema definition for the HashEqual entity.

func (HashEqual) Edges

func (HashEqual) Edges() []ent.Edge

Edges of the HashEqual.

func (HashEqual) Fields

func (HashEqual) Fields() []ent.Field

Fields of the HashEqual.

func (HashEqual) Indexes added in v0.5.0

func (HashEqual) Indexes() []ent.Index

Indexes of the HashEqual.

type License

type License struct {
	ent.Schema
}

License holds the schema definition for the License entity.

func (License) Edges

func (License) Edges() []ent.Edge

Edges of the License.

func (License) Fields

func (License) Fields() []ent.Field

Fields of the License.

func (License) Indexes

func (License) Indexes() []ent.Index

Indexes of the License.

type Occurrence

type Occurrence struct {
	ent.Schema
}

Occurrence holds the schema definition for the Occurrence entity.

func (Occurrence) Edges

func (Occurrence) Edges() []ent.Edge

Edges of the Occurrence.

func (Occurrence) Fields

func (Occurrence) Fields() []ent.Field

Fields of the Occurrence.

func (Occurrence) Indexes

func (Occurrence) Indexes() []ent.Index

Indexes of the Occurrence.

type PackageName

type PackageName struct {
	ent.Schema
}

PackageName holds the schema definition for the PackageName entity.

func (PackageName) Edges

func (PackageName) Edges() []ent.Edge

Edges of the PackageName.

func (PackageName) Fields

func (PackageName) Fields() []ent.Field

Fields of the PackageName.

func (PackageName) Indexes

func (PackageName) Indexes() []ent.Index

Indexes of the PackageName.

type PackageVersion

type PackageVersion struct {
	ent.Schema
}

PackageVersion holds the schema definition for the PackageVersion entity.

func (PackageVersion) Edges

func (PackageVersion) Edges() []ent.Edge

Edges of the PackageVersion.

func (PackageVersion) Fields

func (PackageVersion) Fields() []ent.Field

Fields of the PackageVersion.

func (PackageVersion) Indexes

func (PackageVersion) Indexes() []ent.Index

Indexes of the PackageVersion.

type PkgEqual

type PkgEqual struct {
	ent.Schema
}

PkgEqual holds the schema definition for the PkgEqual entity.

func (PkgEqual) Edges

func (PkgEqual) Edges() []ent.Edge

Edges of the PkgEqual.

func (PkgEqual) Fields

func (PkgEqual) Fields() []ent.Field

Fields of the PkgEqual.

func (PkgEqual) Indexes

func (PkgEqual) Indexes() []ent.Index

Indexes of the PkgEqual.

type PointOfContact added in v0.2.1

type PointOfContact struct {
	ent.Schema
}

PointOfContact holds the schema definition for the PointOfContact entity.

func (PointOfContact) Edges added in v0.2.1

func (PointOfContact) Edges() []ent.Edge

Edges of the PointOfContact.

func (PointOfContact) Fields added in v0.2.1

func (PointOfContact) Fields() []ent.Field

Fields of the PointOfContact.

func (PointOfContact) Indexes added in v0.2.1

func (PointOfContact) Indexes() []ent.Index

type SLSAAttestation

type SLSAAttestation struct {
	ent.Schema
}

SLSAAttestation holds the schema definition for the SLSAAttestation entity.

func (SLSAAttestation) Annotations

func (SLSAAttestation) Annotations() []schema.Annotation

Annotations of the User.

func (SLSAAttestation) Edges

func (SLSAAttestation) Edges() []ent.Edge

Edges of the SLSA.

func (SLSAAttestation) Fields

func (SLSAAttestation) Fields() []ent.Field

Fields of the SLSA.

func (SLSAAttestation) Indexes

func (SLSAAttestation) Indexes() []ent.Index

type SourceName

type SourceName struct {
	ent.Schema
}

SourceName holds the schema definition for the SourceName entity.

func (SourceName) Edges

func (SourceName) Edges() []ent.Edge

Edges of the SourceName.

func (SourceName) Fields

func (SourceName) Fields() []ent.Field

Fields of the SourceName.

func (SourceName) Indexes

func (SourceName) Indexes() []ent.Index

Indexes of the SourceName.

type VulnEqual

type VulnEqual struct {
	ent.Schema
}

VulnEqual holds the schema definition for the VulnEqual entity.

func (VulnEqual) Edges

func (VulnEqual) Edges() []ent.Edge

Edges of the VulnEqual.

func (VulnEqual) Fields

func (VulnEqual) Fields() []ent.Field

Fields of the VulnEqual.

func (VulnEqual) Indexes added in v0.5.0

func (VulnEqual) Indexes() []ent.Index

Indexes of the VulnEqual.

type VulnerabilityID

type VulnerabilityID struct {
	ent.Schema
}

VulnerabilityID holds the schema definition for the VulnerabilityID entity.

func (VulnerabilityID) Edges

func (VulnerabilityID) Edges() []ent.Edge

Edges of the VulnerabilityID.

func (VulnerabilityID) Fields

func (VulnerabilityID) Fields() []ent.Field

Fields of the VulnerabilityID.

func (VulnerabilityID) Indexes

func (VulnerabilityID) Indexes() []ent.Index

Indexes of the VulnerabilityID.

type VulnerabilityMetadata added in v0.4.0

type VulnerabilityMetadata struct {
	ent.Schema
}

VulnerabilityMetadata holds the schema definition for the VulnerabilityMetadata entity.

func (VulnerabilityMetadata) Edges added in v0.4.0

func (VulnerabilityMetadata) Edges() []ent.Edge

Edges of the VulnerabilityMetadata.

func (VulnerabilityMetadata) Fields added in v0.4.0

func (VulnerabilityMetadata) Fields() []ent.Field

Fields of the VulnerabilityMetadata.

func (VulnerabilityMetadata) Indexes added in v0.4.0

func (VulnerabilityMetadata) Indexes() []ent.Index

Indexes of the VulnerabilityMetadata.

Jump to

Keyboard shortcuts

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