plan

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// business
	model.Plan
	// lifecycle
	common.Debuggable
	common.Daemon
}

func New

func New(ms common.MessageSender, tm model.Task, opts ...Option) Manager

type Option

type Option func(*manager)

func WithLogDir

func WithLogDir(dir string) Option

WithLogDir is where command plans keep one log file per run, under a directory per plan. Empty keeps no files.

func WithLogger

func WithLogger(logger log.Logger) Option

func WithName

func WithName(name string) Option

func WithOutputTailBytes

func WithOutputTailBytes(n int) Option

WithOutputTailBytes is how much trailing output a command plan's run reports.

Jump to

Keyboard shortcuts

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