MCPcopy
hub / github.com/superplanehq/superplane / Widget

Interface Widget

pkg/core/widget.go:11–45  ·  view source on GitHub ↗

* * Widgets are used to represent every node not event or execution related. * Use it to display and group data in the UI canvas. */

Source from the content-addressed store, hash-verified

9 * Use it to display and group data in the UI canvas.
10 */
11type Widget interface {
12
13 /*
14 * The unique identifier for the widget.
15 * This is how nodes reference it, and is used for registration.
16 */
17 Name() string
18
19 /*
20 * The label for the widget.
21 * This is how nodes are displayed in the UI.
22 */
23 Label() string
24
25 /*
26 * A good description of what the widget does.
27 * Helpful for documentation and user interfaces.
28 */
29 Description() string
30
31 /*
32 * The icon for the widget.
33 */
34 Icon() string
35
36 /*
37 * The color for the widget.
38 */
39 Color() string
40
41 /*
42 * The configuration fields exposed by the widget.
43 */
44 Configuration() []configuration.Field
45}

Callers 48

NameMethod · 0.65
SetupMethod · 0.65
HandleWebhookMethod · 0.65
HandleHookMethod · 0.65
CleanupMethod · 0.65
OnIntegrationMessageMethod · 0.65
LabelMethod · 0.65
LabelMethod · 0.65
LabelMethod · 0.65
DescribeActionMethod · 0.65

Implementers 15

panickingActionpkg/registry/action_test.go
PanicableTriggerpkg/registry/trigger.go
panickingTriggerpkg/registry/trigger_test.go
PanicableActionpkg/registry/action.go
ForEachpkg/components/foreach/for_each.go
Approvalpkg/components/approval/approval.go
Mergepkg/components/merge/merge.go
ReadMemorypkg/components/readmemory/read_memory.
RunJSpkg/components/runner/run_javascript.g
Runnerpkg/components/runner/run_commands.go
RunPythonpkg/components/runner/run_python.go
RunBashpkg/components/runner/run_bash.go

Calls

no outgoing calls

Tested by

no test coverage detected