commands

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaximumMinPID   = 200
	SkipPIDCheckEnv = "LIGHTNINGSTREAM_NO_PID_CHECK"
)
View Source
const (
	TimeoutExitCode = 75 // picked EX_TEMPFAIL from sysexits.h
)

Variables

View Source
var LoadConfig = func(configFile string) (config.Config, error) {
	conf := config.Default()
	err := conf.LoadYAMLFile(configFile, true)
	return conf, err
}

LoadConfig loads the config file at given location

View Source
var (
	SyncerOptionsCallback func(syncer.Options, logrus.FieldLogger) syncer.Options
)

Functions

func Execute

func Execute()

func RootCommand

func RootCommand() *cobra.Command

RootCommand returns the Cobra root Command

func SetVersion

func SetVersion(v string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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