Documentation ¶
Index ¶
- func CreateLink(binaryPath string)
- func FetchProtocolBinary(lavavisorPath string, autoDownload bool, ...) (selectedBinaryPath string, err error)
- func GetBinaryVersion(binaryPath string) (string, error)
- func SetupLavavisorDir(dir string) (lavavisorPath string, err error)
- func ValidateLavavisorDir(dir string) (lavavisorPath string, err error)
- type ServiceProcess
- type VersionMonitor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLink ¶ added in v0.22.0
func CreateLink(binaryPath string)
func FetchProtocolBinary ¶ added in v0.22.0
func GetBinaryVersion ¶
func SetupLavavisorDir ¶ added in v0.22.0
func ValidateLavavisorDir ¶ added in v0.22.0
Types ¶
type ServiceProcess ¶ added in v0.22.0
func StartProcess ¶
func StartProcess(processes []*ServiceProcess, process string, serviceDir string) []*ServiceProcess
type VersionMonitor ¶
type VersionMonitor struct { BinaryPath string LavavisorPath string // contains filtered or unexported fields }
func NewVersionMonitor ¶
func NewVersionMonitor(initVersion string, lavavisorPath string, processes []*ServiceProcess, autoDownload bool) *VersionMonitor
func (*VersionMonitor) MonitorVersionUpdates ¶ added in v0.22.0
func (vm *VersionMonitor) MonitorVersionUpdates(ctx context.Context)
func (*VersionMonitor) ValidateProtocolVersion ¶
func (vm *VersionMonitor) ValidateProtocolVersion(incoming *protocoltypes.Version) error
Click to show internal directories.
Click to hide internal directories.