Documentation
¶
Index ¶
- type CapabilitiesRegistry
- type ErrorLog
- type KeyValueStore
- type Keystore
- type MonitoringEndpointGenerator
- type OCR3ReportingPluginClient
- type OCR3ReportingPluginFactory
- type OCR3ReportingPluginServer
- type Options
- type PipelineRunnerService
- type PluginArgs
- type PluginMedian
- type RelayArgs
- type Relayer
- type RelayerSet
- type ReportingPluginClient
- type ReportingPluginServer
- type ReportingPluginServiceConfig
- type TaskResult
- type TaskResults
- type TaskValue
- type TelemetryClient
- type TelemetryClientEndpoint
- type TelemetryService
- type ValidationService
- type ValidationServiceClient
- type ValidationServiceServer
- type Vars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapabilitiesRegistry ¶
type CapabilitiesRegistry interface { Get(ctx context.Context, ID string) (capabilities.BaseCapability, error) GetTrigger(ctx context.Context, ID string) (capabilities.TriggerCapability, error) GetAction(ctx context.Context, ID string) (capabilities.ActionCapability, error) GetConsensus(ctx context.Context, ID string) (capabilities.ConsensusCapability, error) GetTarget(ctx context.Context, ID string) (capabilities.TargetCapability, error) List(ctx context.Context) ([]capabilities.BaseCapability, error) Add(ctx context.Context, c capabilities.BaseCapability) error }
type KeyValueStore ¶
type MonitoringEndpointGenerator ¶
type MonitoringEndpointGenerator interface {
GenMonitoringEndpoint(network, chainID, contractID, telemetryType string) commontypes.MonitoringEndpoint
}
type OCR3ReportingPluginClient ¶
type OCR3ReportingPluginClient interface { NewReportingPluginFactory(ctx context.Context, config ReportingPluginServiceConfig, grpcProvider grpc.ClientConnInterface, pipelineRunner PipelineRunnerService, telemetry TelemetryService, errorLog ErrorLog, capRegistry CapabilitiesRegistry, keyValueStore KeyValueStore, relayerSet RelayerSet) (OCR3ReportingPluginFactory, error) NewValidationService(ctx context.Context) (ValidationService, error) }
type OCR3ReportingPluginFactory ¶
type OCR3ReportingPluginFactory interface { services.Service ocr3types.ReportingPluginFactory[[]byte] }
type OCR3ReportingPluginServer ¶
type OCR3ReportingPluginServer[T types.PluginProvider] interface { NewReportingPluginFactory(ctx context.Context, config ReportingPluginServiceConfig, provider T, pipelineRunner PipelineRunnerService, telemetry TelemetryClient, errorLog ErrorLog, capRegistry CapabilitiesRegistry, keyValueStore KeyValueStore, relayerSet RelayerSet) (OCR3ReportingPluginFactory, error) NewValidationService(ctx context.Context) (ValidationService, error) }
type PipelineRunnerService ¶
type PluginArgs ¶
type PluginMedian ¶
type PluginMedian interface { // NewMedianFactory returns a new ReportingPluginFactory. If provider implements GRPCClientConn, it can be forwarded efficiently via proxy. NewMedianFactory(ctx context.Context, provider types.MedianProvider, dataSource, juelsPerFeeCoin, gasPriceSubunits median.DataSource, errorLog ErrorLog) (types.ReportingPluginFactory, error) }
type RelayArgs ¶
type RelayArgs struct { ContractID string RelayConfig []byte ProviderType string MercuryCredentials *types.MercuryCredentials }
type Relayer ¶
type Relayer interface { services.Service NewPluginProvider(context.Context, RelayArgs, PluginArgs) (types.PluginProvider, error) }
type RelayerSet ¶
type RelayerSet interface { Get(ctx context.Context, relayID types.RelayID) (Relayer, error) // List lists the relayers corresponding to `...types.RelayID` // returning all relayers if len(...types.RelayID) == 0. List(ctx context.Context, relayIDs ...types.RelayID) (map[types.RelayID]Relayer, error) }
type ReportingPluginClient ¶
type ReportingPluginClient interface { NewReportingPluginFactory(ctx context.Context, config ReportingPluginServiceConfig, grpcProvider grpc.ClientConnInterface, pipelineRunner PipelineRunnerService, telemetry TelemetryService, errorLog ErrorLog, keyValueStore KeyValueStore, relayerSet RelayerSet) (types.ReportingPluginFactory, error) NewValidationService(ctx context.Context) (ValidationService, error) }
ReportingPluginClient is the client interface to a plugin running as a generic job (job type = GenericPlugin) inside the core node.
type ReportingPluginServer ¶
type ReportingPluginServer[T types.PluginProvider] interface { NewReportingPluginFactory(ctx context.Context, config ReportingPluginServiceConfig, provider T, pipelineRunner PipelineRunnerService, telemetry TelemetryClient, errorLog ErrorLog, keyValueStore KeyValueStore, relayerSet RelayerSet) (types.ReportingPluginFactory, error) NewValidationService(ctx context.Context) (ValidationService, error) }
ReportingPluginServer is the server interface to a plugin running as a generic job (job type = GenericPlugin) inside the core node, with the passthrough provider connection converted to the provider expected by the plugin.
type TaskResults ¶
type TaskResults []TaskResult
func (TaskResults) FinalResults ¶
func (tr TaskResults) FinalResults() []TaskValue
type TaskValue ¶
type TaskValue struct { Error error Value jsonserializable.JSONSerializable IsTerminal bool }
type TelemetryClient ¶
type TelemetryClient interface { TelemetryService NewEndpoint(ctx context.Context, nework string, chainID string, contractID string, telemetryType string) (TelemetryClientEndpoint, error) }
type TelemetryClientEndpoint ¶
type TelemetryService ¶
type ValidationService ¶
type ValidationServiceClient ¶
type ValidationServiceServer ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.