Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDocumentTree ¶
func ParseDocumentTree(ctx context.Context, docTree processor.DocumentTree) ([]assembler.IngestPredicates, []*common.IdentifierStrings, error)
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. |
Click to show internal directories.
Click to hide internal directories.