runtime

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.1.0

type Config struct {
	ServicePort       int32
	MetricsPort       int32
	ServiceSocketPath string
	ServiceCertPath   string
	ServiceKeyPath    string

	SyncProvider    string
	ProviderArgs    sync.ProviderArgs
	SyncURI         []string
	SyncBearerToken string

	Evaluator string
	CORS      []string
}

type Runtime added in v0.1.0

type Runtime struct {
	Service  service.IService
	SyncImpl []sync.ISync

	Evaluator eval.IEvaluator
	Logger    *log.Entry
	// contains filtered or unexported fields
}

func FromConfig added in v0.1.0

func FromConfig(config Config) (*Runtime, error)

func (*Runtime) Start added in v0.1.0

func (r *Runtime) Start() error

Jump to

Keyboard shortcuts

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