cmd

package
v0.12.0-preview.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "vega-monitoring",
	Short: "",
	Long:  ``,
}

Functions

func Execute

func Execute()

Types

type AllServices

type AllServices struct {
	Config                      *config.Config
	Log                         *logging.Logger
	StoreService                *services.StoreService
	ReadService                 *read.ReadService
	UpdateService               *update.UpdateService
	PrometheusService           *prometheus.PrometheusService
	NodeScannerService          *nodescanner.NodeScannerService
	EthereumMonitoringService   *ethereummonitoring.EthereumMonitoringService
	MetaMonitoringStatusService *metamonitoringprom.MetaMonitoringStatusService
	EthereumNodeScannerService  *ethnodescanner.EthNodeScannerService
	MonitoringService           metamonitoring.MetamonitoringService
}

func SetupServices

func SetupServices(configFilePath string, forceDebug bool) (svc AllServices, err error)

type RootArgs

type RootArgs struct {
	Debug          bool
	ConfigFilePath string
}
var Args RootArgs

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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