mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
6d3bea7129
Sender watches for changes to CA roots and sends them through the replication stream. Receiver saves CA roots to tablePeeringTrustBundle
11 lines
234 B
Go
11 lines
234 B
Go
package pbpeering
|
|
|
|
const (
|
|
TypeURLService = "type.googleapis.com/consul.api.Service"
|
|
TypeURLRoots = "type.googleapis.com/consul.api.CARoots"
|
|
)
|
|
|
|
func KnownTypeURL(s string) bool {
|
|
return s == TypeURLService || s == TypeURLRoots
|
|
}
|