plugins

package
v1.13.1-beta0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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