added the enum to reach the /minio/secet route
This commit is contained in:
parent
cc3091d401
commit
76e9b2562e
@ -30,6 +30,7 @@ const (
|
|||||||
LIVE_STORAGE
|
LIVE_STORAGE
|
||||||
BILL
|
BILL
|
||||||
MINIO_SVCACC
|
MINIO_SVCACC
|
||||||
|
MINIO_SVCACC_SECRET
|
||||||
)
|
)
|
||||||
|
|
||||||
var NOAPI = ""
|
var NOAPI = ""
|
||||||
@ -75,6 +76,7 @@ var DefaultAPI = [...]string{
|
|||||||
DATACENTERAPI,
|
DATACENTERAPI,
|
||||||
NOAPI,
|
NOAPI,
|
||||||
MINIO,
|
MINIO,
|
||||||
|
MINIO,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bind the standard data name to the data type
|
// Bind the standard data name to the data type
|
||||||
@ -105,6 +107,7 @@ var Str = [...]string{
|
|||||||
"live_storage",
|
"live_storage",
|
||||||
"bill",
|
"bill",
|
||||||
"service_account",
|
"service_account",
|
||||||
|
"secret",
|
||||||
}
|
}
|
||||||
|
|
||||||
func FromInt(i int) string {
|
func FromInt(i int) string {
|
||||||
|
Loading…
Reference in New Issue
Block a user