bootstrap

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package bootstrap provides shared supervisor wiring for CLI commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepare

func Prepare(lc lifecycle.Getter) *supervisor.Manager

Prepare returns a Manager with debug endpoints registered.

func Run

func Run(ctx context.Context, manager *supervisor.Manager) error

Run starts all services on a prepared manager.

func RunServices

func RunServices(ctx context.Context, lc lifecycle.Getter, services []supervisor.Service) error

RunServices creates a manager, registers services, and runs until shutdown.

Types

This section is empty.

Jump to

Keyboard shortcuts

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