MCPcopy Index your code
hub / github.com/docker/docker-agent / newScriptedConnector

Function newScriptedConnector

pkg/tools/lifecycle/supervisor_test.go:104–109  ·  view source on GitHub ↗
(steps ...scriptStep)

Source from the content-addressed store, hash-verified

102}
103
104func newScriptedConnector(steps ...scriptStep) *scriptedConnector {
105 return &scriptedConnector{
106 scripts: steps,
107 delivered: make(chan *fakeSession, len(steps)),
108 }
109}
110
111func (c *scriptedConnector) Connect(context.Context) (lifecycle.Session, error) {
112 c.calls.Add(1)

Calls

no outgoing calls

Tested by

no test coverage detected