mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-20 20:47:16 +02:00
in-memory service registry (#1892)
This commit is contained in:
parent
ee28f008b5
commit
d04416a5fd
13 changed files with 2081 additions and 1 deletions
|
@ -79,6 +79,11 @@ func IsDataBroker(s string) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// IsRegistry checks if this node should run the registry service
|
||||
func IsRegistry(s string) bool {
|
||||
return IsDataBroker(s)
|
||||
}
|
||||
|
||||
// IsAll checks to see if we should be running all services
|
||||
func IsAll(s string) bool {
|
||||
return s == ServiceAll
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue