utils

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultEnvironment = "local"
View Source
const StreamName = "tiny"

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(b []byte) string

func CreateComponentSubject

func CreateComponentSubject(workspaceID, componentName string) string

func GetCallbackSubject added in v0.0.4

func GetCallbackSubject() (string, error)

func GetComponentApi

func GetComponentApi(c m.Component) (*module.Component, error)

func GetComponentLookupSubject added in v0.0.4

func GetComponentLookupSubject(workspaceID string) string

func GetEnvironmentName

func GetEnvironmentName() string

func GetFlowLookupSubject added in v0.0.4

func GetFlowLookupSubject(workspaceID string) string

func GetInstanceControlSubject added in v0.0.7

func GetInstanceControlSubject(workspaceID, flowID string, ID string, port string) string

func GetInstanceInputSubject

func GetInstanceInputSubject(workspaceID, flowID string, ID string, port string) string

func GetModuleApi

func GetModuleApi(i m.Info) (*module.ModuleVersion, error)

func GetNodeStatsLookupSubject added in v0.0.5

func GetNodeStatsLookupSubject(flowID string) string

func GetNodesLookupSubject added in v0.0.4

func GetNodesLookupSubject(flowID string) string

func GetPortFullName

func GetPortFullName(nodeID string, portName string) string

func GetServerLookupSubject added in v0.0.4

func GetServerLookupSubject(workspaceID string) string

func NodeToMap

func NodeToMap(n *module.Node, data map[string]interface{}) map[string]interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL