feat(targets): Addition of egress and ingress worker filters (#2654)
* feat(targets): Addition of egress and ingress worker filters
This commit is contained in:
1 parent
aca22cacb9
commit
834a2a88f7
34 files changed
+1422
-430
No files matched your search
@@ -57,6 +57,12 @@ message TargetView {
|
||||
// A boolean expression that allows filtering the workers that can handle a session
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string worker_filter = 120;
|
||||
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string egress_worker_filter = 130;
|
||||
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string ingress_worker_filter = 140;
|
||||
}
|
||||
|
||||
message TargetHostSet {
|
||||
|
||||
@@ -71,4 +71,18 @@ message Target {
|
||||
this: "WorkerFilter"
|
||||
that: "worker_filter"
|
||||
}];
|
||||
|
||||
// A boolean expression that allows filtering the egress workers that can handle a session
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string egress_worker_filter = 130 [(custom_options.v1.mask_mapping) = {
|
||||
this: "EgressWorkerFilter"
|
||||
that: "egress_worker_filter"
|
||||
}];
|
||||
|
||||
// A boolean expression that allows filtering the ingress workers that can handle a session
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string ingress_worker_filter = 140 [(custom_options.v1.mask_mapping) = {
|
||||
this: "IngressWorkerFilter"
|
||||
that: "ingress_worker_filter"
|
||||
}];
|
||||
}
|
||||
@@ -71,4 +71,18 @@ message Target {
|
||||
this: "WorkerFilter"
|
||||
that: "worker_filter"
|
||||
}];
|
||||
|
||||
// A boolean expression that allows filtering the egress workers that can handle a session
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string egress_worker_filter = 130 [(custom_options.v1.mask_mapping) = {
|
||||
this: "EgressWorkerFilter"
|
||||
that: "egress_worker_filter"
|
||||
}];
|
||||
|
||||
// A boolean expression that allows filtering the ingress workers that can handle a session
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string ingress_worker_filter = 140 [(custom_options.v1.mask_mapping) = {
|
||||
this: "IngressWorkerFilter"
|
||||
that: "ingress_worker_filter"
|
||||
}];
|
||||
}
|
||||
Reference in new issue
Block a user