adding inputs output struct based on argo naming for now
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user