Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
key-storage-agent
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
key-storage-agent
Merge requests
!53
Localbuild
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Localbuild
localbuild
into
16-refactor-deprecated-functions
Overview
0
Commits
7
Pipelines
0
Changes
8
Merged
Alexey Kuklin
requested to merge
localbuild
into
16-refactor-deprecated-functions
5 years ago
Overview
0
Commits
7
Pipelines
0
Changes
8
Expand
0
0
Merge request reports
Compare
16-refactor-deprecated-functions
16-refactor-deprecated-functions (base)
and
latest version
latest version
8bab9d00
7 commits,
5 years ago
8 files
+
63
−
71
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
config/configs.go
+
7
−
4
Options
@@ -29,6 +29,7 @@ var MaxMessageSize int
var
GrpcListenAddress
string
var
RestListenAddress
string
var
GrpcURL
string
var
DataStorageUrl
string
var
EntitiesManagerUrl
string
var
CertDir
string
@@ -37,10 +38,11 @@ func SetConfigValues(configFile, etcdURL string) {
// Set Default Values For Config Variables
// Vereign API Related
viper
.
SetDefault
(
"grpcListenAddress"
,
"localhost:7877"
)
viper
.
SetDefault
(
"restListenAddress"
,
"localhost:7878"
)
viper
.
SetDefault
(
"dataStorageUrl"
,
"localhost:7777"
)
viper
.
SetDefault
(
"entitiesManagerUrl"
,
"localhost:7779"
)
viper
.
SetDefault
(
"grpcListenAddress"
,
":7877"
)
viper
.
SetDefault
(
"restListenAddress"
,
":7878"
)
viper
.
SetDefault
(
"dataStorageUrl"
,
"data-storage-agent:7777"
)
viper
.
SetDefault
(
"entitiesManagerUrl"
,
"entities-management-agent:7779"
)
viper
.
SetDefault
(
"grpcURL"
,
"key-storage-agent:7877"
)
viper
.
SetDefault
(
"viamUUID"
,
"viam-system"
)
viper
.
SetDefault
(
"viamSession"
,
"viam-session"
)
@@ -122,6 +124,7 @@ func SetConfigValues(configFile, etcdURL string) {
}
GrpcListenAddress
=
viper
.
GetString
(
"grpcListenAddress"
)
GrpcURL
=
viper
.
GetString
(
"grpcURL"
)
RestListenAddress
=
viper
.
GetString
(
"restListenAddress"
)
DataStorageUrl
=
viper
.
GetString
(
"dataStorageUrl"
)
Loading