(queueType string, topic string)
| 56 | } |
| 57 | |
| 58 | func 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 | |
| 67 | func GetInputTopics(f *adminclient.ModelFunction) ([]string, error) { |
| 68 | if len(f.Source) < 1 { |
no outgoing calls
no test coverage detected