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/dbs/mongo"
|
||||||
"cloud.o-forge.io/core/oc-lib/logs"
|
"cloud.o-forge.io/core/oc-lib/logs"
|
||||||
"cloud.o-forge.io/core/oc-lib/models"
|
"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"
|
"cloud.o-forge.io/core/oc-lib/models/utils"
|
||||||
"github.com/rs/zerolog"
|
"github.com/rs/zerolog"
|
||||||
)
|
)
|
||||||
@ -13,11 +12,12 @@ type LibDataEnum int
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
INVALID LibDataEnum = iota
|
INVALID LibDataEnum = iota
|
||||||
DATA = resources.DATA
|
DATA_RESOURCE = utils.DATA_RESOURCE
|
||||||
PROCESSING = resources.PROCESSING
|
PROCESSING_RESOURCE = utils.PROCESSING_RESOURCE
|
||||||
STORAGE = resources.STORAGE
|
STORAGE_RESOURCE = utils.STORAGE_RESOURCE
|
||||||
DATACENTER = resources.DATACENTER
|
DATACENTER_RESOURCE = utils.DATACENTER_RESOURCE
|
||||||
WORKFLOW = resources.WORKFLOW
|
WORKFLOW_RESOURCE = utils.WORKFLOW_RESOURCE
|
||||||
|
WORKFLOW = utils.WORKFLOW
|
||||||
)
|
)
|
||||||
|
|
||||||
func (d LibDataEnum) EnumIndex() int {
|
func (d LibDataEnum) EnumIndex() int {
|
||||||
|
Loading…
Reference in New Issue
Block a user