Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMedianServices ¶
func NewMedianServices(ctx context.Context, jb job.Job, isNewlyCreatedJob bool, relayer loop.Relayer, pipelineRunner pipeline.Runner, runResults chan pipeline.Run, lggr logger.Logger, argsNoPlugin libocr.OracleArgs, cfg MedianConfig, chEnhancedTelem chan ocrcommon.EnhancedTelemetryData, errorLog loop.ErrorLog, ) (srvs []job.ServiceCtx, err error)
Types ¶
type MedianConfig ¶
type MedianConfig interface { JobPipelineMaxSuccessfulRuns() uint64 plugins.RegistrarConfig }
func NewMedianConfig ¶ added in v2.2.0
func NewMedianConfig(jobPipelineMaxSuccessfulRuns uint64, pluginProcessCfg plugins.RegistrarConfig) MedianConfig
type Plugin ¶ added in v2.2.0
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) NewMedianFactory ¶ added in v2.2.0
func (p *Plugin) NewMedianFactory(ctx context.Context, provider types.MedianProvider, dataSource, juelsPerFeeCoin median.DataSource, errorLog loop.ErrorLog) (loop.ReportingPluginFactory, error)
Click to show internal directories.
Click to hide internal directories.