- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for appendApplicableTelemetries (0.23 sec)
-
pilot/pkg/model/telemetry_test.go
}, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := appendApplicableTelemetries(tt.args.ct, tt.args.tel, tt.args.spec); !cmp.Equal(got, tt.want) { t.Errorf("appendApplicableTelemetries() = want %v", cmp.Diff(got, tt.want)) } }) } } func Test_computedTelemetries_Equal(t *testing.T) { type args struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 39.6K bytes - Viewed (0) -
pilot/pkg/model/telemetry.go
continue } if matcher.ShouldAttachPolicy(gvk.Telemetry, telemetry.NamespacedName(), spec) { ct = appendApplicableTelemetries(ct, telemetry, spec) } else { log.Debug("There isn't a match between the workload and the policy. Policy is ignored.") } } return *ct } func appendApplicableTelemetries(ct *computedTelemetries, tel Telemetry, spec *tpb.Telemetry) *computedTelemetries {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 18:14:09 UTC 2024 - 35.2K bytes - Viewed (0)