package runner
import "github.com/igorhub/devcard/pkg/internal/runner"
Index ¶
- Constants
- func Test() int
- type CSS
- type Card
- type Cell
- type Error
- type Heartbeat
- type Meta
- type Runner
- func Start(cfg *config.Config, dir string, meta devcard.DevcardMeta) *Runner
- func StartFakeRunner(cfg *config.Config, err error) *Runner
- func (r *Runner) Restart(cfg *config.Config, err error)
- func (r *Runner) Shutdown()
- type Stderr
- type Stdout
- type Title
- type UpdateMessage
Constants ¶
const ( PipeStdout = "Stdout" PipeStderr = "Stderr" )
Functions ¶
func Test ¶
func Test() int
Types ¶
type CSS ¶
type Card ¶
type Card struct { Cells []Cell Stdout string Stderr string // contains filtered or unexported fields }
type Cell ¶
type Error ¶
type Heartbeat ¶
type Heartbeat struct{}
type Meta ¶
type Runner ¶
type Runner struct { Id string DevcardName string Error error Updates chan any // contains filtered or unexported fields }
func Start ¶
func StartFakeRunner ¶
func (*Runner) Restart ¶
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
}
Source Files ¶
card.go css.go run.go runner.go test.go
- Version
- v0.12.0 (latest)
- Published
- Jun 15, 2025
- Platform
- linux/amd64
- Imports
- 21 packages
- Last checked
- 2 days ago –
Tools for package owners.