MCPcopy Create free account
hub / github.com/docker/docker-language-server / ServeStream

Method ServeStream

internal/pkg/server/server.go:152–154  ·  view source on GitHub ↗

ServeStream is only intended to be used for the tests.

(stream io.ReadWriteCloser)

Source from the content-addressed store, hash-verified

150
151// ServeStream is only intended to be used for the tests.
152func (s *Server) ServeStream(stream io.ReadWriteCloser) {
153 s.gs.ServeStream(stream, nil)
154}
155
156func (s *Server) Initialized(context *glsp.Context, params *protocol.InitializedParams) error {
157 s.initialized = true

Callers 15

TestHoverFunction · 0.45
testHover_ComposeFunction · 0.45
testRenameFunction · 0.45
TestInlineCompletionFunction · 0.45
TestFormattingFunction · 0.45
TestDocumentLinkFunction · 0.45
testPublishDiagnosticsFunction · 0.45
TestInitializeFunction · 0.45
TestRegisterCapabilityFunction · 0.45
testPrepareRenameFunction · 0.45
TestSemanticTokensFullFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestHoverFunction · 0.36
testHover_ComposeFunction · 0.36
testRenameFunction · 0.36
TestInlineCompletionFunction · 0.36
TestFormattingFunction · 0.36
TestDocumentLinkFunction · 0.36
testPublishDiagnosticsFunction · 0.36
TestInitializeFunction · 0.36
TestRegisterCapabilityFunction · 0.36
testPrepareRenameFunction · 0.36
TestSemanticTokensFullFunction · 0.36