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

Function MakeQueueSinkTubeConfig

admin/utils/utils.go:58–65  ·  view source on GitHub ↗
(queueType string, topic string)

Source from the content-addressed store, hash-verified

56}
57
58func MakeQueueSinkTubeConfig(queueType string, topic string) *adminclient.ModelTubeConfig {
59 return &adminclient.ModelTubeConfig{
60 Type: queueType,
61 Config: map[string]interface{}{
62 "output": topic,
63 },
64 }
65}
66
67func GetInputTopics(f *adminclient.ModelFunction) ([]string, error) {
68 if len(f.Source) < 1 {

Callers 2

MakeMemorySinkTubeConfigFunction · 0.85
MakePulsarSinkTubeConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected