adding inputs output struct based on argo naming for now^C
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
package graph
|
||||
|
||||
type StorageProcessingGraphLink struct {
|
||||
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
|
||||
type GraphLink struct {
|
||||
Source Position `bson:"source" json:"source" validate:"required"` // Source is the source graphical position of the link
|
||||
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
|
||||
Source Position `bson:"source" json:"source" validate:"required"` // Source is the source graphical position of the link
|
||||
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
|
||||
StorageLinkInfo *StorageProcessingGraphLink `bson:"storage_link_info,omitempty" json:"storage_link_info,omitempty"` // StorageLinkInfo is the storage link info
|
||||
}
|
||||
|
||||
// tool function to check if a link is a link between a compute and a resource
|
||||
|
Reference in New Issue
Block a user