mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-06 16:25:21 -04:00
Restructure config and constants
This commit is contained in:
parent
66bb632a69
commit
1a9b33d738
18 changed files with 134 additions and 112 deletions
29
internal/constants/constants.go
Normal file
29
internal/constants/constants.go
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
Package constants contains the constants used by Constellation.
|
||||
Constants should never be overwritable by command line flags or configuration files.
|
||||
*/
|
||||
package constants
|
||||
|
||||
const (
|
||||
//
|
||||
// Ports.
|
||||
//
|
||||
|
||||
CoordinatorPort = 9000
|
||||
EnclaveSSHPort = 2222
|
||||
SSHPort = 22
|
||||
WireguardPort = 51820
|
||||
NVMEOverTCPPort = 8009
|
||||
|
||||
//
|
||||
// Filenames.
|
||||
//
|
||||
|
||||
StateFilename = "constellation-state.json"
|
||||
AdminConfFilename = "constellation-admin.conf"
|
||||
MasterSecretFilename = "constellation-mastersecret.base64"
|
||||
WGQuickConfigFilename = "wg0.conf"
|
||||
)
|
||||
|
||||
// CliVersion is the version of the CLI. Left as a separate variable to allow override during build.
|
||||
var CliVersion = "0.0.0"
|
Loading…
Add table
Add a link
Reference in a new issue