actions

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendGlobalTriggerFields added in v0.0.43

func AppendGlobalTriggerFields(fields []configuration.Field) []configuration.Field

func CheckForCycles

func CheckForCycles(nodes []*componentpb.Node, edges []*componentpb.Edge) error

Verify if the workflow is acyclic using topological sort algorithm - kahn's - to detect cycles

func ConfigurationFieldToProto

func ConfigurationFieldToProto(field configuration.Field) *configpb.Field

func DomainTypeToProto

func DomainTypeToProto(domainType string) pbAuth.DomainType

func EdgesToProto

func EdgesToProto(edges []models.Edge) []*componentpb.Edge

func FindShadowedNameWarnings added in v0.1.6

func FindShadowedNameWarnings(nodes []*componentpb.Node, edges []*componentpb.Edge) map[string]string

FindShadowedNameWarnings detects nodes with duplicate names within connected components. Only nodes that are connected (directly or transitively) and share the same name will be flagged. Returns a map of node ID -> warning message.

func NodeTypeToProto

func NodeTypeToProto(nodeType string) componentpb.Node_Type

func NodesToProto

func NodesToProto(nodes []models.Node) []*componentpb.Node

func PositionToProto

func PositionToProto(position models.Position) *componentpb.Position

func ProtoToConfigurationField

func ProtoToConfigurationField(pbField *configpb.Field) configuration.Field

func ProtoToEdges

func ProtoToEdges(edges []*componentpb.Edge) []models.Edge

func ProtoToNodeRef

func ProtoToNodeRef(node *componentpb.Node) models.NodeRef

func ProtoToNodeType

func ProtoToNodeType(nodeType componentpb.Node_Type) string

func ProtoToNodes

func ProtoToNodes(nodes []*componentpb.Node) []models.Node

func ProtoToPosition

func ProtoToPosition(position *componentpb.Position) models.Position

func SerializeComponents

func SerializeComponents(in []core.Component) []*componentpb.Component

func SerializeTriggers

func SerializeTriggers(in []core.Trigger) []*triggerpb.Trigger

func SerializeWidgets added in v0.0.18

func SerializeWidgets(in []core.Widget) []*widgetpb.Widget

func ToStatus added in v0.0.43

func ToStatus(err error) error

ToStatus converts non-status errors into a sanitized gRPC status error.

func ValidateUUIDs

func ValidateUUIDs(ids ...string) error

func ValidateUUIDsArray

func ValidateUUIDsArray(ids []string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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