runner

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package runner provides the top app-level abstraction and entrypoint for a charon DVC instance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(shutdownCtx context.Context, conf Config) error

Run is the entrypoint for running a charon DVC instance. All processes and their dependencies are constructed and then started. Graceful shutdown is triggered on first process error or when the shutdown context is cancelled.

Types

type Config

type Config struct {
	Discovery        discovery.Config
	ClusterDir       string
	DataDir          string
	MonitoringAddr   string
	ValidatorAPIAddr string
	BeaconNodeAddr   string
	JaegerAddr       string
}

Directories

Path Synopsis
Package tracer provides a global OpenTelemetry tracer.
Package tracer provides a global OpenTelemetry tracer.

Jump to

Keyboard shortcuts

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