refactor: openpitrix module
Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
28
vendor/openpitrix.io/openpitrix/pkg/constants/frontgate.go
generated
vendored
Normal file
28
vendor/openpitrix.io/openpitrix/pkg/constants/frontgate.go
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
// Copyright 2018 The OpenPitrix Authors. All rights reserved.
|
||||
// Use of this source code is governed by a Apache license
|
||||
// that can be found in the LICENSE file.
|
||||
|
||||
package constants
|
||||
|
||||
// can use this id for internal test
|
||||
const FrontgateVersionId = "appv-ABCDEFGHIJKLMNOPQRST"
|
||||
const FrontgateAppId = "app-ABCDEFGHIJKLMNOPQRST"
|
||||
|
||||
const FrontgateDefaultConf = `
|
||||
{
|
||||
"app_id": "app-ABCDEFGHIJKLMNOPQRST",
|
||||
"version_id": "appv-ABCDEFGHIJKLMNOPQRST",
|
||||
"name": "frontgate",
|
||||
"description": "OpenPitrix built-in frontgate service",
|
||||
"subnet": "",
|
||||
"nodes": [{
|
||||
"container": {
|
||||
"type": "docker",
|
||||
"image": "openpitrix/openpitrix:metadata"
|
||||
},
|
||||
"count": 3,
|
||||
"cpu": 1,
|
||||
"memory": 1024
|
||||
}]
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user