utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(b []byte) string

func CreateComponentSubject

func CreateComponentSubject(workspaceID, componentName string) string

func GetComponentApi

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

func GetEnvironmentName

func GetEnvironmentName() string

func GetInstanceInputSubject

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

func GetModuleApi

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

func GetPortFullName

func GetPortFullName(nodeID string, portName 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