package project

import "github.com/igorhub/devcard/pkg/internal/project"

Index

Types

type DevcardsMetaSlice

type DevcardsMetaSlice []devcard.DevcardMeta

func (DevcardsMetaSlice) FilterByImportPath

func (ds DevcardsMetaSlice) FilterByImportPath(importPath string) DevcardsMetaSlice

func (DevcardsMetaSlice) GroupByImportPath

func (ds DevcardsMetaSlice) GroupByImportPath() []DevcardsMetaSlice

func (DevcardsMetaSlice) Lookup

func (ds DevcardsMetaSlice) Lookup(name string) devcard.DevcardMeta

type Project

type Project struct {
	config.ProjectConfig
	Module string
	// contains filtered or unexported fields
}

func NewProject

func NewProject(cfg *config.Config, projectConfig config.ProjectConfig) *Project

func (*Project) GetDevcards

func (p *Project) GetDevcards() DevcardsMetaSlice

func (*Project) GetRunner

func (p *Project) GetRunner(id string) chan any

func (*Project) Restart

func (p *Project) Restart(cfg *config.Config)

func (*Project) Shutdown

func (p *Project) Shutdown() error

func (*Project) StartRunner

func (p *Project) StartRunner(devcardName string) string

func (*Project) StopRunner

func (p *Project) StopRunner(runnerId string)

Source Files

ast.go devcards_meta_slice.go fork.go fork_main.go fork_sync.go project.go project_event_loop.go project_watch.go

Version
v0.12.0 (latest)
Published
Jun 15, 2025
Platform
linux/amd64
Imports
27 packages
Last checked
4 days ago

Tools for package owners.