apropriate db
This commit is contained in:
parent
742bcd1acf
commit
df556f7c7a
@ -4,7 +4,6 @@ import (
|
||||
"cloud.o-forge.io/core/oc-lib/dbs/mongo"
|
||||
"cloud.o-forge.io/core/oc-lib/logs"
|
||||
"cloud.o-forge.io/core/oc-lib/models"
|
||||
"cloud.o-forge.io/core/oc-lib/models/resources"
|
||||
"cloud.o-forge.io/core/oc-lib/models/utils"
|
||||
"github.com/rs/zerolog"
|
||||
)
|
||||
@ -13,11 +12,12 @@ type LibDataEnum int
|
||||
|
||||
const (
|
||||
INVALID LibDataEnum = iota
|
||||
DATA = resources.DATA
|
||||
PROCESSING = resources.PROCESSING
|
||||
STORAGE = resources.STORAGE
|
||||
DATACENTER = resources.DATACENTER
|
||||
WORKFLOW = resources.WORKFLOW
|
||||
DATA_RESOURCE = utils.DATA_RESOURCE
|
||||
PROCESSING_RESOURCE = utils.PROCESSING_RESOURCE
|
||||
STORAGE_RESOURCE = utils.STORAGE_RESOURCE
|
||||
DATACENTER_RESOURCE = utils.DATACENTER_RESOURCE
|
||||
WORKFLOW_RESOURCE = utils.WORKFLOW_RESOURCE
|
||||
WORKFLOW = utils.WORKFLOW
|
||||
)
|
||||
|
||||
func (d LibDataEnum) EnumIndex() int {
|
||||
|
Loading…
Reference in New Issue
Block a user