MCPcopy
hub / github.com/docker/compose / ttyWriter

Struct ttyWriter

cmd/display/tty.go:51–65  ·  cmd/display/tty.go::ttyWriter

Source from the content-addressed store, hash-verified

49}
50
51type ttyWriter struct {
52 out io.Writer
53 ids []string // tasks ids ordered as first event appeared
54 tasks map[string]*task
55 repeated bool
56 numLines int
57 done chan bool
58 mtx *sync.Mutex
59 dryRun bool // FIXME(ndeloof) (re)implement support for dry-run
60 operation string
61 ticker *time.Ticker
62 suspended bool
63 info io.Writer
64 detached bool
65}
66
67type task struct {
68 ID string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected