adding inputs output struct based on argo naming for now

This commit is contained in:
mr 2025-01-29 16:21:58 +01:00
parent df2c38199c
commit b176874c2b

View File

@ -6,7 +6,6 @@ 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"`
}
// 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