Versions in this module Expand all Collapse all v5 v5.7.1 Nov 11, 2026 Changes in this version + func SinceLastRun(ctr container.InspectResponse) string + type Backend interface + CLI func() command.Cli + type Cursor struct + type Cursors struct + func NewCursors() *Cursors + func (c *Cursors) Enter(id string) *Turn + type Monitor struct + func NewMonitor(apiClient client.APIClient, project string) *Monitor + func (c *Monitor) ReadDaemonTime(ctx context.Context) error + func (c *Monitor) Start(ctx context.Context) error + func (c *Monitor) WithListener(listener api.ContainerEventListener) + func (c *Monitor) WithServices(services []string) + type Printer interface + HandleEvent func(event api.ContainerEvent) + func NewPrinter(consumer api.LogConsumer) Printer + type RunEndTracker struct + func NewRunEndTracker() *RunEndTracker + func (t *RunEndTracker) Observe(e api.ContainerEvent) + func (t *RunEndTracker) Since(containerID string) string + type Service struct + func New(backend Backend) *Service + func (s *Service) Attach(ctx context.Context, projectName string, options api.AttachOptions) error + func (s *Service) AttachContainer(ctx context.Context, service, id, name string, ...) error + func (s *Service) AttachContainers(ctx context.Context, project *types.Project, ...) ([]container.Summary, error) + func (s *Service) DoLogContainer(ctx context.Context, limiter *semaphore.Weighted, consumer api.LogConsumer, ...) error + func (s *Service) FollowStartedContainersLogs(ctx context.Context, eg *errgroup.Group, limiter *semaphore.Weighted, ...) api.ContainerEventListener + func (s *Service) InspectWithSlot(ctx context.Context, limiter *semaphore.Weighted, id string) (container.InspectResponse, error) + func (s *Service) Logs(ctx context.Context, projectName string, consumer api.LogConsumer, ...) error + type Turn struct + Cursor *Cursor + func (t *Turn) End() + func (t *Turn) Wait(ctx context.Context) error