parser

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDocumentTree

ParseDocumentTree takes the DocumentTree and create graph inputs (nodes and edges) per document node.

func RegisterDocumentParser

func RegisterDocumentParser(p func() common.DocumentParser, d processor.DocumentType) error

func Subscribe

func Subscribe(ctx context.Context, transportFunc func([]assembler.IngestPredicates, []*common.IdentifierStrings) error) error

Subscribe is used by NATS JetStream to stream the documents received from the processor and parse them via ParseDocumentTree The context contains the jetstream.

Types

This section is empty.

Directories

Path Synopsis
ingest_predicates is a parser that is generally unsafe due to the fact that it does not validate the facts that it is emiting without a backing attestations.
ingest_predicates is a parser that is generally unsafe due to the fact that it does not validate the facts that it is emiting without a backing attestations.
Package vuln attestation parser parses the attestation defined by by the certifier using the predicate type "https://in-toto.io/attestation/vuln/v0.1" Three different types of ingest predicates are created.
Package vuln attestation parser parses the attestation defined by by the certifier using the predicate type "https://in-toto.io/attestation/vuln/v0.1" Three different types of ingest predicates are created.

Jump to

Keyboard shortcuts

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