Versions in this module Expand all Collapse all v5 v5.8.0 Nov 17, 2026 v5.7.2 Nov 17, 2026 Changes in this version + type Backend interface + Build func(ctx context.Context, project *types.Project, options api.BuildOptions) (map[string]string, error) + CLI func() command.Cli + CreateAndStart func(ctx context.Context, project *types.Project, options api.CreateOptions) error + RemoveDanglingImages func(ctx context.Context, projectName string, keep func(image.Summary) bool) error + Restart func(ctx context.Context, projectName string, options api.RestartOptions) error + type Service struct + func New(backend Backend) *Service + func (s *Service) Rebuild(ctx context.Context, project *types.Project, services []string, ...) error + func (s *Service) Watch(ctx context.Context, project *types.Project, options api.WatchOptions) (func() error, error) + type WatchFunc func(ctx context.Context, project *types.Project, options api.WatchOptions) (func() error, error) + type Watcher struct + func NewWatcher(project *types.Project, options api.UpOptions, w WatchFunc, ...) (*Watcher, error) + func (w *Watcher) Start(ctx context.Context) error + func (w *Watcher) Stop() error