manager

package
v0.0.0-...-01ca449 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"live/manager",
	fx.Provide(
		NewFileStateStore,
		NewProcessSpawner,
		provideInstanceManager,
	),
	fx.Invoke(initializeInstanceManager),
)

Module provides the manager components via Fx

Functions

func NewFileStateStore

func NewFileStateStore() (live.StateStore, error)

NewFileStateStore creates a new file-based state store at ~/.kronos/.instances.json

func NewInstanceManager

func NewInstanceManager(
	stateStore live.StateStore,
	spawner live.ProcessSpawner,
	logger logging.ApplicationLogger,
) live.InstanceManager

NewInstanceManager creates a new instance manager

func NewProcessSpawner

func NewProcessSpawner(logger logging.ApplicationLogger) live.ProcessSpawner

NewProcessSpawner creates a new process spawner

Types

This section is empty.

Jump to

Keyboard shortcuts

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