Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToLocalConfig ¶
func ToLocalConfig(config Config, insConf InsecureConfig, spec job.OCR2OracleSpec) types.LocalConfig
ToLocalConfig creates a OCR2 LocalConfig from the global config and the OCR2 spec.
func ValidatedOracleSpecToml ¶
func ValidatedOracleSpecToml(config Config, insConf InsecureConfig, tomlString string) (job.Job, error)
ValidatedOracleSpecToml validates an oracle spec that came from TOML
Types ¶
type Config ¶
type Config interface { config.OCR2Config }
Config contains OCR2 configurations for a job.
type InsecureConfig ¶ added in v2.3.0
type InsecureConfig interface {
OCRDevelopmentMode() bool
}
Click to show internal directories.
Click to hide internal directories.