manager

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager manages the validator version sync process

func NewFromConfig

func NewFromConfig(cfg *config.Config) (m *Manager, err error)

NewFromConfig creates a new Manager from an already loaded config

func (*Manager) RunOnInterval

func (m *Manager) RunOnInterval(intervalDuration time.Duration) (err error)

RunOnInterval runs the sync manager continuously at the specified interval, errors are logged but not returned after parsing the interval duration string

func (*Manager) RunOnce

func (m *Manager) RunOnce() error

RunOnce runs a single sync check and exits

Jump to

Keyboard shortcuts

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