add sameness intentions in api package (#17096)

This commit is contained in:
Eric Haberkorn 2023-04-26 10:00:18 -04:00 committed by GitHub
parent eeaa636164
commit c1e63cba7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

View File

@ -25,6 +25,7 @@ type SourceIntention struct {
Peer string `json:",omitempty"` Peer string `json:",omitempty"`
Partition string `json:",omitempty"` Partition string `json:",omitempty"`
Namespace string `json:",omitempty"` Namespace string `json:",omitempty"`
SamenessGroup string `json:",omitempty" alias:"sameness_group"`
Action IntentionAction `json:",omitempty"` Action IntentionAction `json:",omitempty"`
Permissions []*IntentionPermission `json:",omitempty"` Permissions []*IntentionPermission `json:",omitempty"`
Precedence int Precedence int