validate

package
v1.5.1-debug-multikeys Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 10 Imported by: 0

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.

func ValidatedOracleSpecToml

func ValidatedOracleSpecToml(config Config, tomlString string) (job.Job, error)

ValidatedOracleSpecToml validates an oracle spec that came from TOML

Types

type Config

type Config interface {
	config.OCR2Config
	Dev() bool
	LogSQL() bool
	JobPipelineResultWriteQueueDepth() uint64
}

Config contains OCR2 configurations for a job.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL