- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ValidateTelemetry (0.17 sec)
-
tests/fuzz/config_validation_fuzzer.go
c.Spec = in _, _ = validation.ValidateProxyConfig(c) case 11: in := &telemetry.Telemetry{} err = f.GenerateStruct(in) if err != nil { return 0 } c.Spec = in _, _ = validation.ValidateTelemetry(c) case 12: in := &extensions.WasmPlugin{} err = f.GenerateStruct(in) if err != nil { return 0 } c.Spec = in _, _ = validation.ValidateWasmPlugin(c) } return 1
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/config/schema/collections/collections.agent.gen.go
ProtoPackage: "istio.io/api/telemetry/v1alpha1", StatusPackage: "istio.io/api/meta/v1alpha1", ClusterScoped: false, Synthetic: false, Builtin: false, ValidateProto: validation.ValidateTelemetry, }.MustBuild() VirtualService = resource.Builder{ Identifier: "VirtualService", Group: "networking.istio.io", Kind: "VirtualService", Plural: "virtualservices",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 12.9K bytes - Viewed (0) -
pkg/config/schema/collections/collections.gen.go
ProtoPackage: "istio.io/api/telemetry/v1alpha1", StatusPackage: "istio.io/api/meta/v1alpha1", ClusterScoped: false, Synthetic: false, Builtin: false, ValidateProto: validation.ValidateTelemetry, }.MustBuild() UDPRoute = resource.Builder{ Identifier: "UDPRoute", Group: "gateway.networking.k8s.io", Kind: "UDPRoute", Plural: "udproutes", Version: "v1alpha2",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 31.4K bytes - Viewed (0) -
pkg/config/validation/validation.go
if concurrency < 0 { v = appendErrorf(v, "concurrency must be greater than or equal to 0") } return } // ValidateTelemetry validates a Telemetry. var ValidateTelemetry = RegisterValidateFunc("ValidateTelemetry", func(cfg config.Config) (Warning, error) { spec, ok := cfg.Spec.(*telemetry.Telemetry) if !ok { return nil, fmt.Errorf("cannot cast to telemetry") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
}, }, }, "only one of targetRefs or workloadSelector can be set", "", }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { warn, err := ValidateTelemetry(config.Config{ Meta: config.Meta{ Name: someName, Namespace: someNamespace, }, Spec: tt.in, }) checkValidationMessage(t, warn, err, tt.warning, tt.err) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0)