From b176874c2bf1f97735911ca024e297fdef213318 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 29 Jan 2025 16:21:58 +0100 Subject: [PATCH] adding inputs output struct based on argo naming for now --- models/workflow/graph/link.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/workflow/graph/link.go b/models/workflow/graph/link.go index 030779c..be389c4 100644 --- a/models/workflow/graph/link.go +++ b/models/workflow/graph/link.go @@ -3,10 +3,9 @@ package graph import "cloud.o-forge.io/core/oc-lib/models/common/models" type StorageProcessingGraphLink struct { - Write bool `json:"write" bson:"write"` - Source string `json:"source" bson:"source"` - Destination string `json:"destination" bson:"destination"` - Env []models.Param `json:"env" bson:"env"` + Write bool `json:"write" bson:"write"` + Source string `json:"source" bson:"source"` + Destination string `json:"destination" bson:"destination"` } // GraphLink is a struct that represents a link between two items in a graph @@ -15,6 +14,7 @@ type GraphLink struct { Destination Position `bson:"destination" json:"destination" validate:"required"` // Destination is the destination graphical position of the link Style *GraphLinkStyle `bson:"style,omitempty" json:"style,omitempty"` // Style is the graphical style of the link StorageLinkInfos []StorageProcessingGraphLink `bson:"storage_link_infos,omitempty" json:"storage_link_infos,omitempty"` // StorageLinkInfo is the storage link info + Env []models.Param `json:"env" bson:"env"` } // tool function to check if a link is a link between a compute and a resource