certify

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BufferChannelSize int = 1000
)

Variables

This section is empty.

Functions

func Certify

func Certify(ctx context.Context, query certifier.QueryComponents, emitter certifier.Emitter, handleErr certifier.ErrHandler, poll bool, interval time.Duration) error

Certify queries the graph DB to get the components to scan. Utilizing the registered certifiers, it generates new nodes and attestations.

func Publish

func Publish(ctx context.Context, d *processor.Document) error

Publish is used by NATS JetStream to stream the documents and send them to the processor

func RegisterCertifier

func RegisterCertifier(c func() certifier.Certifier, certifierType certifier.CertifierType) error

RegisterCertifier registers the active certifier for to generate attestations

Types

This section is empty.

Jump to

Keyboard shortcuts

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