MCPcopy Create free account
hub / github.com/containerd/nerdctl / Feed

Method Feed

mod/tigron/test/interfaces.go:123–123  ·  view source on GitHub ↗

Feed allows passing a reader to be fed to the command stdin.

(r io.Reader)

Source from the content-addressed store, hash-verified

121 WithFeeder(fun func() io.Reader)
122 // Feed allows passing a reader to be fed to the command stdin.
123 Feed(r io.Reader)
124 // Clone returns a copy of the command.
125 Clone() TestableCommand
126

Callers 15

FeedMethod · 0.65
TestAttachFunction · 0.65
TestAttachDetachKeysFunction · 0.65
TestAttachNoStdinFunction · 0.65
TestExecStdinFunction · 0.65
TestStartDetachKeysFunction · 0.65
TestRunWithDetachKeysFunction · 0.65
TestIssue3568Function · 0.65
TestRunHostnameEnvFunction · 0.65
TestRunStdinFunction · 0.65

Implementers 1

GenericCommandmod/tigron/test/command.go

Calls

no outgoing calls

Tested by 15

TestAttachFunction · 0.52
TestAttachDetachKeysFunction · 0.52
TestAttachNoStdinFunction · 0.52
TestExecStdinFunction · 0.52
TestStartDetachKeysFunction · 0.52
TestRunWithDetachKeysFunction · 0.52
TestIssue3568Function · 0.52
TestRunHostnameEnvFunction · 0.52
TestRunStdinFunction · 0.52
TestRunAttachFlagFunction · 0.52