services

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRemoteBLSKeyFile

func GetRemoteBLSKeyFile() string

func GetRemoteOdysseyDChainConfig

func GetRemoteOdysseyDChainConfig() string

func GetRemoteOdysseyGenesis

func GetRemoteOdysseyGenesis() string

func GetRemoteOdysseyNodeConfig

func GetRemoteOdysseyNodeConfig() string

func GrafanaFoldersToCreate

func GrafanaFoldersToCreate() []string

func LokiFoldersToCreate

func LokiFoldersToCreate() []string

func OdysseyFolderToCreate

func OdysseyFolderToCreate() []string

func PrometheusFoldersToCreate

func PrometheusFoldersToCreate() []string

func PromtailFoldersToCreate

func PromtailFoldersToCreate() []string

func RemoteFoldersToCreateMonitoring

func RemoteFoldersToCreateMonitoring() []string

RemoteFoldersToCreateMonitoring returns a list of folders that need to be created on the remote Monitoring server

func RemoteFoldersToCreateOdysseygo

func RemoteFoldersToCreateOdysseygo() []string

RemoteFoldersToCreateOdysseygo returns a list of folders that need to be created on the remote Odysseygo server

func RenderGrafanaConfig

func RenderGrafanaConfig() ([]byte, error)

func RenderGrafanaDashboardConfig

func RenderGrafanaDashboardConfig() ([]byte, error)

func RenderGrafanaLokiDataSourceConfig

func RenderGrafanaLokiDataSourceConfig() ([]byte, error)

func RenderGrafanaPrometheusDataSourceConfigg

func RenderGrafanaPrometheusDataSourceConfigg() ([]byte, error)

func RenderOdysseyDChainConfig

func RenderOdysseyDChainConfig(config OdysseyConfigInputs) ([]byte, error)

func RenderOdysseyNodeConfig

func RenderOdysseyNodeConfig(config OdysseyConfigInputs) ([]byte, error)

func RenderOdysseyTemplate

func RenderOdysseyTemplate(templateName string, config OdysseyConfigInputs) ([]byte, error)

Types

type OdysseyConfigInputs

type OdysseyConfigInputs struct {
	HTTPHost         string
	APIAdminEnabled  bool
	IndexEnabled     bool
	NetworkID        string
	DBDir            string
	LogDir           string
	PublicIP         string
	StateSyncEnabled bool
	PruningEnabled   bool
	TrackSubnets     string
	BootstrapIDs     string
	BootstrapIPs     string
	GenesisPath      string
}

func PrepareOdysseyConfig

func PrepareOdysseyConfig(publicIP string, networkID string, subnetsToTrack []string) OdysseyConfigInputs

Jump to

Keyboard shortcuts

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