Documentation
¶
Index ¶
- Constants
- func ApiEdgeToProtoMap(node *v1alpha1.TinyNode, edge *v1alpha1.TinyNodeEdge, ...) (map[string]interface{}, error)
- func ApiNodeToMap(node v1alpha1.TinyNode, data map[string]interface{}, minimal bool) map[string]interface{}
- func CheckForError(input interface{}) error
- func ExportNodes(nodesMap map[string]v1alpha1.TinyNode) ([]interface{}, error)
- func GetConfigurableDefinitions(node v1alpha1.TinyNode, from *string) map[string]*ajson.Node
- func GetEnvironmentName() string
- func GetFlowMaps(nodesMap map[string]v1alpha1.TinyNode) (map[string][]byte, map[string][]v1alpha1.TinyNodePortConfig, ...)
- func GetPortFullName(nodeID string, portName string) string
- func IsLeader(ctx context.Context) bool
- func NodesToGraph(elements map[string]v1alpha1.TinyNode, flowName *string) ([]interface{}, []interface{}, error)
- func ParseFullPortName(name string) (node string, port string)
- func RemoveSliceElement[T any](slice []T, s int) []T
- func SanitizeResourceName(in string) string
- func WithLeader(ctx context.Context, isLeader bool) context.Context
- type Destination
Constants ¶
View Source
const DefaultEnvironment = "local"
Variables ¶
This section is empty.
Functions ¶
func ApiEdgeToProtoMap ¶ added in v0.1.148
func ApiNodeToMap ¶ added in v0.1.148
func CheckForError ¶ added in v0.1.146
func CheckForError(input interface{}) error
CheckForError takes any input and returns the error if it is one, otherwise nil.
func ExportNodes ¶ added in v0.1.148
func GetConfigurableDefinitions ¶ added in v0.1.148
func GetEnvironmentName ¶
func GetEnvironmentName() string
func GetFlowMaps ¶ added in v0.1.148
func GetPortFullName ¶
func IsLeader ¶ added in v0.1.147
IsLeader checks if the current context indicates leadership status
func NodesToGraph ¶ added in v0.1.148
func ParseFullPortName ¶ added in v0.1.0
func RemoveSliceElement ¶ added in v0.1.0
func SanitizeResourceName ¶ added in v0.1.0
Types ¶
type Destination ¶ added in v0.1.148
Click to show internal directories.
Click to hide internal directories.