schema

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attestation

type Attestation struct {
	ent.Schema
}

Attestation represents an attestation from a witness attestation collection

func (Attestation) Edges

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

func (Attestation) Fields

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

func (Attestation) Indexes

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

type AttestationCollection

type AttestationCollection struct {
	ent.Schema
}

AttestationCollection represents a witness attestation collection

func (AttestationCollection) Edges

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

func (AttestationCollection) Fields

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

func (AttestationCollection) Indexes

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

type Dsse

type Dsse struct {
	ent.Schema
}

Dsse represents some metadata about an archived DSSE envelope

func (Dsse) Annotations

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

func (Dsse) Edges

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

Edges of the Statement.

func (Dsse) Fields

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

Fields of the Statement.

type PayloadDigest

type PayloadDigest struct {
	ent.Schema
}

PayloadDigest represents the digest of the payload of a DSSE envelope

func (PayloadDigest) Edges

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

Edges of the Digest.

func (PayloadDigest) Fields

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

Fields of the Digest.

func (PayloadDigest) Indexes

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

type Signature

type Signature struct {
	ent.Schema
}

Signature represents signatures on a DSSE envelope

func (Signature) Edges

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

Edges of the Signature.

func (Signature) Fields

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

Fields of the Signature.

func (Signature) Indexes

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

type Statement

type Statement struct {
	ent.Schema
}

Statement represents an in-toto statement from an archived dsse envelope

func (Statement) Edges

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

Edges of the Statement.

func (Statement) Fields

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

Fields of the Statement.

func (Statement) Indexes

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

type Subject

type Subject struct {
	ent.Schema
}

Subject represents subjects from an in-toto statement.

func (Subject) Annotations

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

func (Subject) Edges

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

Edges of the Subject.

func (Subject) Fields

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

Fields of the Subject.

func (Subject) Indexes

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

type SubjectDigest

type SubjectDigest struct {
	ent.Schema
}

SubjectDigest represents the digests of a subject from an in-toto statement

func (SubjectDigest) Edges

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

Edges of the Digest.

func (SubjectDigest) Fields

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

Fields of the Digest.

func (SubjectDigest) Indexes

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

type Timestamp

type Timestamp struct {
	ent.Schema
}

func (Timestamp) Edges

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

func (Timestamp) Fields

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

Jump to

Keyboard shortcuts

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