MCPcopy
hub / github.com/containerd/containerd / newDirectIO

Function newDirectIO

integration/client/helpers_unix_test.go:60–70  ·  view source on GitHub ↗
(ctx context.Context, terminal bool)

Source from the content-addressed store, hash-verified

58}
59
60func newDirectIO(ctx context.Context, terminal bool) (*directIO, error) {
61 fifos, err := cio.NewFIFOSetInDir("", "", terminal)
62 if err != nil {
63 return nil, err
64 }
65 dio, err := cio.NewDirectIO(ctx, fifos)
66 if err != nil {
67 return nil, err
68 }
69 return &directIO{DirectIO: *dio}, nil
70}

Callers 8

TestTaskSpecFunction · 0.70
TestCheckpointRestorePTYFunction · 0.70
TestMountAtRuntimeFunction · 0.70
TestContainerAttachFunction · 0.70
testContainerUserFunction · 0.70
TestContainerUserIDFunction · 0.70

Calls 2

NewFIFOSetInDirFunction · 0.92
NewDirectIOFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…