copy resource in workflow

This commit is contained in:
mr
2024-07-30 12:08:13 +02:00
parent 250fefd0d8
commit 5405e91167
20 changed files with 194 additions and 33 deletions

View File

@@ -3,6 +3,7 @@ package storage
import (
"encoding/json"
"cloud.o-forge.io/core/oc-lib/models/resource_model"
"cloud.o-forge.io/core/oc-lib/models/utils"
)
@@ -12,7 +13,7 @@ type URL struct {
}
type StorageResource struct {
utils.AbstractResource
resource_model.AbstractResource
Acronym string `bson:"acronym,omitempty" json:"acronym,omitempty"`
Type string `bson:"type,omitempty" json:"type,omitempty"`
Size uint `bson:"size,omitempty" json:"size,omitempty"`