runtime

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncProviderArgParse added in v0.4.2

func SyncProviderArgParse(syncProviders string) ([]sync.SourceConfig, error)

func SyncProvidersFromURIs added in v0.4.2

func SyncProvidersFromURIs(uris []string) ([]sync.SourceConfig, error)

Types

type Config added in v0.1.0

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

	SyncProviders []sync.SourceConfig
	CORS          []string
}

type Runtime added in v0.1.0

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

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

func FromConfig added in v0.1.0

func FromConfig(logger *logger.Logger, 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