adding inputs output struct based on argo naming for now
This commit is contained in:
parent
df2c38199c
commit
b176874c2b
@ -6,7 +6,6 @@ type StorageProcessingGraphLink struct {
|
|||||||
Write bool `json:"write" bson:"write"`
|
Write bool `json:"write" bson:"write"`
|
||||||
Source string `json:"source" bson:"source"`
|
Source string `json:"source" bson:"source"`
|
||||||
Destination string `json:"destination" bson:"destination"`
|
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
|
// 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
|
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
|
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
|
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
|
// tool function to check if a link is a link between a compute and a resource
|
||||||
|
Loading…
Reference in New Issue
Block a user