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
|
||||
BILL
|
||||
MINIO_SVCACC
|
||||
MINIO_SVCACC_SECRET
|
||||
)
|
||||
|
||||
var NOAPI = ""
|
||||
@ -75,6 +76,7 @@ var DefaultAPI = [...]string{
|
||||
DATACENTERAPI,
|
||||
NOAPI,
|
||||
MINIO,
|
||||
MINIO,
|
||||
}
|
||||
|
||||
// Bind the standard data name to the data type
|
||||
@ -105,6 +107,7 @@ var Str = [...]string{
|
||||
"live_storage",
|
||||
"bill",
|
||||
"service_account",
|
||||
"secret",
|
||||
}
|
||||
|
||||
func FromInt(i int) string {
|
||||
|
Loading…
Reference in New Issue
Block a user