runner

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PipeStdout = "Stdout"
	PipeStderr = "Stderr"
)

Variables

This section is empty.

Functions

func Test

func Test() int

Types

type CSS

type CSS struct {
	Values     []string
	Stylesheet string
}

type Card

type Card struct {
	Cells  []Cell
	Stdout string
	Stderr string
	// contains filtered or unexported fields
}

type Cell

type Cell struct {
	Id      string
	Content string
}

type Error

type Error struct {
	Title string
	Err   error
}

type Heartbeat

type Heartbeat struct{}

type Meta

type Meta struct {
	BuildTime string
	RunTime   string
}

type Runner

type Runner struct {
	Id          string
	DevcardName string
	Error       error
	Updates     chan any
	// contains filtered or unexported fields
}

func Start

func Start(cfg *config.Config, dir string, meta devcard.DevcardMeta) *Runner

func StartFakeRunner

func StartFakeRunner(cfg *config.Config, err error) *Runner

func (*Runner) Restart

func (r *Runner) Restart(cfg *config.Config, err error)

func (*Runner) Shutdown

func (r *Runner) Shutdown()

type Stderr

type Stderr struct {
	Line string
}

type Stdout

type Stdout struct {
	Line string
}

type Title

type Title struct {
	Title string
}

type UpdateMessage

type UpdateMessage interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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