plugins

package
v2.8.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OraclePlugin

type OraclePlugin interface {
	// GetPluginFactory return the ocr2types.ReportingPluginFactory object for the given Plugin.
	GetPluginFactory() (plugin ocr2types.ReportingPluginFactory, err error)
	// GetServices returns any additional services that the plugin might need. This can return an empty slice when
	// there are no additional services needed.
	GetServices() (services []job.ServiceCtx, err error)
}

OraclePlugin is the interface that every OCR2 plugin needs to implement to be able to run from the generic OCR2.Delegate ServicesForSpec method.

Directories

Path Synopsis
dkg
ocr2vrf
promwrapper wraps another OCR2 reporting plugin and provides standardized prometheus metrics for each of the OCR2 phases (Query, Observation, Report, ShouldAcceptFinalizedReport, ShouldTransmitAcceptedReport, and Close).
promwrapper wraps another OCR2 reporting plugin and provides standardized prometheus metrics for each of the OCR2 phases (Query, Observation, Report, ShouldAcceptFinalizedReport, ShouldTransmitAcceptedReport, and Close).

Jump to

Keyboard shortcuts

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