MCPcopy Create free account

hub / github.com/ForestHubAI/edge-agents / functions

Functions2,454 in github.com/ForestHubAI/edge-agents

FunctionNewMockTool
NewMockTool creates a new instance of MockTool. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectati
go/llmproxy/mocks_test.go:748
FunctionNewMockToolProvider
NewMockToolProvider creates a new instance of MockToolProvider. It also registers a testing interface on the mock and a cleanup function to assert the
go/engine/mocks_test.go:823
FunctionNewMockTrigger
NewMockTrigger creates a new instance of MockTrigger. It also registers a testing interface on the mock and a cleanup function to assert the mocks exp
go/engine/mocks_test.go:145
FunctionNewMockWirable
NewMockWirable creates a new instance of MockWirable. It also registers a testing interface on the mock and a cleanup function to assert the mocks exp
go/engine/mocks_test.go:17
FunctionNewMqttPublish
NewMqttPublish builds an MqttPublish bound to the given MQTT channel.
go/engine/node/mqttpublish.go:36
FunctionNewOnMqttMessage
NewOnMqttMessage creates a new OnMqttMessage trigger.
go/engine/node/trigger/onmqttmessage.go:35
FunctionNewOnPinEdge
NewOnPinEdge subscribes to the channel's edge stream and returns the trigger.
go/engine/node/trigger/pinedge.go:32
FunctionNewOnSerialReceive
NewOnSerialReceive creates a new OnSerialReceive trigger.
go/engine/node/trigger/serialreceive.go:29
FunctionNewReadPinAnalog
NewReadPinAnalog builds a ReadPin bound to an ADC channel.
go/engine/node/pinread.go:50
FunctionNewReadPinDigital
NewReadPinDigital builds a ReadPin bound to a GPIO input channel.
go/engine/node/pinread.go:39
FunctionNewRegistry
NewRegistry opens every MQTT transport in the deploy's external resources, keyed by external resource id. On any failure transports opened so far are
go/engine/transport/registry.go:24
FunctionNewRegistry
NewRegistry opens every driver declared in the manifest. On any failure, drivers opened so far are closed before returning, so callers never see a par
go/engine/driver/registry.go:27
FunctionNewResponseFormat
NewResponseFormat creates a new ResponseFormat based on the provided type T. T can not have fields marked as 'omitempty' to ensure required fields in
go/llmproxy/types.go:98
FunctionNewRetriever
NewRetriever builds a Retriever. Fails the build path if rag is nil; tool path will fail at invocation time through the same nil check.
go/engine/node/retriever.go:48
FunctionNewRunner
NewRunner creates a new Runner with the given model.
go/llmproxy/agent/runner.go:26
FunctionNewSerialRead
NewSerialRead builds a SerialRead bound to the given UART channel. prompt may be empty.
go/engine/node/serialread.go:39
FunctionNewSerialWrite
NewSerialWrite builds a SerialWrite bound to the given text channel.
go/engine/node/serialwrite.go:32
FunctionNewStrictHandler
(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc)
go/api/engineapi/server.gen.go:154
FunctionNewStrictHandlerWithOptions
(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions)
go/api/engineapi/server.gen.go:165
FunctionNewWebFetch
NewWebFetch builds a WebFetch node. maxChars <= 0 falls back to the default cap.
go/engine/node/webfetch.go:76
FunctionNewWebSearchTool
NewWebSearchTool builds a WebSearchTool node bound to the given provider. provider may be nil; the build path is expected to reject that case so a mis
go/engine/node/websearchtool.go:44
FunctionNewWritePinDAC
NewWritePinDAC builds a WritePin bound to a DAC output channel.
go/engine/node/pinwrite.go:55
FunctionNewWritePinDigital
NewWritePinDigital builds a WritePin bound to a GPIO output channel.
go/engine/node/pinwrite.go:37
FunctionNewWritePinPWM
NewWritePinPWM builds a WritePin bound to a PWM output channel.
go/engine/node/pinwrite.go:46
FunctionNodeConfigPanel
({ canvasId, selectedNode, onNodeUpdate, onNodeDelete, onClose, onOpenTest, getNodeDef, }: NodeC
ts/workflow-builder/src/panels/NodeConfigPanel.tsx:55
FunctionNodeLibrary
({ onAddNode, nodeDefinitions, getAllCategories, functions, isFunctionCanvas, }: NodeLibraryProps)
ts/workflow-builder/src/panels/NodeLibrary.tsx:122
FunctionNodePickerDialog
({ open, onOpenChange, compatibleDefs, onSelect }: NodePickerDialogProps)
ts/workflow-builder/src/dialogs/NodePickerDialog.tsx:36
FunctionOpenADC
OpenADC builds an in-memory debug ADCDriver for the named device. Non-linux only; linux builds get the IIO-backed version in adc_linux.go.
go/engine/driver/adc_debug.go:30
FunctionOpenDAC
OpenDAC builds an in-memory debug DACDriver for the named device. Non-linux only; linux builds get the IIO-backed version in dac_linux.go.
go/engine/driver/dac_debug.go:30
FunctionOpenGPIO
OpenGPIO acquires the chip handle for the named chip and returns a live cdev-backed GPIODriver. gpiocdev.NewChip accepts either a short name ("gpiochi
go/engine/driver/gpio_linux.go:39
FunctionOpenPWM
OpenPWM opens the PWM chip at chipDir (a sysfs directory). The path must exist and be a directory; individual channels are exported lazily in Configur
go/engine/driver/pwm_linux.go:50
MethodOutputs
Outputs provides a mock function for the type MockEmitter
go/engine/mocks_test.go:698
MethodOutputs
Outputs is a helper method to define mock.On call
go/engine/mocks_test.go:722
MethodOutputs
()
go/engine/scope_test.go:277
MethodOutputs
()
go/engine/function_test.go:32
MethodOutputs
()
go/engine/node/webfetch.go:88
MethodOutputs
Outputs declares the single "output" slot — a string line. Returns it only if the binding is emit-mode (assign/discard don't materialize a variable).
go/engine/node/serialread.go:69
MethodOutputs
()
go/engine/node/retriever.go:73
MethodOutputs
()
go/engine/node/pinread.go:71
MethodOutputs
()
go/engine/node/agent.go:99
MethodOutputs
()
go/engine/node/trigger/serialreceive.go:37
MethodOutputs
()
go/engine/node/trigger/onmqttmessage.go:48
MethodOutputs
Outputs advertises the triggering-value slot only when an emit-mode binding is configured — matches the convention used elsewhere for optional outputs
go/engine/node/trigger/threshold.go:62
FunctionOutputsSection
({ canvasId, node, nodeDefinition, onNodeUpdate, nodeDiags, }: { canvasId: string; node: NodeDat
ts/workflow-builder/src/panels/NodeConfigPanel.tsx:267
MethodPWM
(id string)
go/engine/driver/registry.go:85
FunctionParameterEditor
({ canvasId, parameter, value, allArguments, onChange, errors, translationPrefix, }: ParameterEd
ts/workflow-builder/src/inputs/ParameterEditor.tsx:107
FunctionParameterTooltip
({ parameters, t })
ts/workflow-builder/src/panels/NodeLibrary.tsx:68
FunctionParseLevel
ParseLevel parses a case-insensitive level name. Empty input yields InfoLevel with no error so the default boot path stays clean.
go/logging/logger.go:103
FunctionPortHandle
({ id, nodeId, type, position, portType, label, style, disabled, showPlus, }: PortHandleProp
ts/workflow-builder/src/graph/PortHandle.tsx:28
FunctionPortRow
* One declaration row, styled like the node Outputs rows (a `bg-card` shadow card): * a header with name + dataType + remove, plus an optional body (
ts/workflow-builder/src/inputs/PortSection.tsx:28
FunctionPortSection
({ title, description, addLabel, emptyText, ports, onAdd, onUpdate, onRemove, errorsFor, r
ts/workflow-builder/src/inputs/PortSection.tsx:95
MethodProviderID
()
go/llmproxy/provider.go:41
MethodProviderID
ProviderID provides a mock function for the type MockProvider
go/llmproxy/mocks_test.go:436
MethodProviderID
ProviderID is a helper method to define mock.On call
go/llmproxy/mocks_test.go:458
MethodProviderID
ProviderID provides a mock function for the type MockEmbedder
go/llmproxy/mocks_test.go:703
MethodProviderID
ProviderID is a helper method to define mock.On call
go/llmproxy/mocks_test.go:725
MethodProviderID
ProviderID returns the unique identifier of the LLM provider.
go/llmproxy/provider/gemini/provider.go:65
MethodProviderID
ProviderID returns the unique identifier of this provider.
go/llmproxy/provider/selfhosted/provider.go:84
MethodProviderID
ProviderID returns the unique identifier of the LLM provider.
go/llmproxy/provider/mistral/provider.go:47
MethodProviderID
ProviderID returns the unique identifier of the LLM provider.
go/llmproxy/provider/anthropic/provider.go:46
MethodProviderID
ProviderID returns the unique identifier of the LLM provider.
go/llmproxy/provider/openai/provider.go:51
MethodProviderID
()
go/engine/backend/llm.go:68
FunctionProvidersToAPI
ProvidersToAPI converts provider info to its API representation.
go/mapping/llm.go:180
FunctionProvidersToDomain
ProvidersToDomain converts a list of api ProviderInfo back to llmproxy form.
go/mapping/llm.go:357
FunctionPtr
Ptr is a helper function to create a pointer to a value
go/util/pointer/pointer.go:9
MethodPublish
(topic string, payload []byte, qos byte, retain bool)
go/engine/transport/mqtt.go:74
MethodPublish
Publish prepends the configured PublishPrefix to topic and forwards to the transport. Topic must not be empty and must not contain MQTT wildcards (+,
go/engine/channel/mqtt.go:26
MethodQueryRAG
QueryRAG provides a mock function for the type MockRetriever
go/engine/mocks_test.go:1026
MethodQueryRAG
QueryRAG is a helper method to define mock.On call - ctx context.Context - params RAGQueryParams
go/engine/mocks_test.go:1061
MethodRange
Range iterates over entries in insertion order
go/util/linkedmap/linkedmap.go:69
MethodRead
Read blocks until one line arrives.
go/engine/channel/uart.go:30
MethodRead
Read samples the pin's current digital level synchronously.
go/engine/channel/gpioinput.go:37
MethodRead
()
go/engine/channel/adc.go:19
MethodRead
Read blocks until one line arrives, claiming the single waiter slot for the duration. Errors if another Read is already in flight.
go/engine/driver/serial_impl.go:106
MethodReadAnalog
ReadAnalog returns the channel reading in millivolts using the IIO ABI convention: value_mV = (raw + offset) * scale. Missing scale/offset files fall
go/engine/driver/adc_linux.go:73
MethodReadAnalog
(channel int)
go/engine/driver/adc_debug.go:47
MethodReadDigital
(line int)
go/engine/driver/gpio_debug.go:71
MethodReadDigital
(offset int)
go/engine/driver/gpio_linux.go:127
FunctionReadOnlyBanner
()
ts/workflow-builder/src/components/ui/readonly-banner.tsx:12
FunctionReferenceSelect
Shared Select component for all reference-select parameter types
ts/workflow-builder/src/inputs/ParameterEditor.tsx:42
FunctionResizableHandle
({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle>
ts/workflow-builder/src/components/ui/resizable.tsx:25
FunctionResizablePanelGroup
({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>)
ts/workflow-builder/src/components/ui/resizable.tsx:10
MethodResolve
Resolve implements expr.VarResolver.
go/engine/scope.go:62
MethodResolve
(ref workflow.Reference)
go/engine/expr/expression_test.go:19
FunctionResourceConfigPanel
({ resetKey, label, labelTitle, onLabelChange, description, belowLabel, parameters, getValue,
ts/workflow-builder/src/panels/ResourceConfigPanel.tsx:51
FunctionResourceListPanel
({ items, selectedId, onSelect, diagnosticsSlot, badge, emptyIcon: EmptyIcon, emptyText, empty
ts/workflow-builder/src/panels/ResourceListPanel.tsx:45
FunctionResourceMappingToDomain
ResourceMappingToDomain maps the wire ResourceMapping (workflow resource id -> binding) onto the engine domain type at the HTTP boundary.
go/mapping/engine.go:87
FunctionRetry
Retry ends a TRANSIENT boot failure: the cause may clear on a later start, so it exits nonzero (1) and the orchestrator may restart the container; the
go/component/boot/boot.go:27
MethodReturn
()
go/llmproxy/mocks_test.go:63
MethodReturn
(s string)
go/llmproxy/mocks_test.go:134
MethodReturn
()
go/llmproxy/mocks_test.go:167
MethodReturn
(modelInfos []ModelInfo)
go/llmproxy/mocks_test.go:240
MethodReturn
(chatResponse *ChatResponse, err error)
go/llmproxy/mocks_test.go:308
MethodReturn
(b bool, err error)
go/llmproxy/mocks_test.go:374
MethodReturn
(err error)
go/llmproxy/mocks_test.go:425
MethodReturn
(providerID ProviderID)
go/llmproxy/mocks_test.go:469
MethodReturn
(fileUploadResponse *FileUploadResponse, err error)
go/llmproxy/mocks_test.go:537
MethodReturn
(embeddingResponse *EmbeddingResponse, err error)
go/llmproxy/mocks_test.go:632
MethodReturn
(n int, err error)
go/llmproxy/mocks_test.go:692
MethodReturn
(providerID ProviderID)
go/llmproxy/mocks_test.go:736
← previousnext →1,701–1,800 of 2,454, ranked by callers