MCPcopy Index your code
hub / github.com/docker/cli / Close

Method Close

cli/streams/in.go:45–47  ·  view source on GitHub ↗

Close implements the [io.Closer] interface.

()

Source from the content-addressed store, hash-verified

43
44// Close implements the [io.Closer] interface.
45func (i *In) Close() error {
46 return i.in.Close()
47}
48
49// IsTerminal returns whether this stream is connected to a terminal.
50func (i *In) IsTerminal() bool {

Callers 15

ParseFunction · 0.45
TestPingFunction · 0.45
loginV2Function · 0.45
PingV2RegistryFunction · 0.45
TestConfirmFunction · 0.45
GetDeviceCodeMethod · 0.45
getDeviceTokenMethod · 0.45
RevokeTokenMethod · 0.45
GetAutoPATMethod · 0.45
TestGetDeviceCodeFunction · 0.45
TestWaitForDeviceTokenFunction · 0.45
TestRevokeFunction · 0.45

Calls

no outgoing calls

Tested by 11

TestPingFunction · 0.36
TestConfirmFunction · 0.36
TestGetDeviceCodeFunction · 0.36
TestWaitForDeviceTokenFunction · 0.36
TestRevokeFunction · 0.36
TestGetAutoPATFunction · 0.36
TestDisplayFunction · 0.36
TestSigProxyWithTTYFunction · 0.36
TestOauthLoginFunction · 0.36
TestPromptExitCodeFunction · 0.36