d73a9522cb
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
|
|
}
|