Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToLocalConfig ¶
func ToLocalConfig(config Config, spec job.OCR2OracleSpec) types.LocalConfig
ToLocalConfig creates a OCR2 LocalConfig from the global config and the OCR2 spec.
Types ¶
type Config ¶
type Config interface { config.OCR2Config OCRDevelopmentMode() bool MercuryCredentials(credName string) *models.MercuryCredentials }
Config contains OCR2 configurations for a job.
Click to show internal directories.
Click to hide internal directories.