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

Method WithPseudoTTY

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

WithPseudoTTY will allocate a new pty and set the command stdin and stdout to it.

()

Source from the content-addressed store, hash-verified

111 WithWrapper(binary string, args ...string)
112 // WithPseudoTTY will allocate a new pty and set the command stdin and stdout to it.
113 WithPseudoTTY()
114 // WithCwd allows specifying the working directory for the command.
115 WithCwd(path string)
116 // WithTimeout defines the execution timeout for a command.

Callers 15

TestAttachFunction · 0.65
TestAttachDetachKeysFunction · 0.65
TestAttachNoStdinFunction · 0.65
TestStartDetachKeysFunction · 0.65
TestExecTTYFunction · 0.65
TestRunTTYFunction · 0.65
TestRunWithDetachKeysFunction · 0.65
TestIssue3568Function · 0.65
TestCleanupFIFOsFunction · 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
TestStartDetachKeysFunction · 0.52
TestExecTTYFunction · 0.52
TestRunTTYFunction · 0.52
TestRunWithDetachKeysFunction · 0.52
TestIssue3568Function · 0.52
TestCleanupFIFOsFunction · 0.52