Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Median ¶
type Median struct {
// contains filtered or unexported fields
}
The Median struct holds parameters needed to run a Median plugin.
func NewMedian ¶
func NewMedian(jb job.Job, ocr2Provider types.MedianProvider, pipelineRunner pipeline.Runner, runResults chan pipeline.Run, lggr logger.Logger, ocrLogger commontypes.Logger) (*Median, error)
NewMedian parses the arguments and returns a new Median struct.
func (*Median) GetPluginFactory ¶
func (m *Median) GetPluginFactory() (ocr2types.ReportingPluginFactory, error)
GetPluginFactory return a median.NumericalMedianFactory.
func (*Median) GetServices ¶
func (m *Median) GetServices() ([]job.ServiceCtx, error)
GetServices return an empty Service slice because Median does not need any services besides the generic OCR2 ones supplied in the OCR2 delegate. This method exists to satisfy the plugins.OraclePlugin interface.
Click to show internal directories.
Click to hide internal directories.