add sameness to exported services structs in the api package (#16984)

This commit is contained in:
Eric Haberkorn 2023-04-12 16:49:28 -04:00 committed by GitHub
parent b85a149eaf
commit 6bab6696cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ type ServiceConsumer struct {
// Peer is the name of the peer to export the service to.
Peer string `json:",omitempty" alias:"peer_name"`
// SamenessGroup is the name of the sameness group to export the service to.
SamenessGroup string `json:",omitempty" alias:"sameness_group"`
}
func (e *ExportedServicesConfigEntry) GetKind() string { return ExportedServices }