adding inputs output struct based on argo naming for now
This commit is contained in:
parent
2a373e7368
commit
24fe99cfa5
@ -50,7 +50,7 @@ func (abs *DataResource) ConvertToPricedResource(
|
|||||||
|
|
||||||
type DataInstance struct {
|
type DataInstance struct {
|
||||||
ResourceInstance[*DataResourcePartnership]
|
ResourceInstance[*DataResourcePartnership]
|
||||||
Source string `json:"source,omitempty" bson:"source,omitempty"` // Source is the source of the data
|
Source string `json:"source" bson:"source"` // Source is the source of the data
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataResourcePartnership struct {
|
type DataResourcePartnership struct {
|
||||||
|
@ -42,7 +42,7 @@ func (abs *StorageResource) ConvertToPricedResource(
|
|||||||
|
|
||||||
type StorageResourceInstance struct {
|
type StorageResourceInstance struct {
|
||||||
ResourceInstance[*StorageResourcePartnership]
|
ResourceInstance[*StorageResourcePartnership]
|
||||||
Source string `bson:"source,omitempty" json:"source,omitempty"` // Source is the source of the storage
|
Source string `bson:"source" json:"source"` // Source is the source of the storage
|
||||||
Local bool `bson:"local" json:"local"`
|
Local bool `bson:"local" json:"local"`
|
||||||
SecurityLevel string `bson:"security_level,omitempty" json:"security_level,omitempty"`
|
SecurityLevel string `bson:"security_level,omitempty" json:"security_level,omitempty"`
|
||||||
SizeType enum.StorageSize `bson:"size_type" json:"size_type" default:"0"` // SizeType is the type of the storage size
|
SizeType enum.StorageSize `bson:"size_type" json:"size_type" default:"0"` // SizeType is the type of the storage size
|
||||||
|
Loading…
Reference in New Issue
Block a user