mirror of https://github.com/status-im/consul.git
add sameness intentions in api package (#17096)
This commit is contained in:
parent
eeaa636164
commit
c1e63cba7d
|
@ -21,15 +21,16 @@ type ServiceIntentionsConfigEntry struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type SourceIntention struct {
|
type SourceIntention struct {
|
||||||
Name string
|
Name string
|
||||||
Peer string `json:",omitempty"`
|
Peer string `json:",omitempty"`
|
||||||
Partition string `json:",omitempty"`
|
Partition string `json:",omitempty"`
|
||||||
Namespace string `json:",omitempty"`
|
Namespace string `json:",omitempty"`
|
||||||
Action IntentionAction `json:",omitempty"`
|
SamenessGroup string `json:",omitempty" alias:"sameness_group"`
|
||||||
Permissions []*IntentionPermission `json:",omitempty"`
|
Action IntentionAction `json:",omitempty"`
|
||||||
Precedence int
|
Permissions []*IntentionPermission `json:",omitempty"`
|
||||||
Type IntentionSourceType
|
Precedence int
|
||||||
Description string `json:",omitempty"`
|
Type IntentionSourceType
|
||||||
|
Description string `json:",omitempty"`
|
||||||
|
|
||||||
LegacyID string `json:",omitempty" alias:"legacy_id"`
|
LegacyID string `json:",omitempty" alias:"legacy_id"`
|
||||||
LegacyMeta map[string]string `json:",omitempty" alias:"legacy_meta"`
|
LegacyMeta map[string]string `json:",omitempty" alias:"legacy_meta"`
|
||||||
|
|
Loading…
Reference in New Issue