borg

package
v0.0.0-...-7af3f14 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: GPL-3.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package borg is the locutus application: it provides the command that loads the configuration, builds the pipelines and runs them until it is told to stop.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(set Settings) *cobra.Command

NewCommand builds the root cobra command for the application. All flag handling, config loading, lifecycle management and signal handling live here so that distribution main packages can stay trivial.

Types

type BuildInfo

type BuildInfo struct {
	Command     string
	Description string
	Version     string
}

BuildInfo carries identifying metadata about the application binary.

type Settings

type Settings struct {
	BuildInfo BuildInfo
	Factories func() (component.Factories, error)
}

Settings is provided by the distribution's main package to configure the application. Factories is a function so that errors from MakeFactoryMap are surfaced as runtime errors rather than panics.

Directories

Path Synopsis
internal
graph
Package graph builds the pipelines from their configuration and runs their lifecycle.
Package graph builds the pipelines from their configuration and runs their lifecycle.
service
Package service builds the pipelines from their configuration and manages their lifecycle.
Package service builds the pipelines from their configuration and manages their lifecycle.

Jump to

Keyboard shortcuts

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