adding inputs output struct based on argo naming for now

This commit is contained in:
mr 2025-01-27 11:40:10 +01:00
parent 2a373e7368
commit 24fe99cfa5
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ func (abs *DataResource) ConvertToPricedResource(
type DataInstance struct {
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 {

View File

@ -42,7 +42,7 @@ func (abs *StorageResource) ConvertToPricedResource(
type StorageResourceInstance struct {
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"`
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