MCPcopy Index your code
hub / github.com/FunctionStream/function-stream / WithTubeFactoryBuilders

Function WithTubeFactoryBuilders

server/server.go:122–131  ·  view source on GitHub ↗
(
	builder map[string]func(configMap common.ConfigMap,
	) (contube.TubeFactory, error))

Source from the content-addressed store, hash-verified

120}
121
122func WithTubeFactoryBuilders(
123 builder map[string]func(configMap common.ConfigMap,
124 ) (contube.TubeFactory, error)) ServerOption {
125 return serverOptionFunc(func(o *serverOptions) (*serverOptions, error) {
126 for n, b := range builder {
127 o.tubeFactoryBuilders[n] = b
128 }
129 return o, nil
130 })
131}
132
133func WithRuntimeFactoryBuilder(
134 name string,

Callers 3

execFunction · 0.92
NewDefaultServerFunction · 0.85
startStandaloneSvrFunction · 0.85

Calls 1

serverOptionFuncFuncType · 0.85

Tested by 1

startStandaloneSvrFunction · 0.68