MCPcopy Index your code
hub / github.com/containerd/containerd / attachExistingIO

Function attachExistingIO

client/container.go:513–516  ·  view source on GitHub ↗

get the existing fifo paths from the task information stored by the daemon

(response *tasks.GetResponse, ioAttach cio.Attach)

Source from the content-addressed store, hash-verified

511
512// get the existing fifo paths from the task information stored by the daemon
513func attachExistingIO(response *tasks.GetResponse, ioAttach cio.Attach) (cio.IO, error) {
514 fifoSet := loadFifos(response)
515 return ioAttach(fifoSet)
516}
517
518// loadFifos loads the containers fifos
519func loadFifos(response *tasks.GetResponse) *cio.FIFOSet {

Callers 2

LoadProcessMethod · 0.85
loadTaskMethod · 0.85

Calls 1

loadFifosFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…