- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for mirrorPercentage (0.54 sec)
-
pilot/pkg/networking/core/route/route_internal_test.go
route: &networking.HTTPRoute{ Mirror: &networking.Destination{}, MirrorPercentage: &networking.Percent{Value: 0.0}, }, want: nil, }, { name: "mirrorpercentage with actual percent", route: &networking.HTTPRoute{ Mirror: &networking.Destination{}, MirrorPercentage: &networking.Percent{Value: 50.0}, }, want: &core.RuntimeFractionalPercent{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/config/validation/virtualservice.go
} if http.MirrorPercentage != nil { value := http.MirrorPercentage.GetValue() if value > 100 { errs = AppendValidation(errs, fmt.Errorf("mirror_percentage must have a max value of 100 (it has %f)", value)) } if value < 0 { errs = AppendValidation(errs, fmt.Errorf("mirror_percentage must have a min value of 0 (it has %f)", value)) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0) -
pkg/config/validation/virtualservice_test.go
MirrorPercentage: &networking.Percent{ Value: 101, }, Route: []*networking.HTTPRouteDestination{{ Destination: &networking.Destination{Host: "foo.bar"}, }}, Match: []*networking.HTTPMatchRequest{nil}, }, valid: false}, {name: "valid mirror percentage", route: &networking.HTTPRoute{ MirrorPercentage: &networking.Percent{ Value: 1, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 15:33:55 UTC 2024 - 19.9K bytes - Viewed (0) -
pilot/pkg/model/virtualservice.go
delegate.Mirror = root.Mirror } // nolint: staticcheck if delegate.MirrorPercent == nil { delegate.MirrorPercent = root.MirrorPercent } if delegate.MirrorPercentage == nil { delegate.MirrorPercentage = root.MirrorPercentage } if delegate.CorsPolicy == nil { delegate.CorsPolicy = root.CorsPolicy } if delegate.Mirrors == nil { delegate.Mirrors = root.Mirrors }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 11:17:03 UTC 2024 - 17.4K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
func MirrorPercent(in *networking.HTTPRoute) *core.RuntimeFractionalPercent { switch { case in.MirrorPercentage != nil: if in.MirrorPercentage.GetValue() > 0 { return &core.RuntimeFractionalPercent{ DefaultValue: translatePercentToFractionalPercent(in.MirrorPercentage), } } // If zero percent is provided explicitly, we should not mirror. return nil // nolint: staticcheck
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
MirrorPercentage: &networking.Percent{ Value: 101, }, Route: []*networking.HTTPRouteDestination{{ Destination: &networking.Destination{Host: "foo.bar"}, }}, Match: []*networking.HTTPMatchRequest{nil}, }, valid: false}, {name: "valid mirror percentage", route: &networking.HTTPRoute{ MirrorPercentage: &networking.Percent{ Value: 1, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
manifests/charts/istiod-remote/templates/crd-all.gen.yaml
mirrorPercent: maximum: 4294967295 minimum: 0 nullable: true type: integer mirrorPercentage: description: Percentage of the traffic to be mirrored by the `mirror` field. properties: value:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:42 UTC 2024 - 671.7K bytes - Viewed (0) -
manifests/charts/base/crds/crd-all.gen.yaml
mirrorPercent: maximum: 4294967295 minimum: 0 nullable: true type: integer mirrorPercentage: description: Percentage of the traffic to be mirrored by the `mirror` field. properties: value:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:42 UTC 2024 - 671.6K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/output/all_on.golden-show-in-gh-pull-request.yaml
nullable: true type: integer mirrorPercent: nullable: true type: integer mirrorPercentage: description: Percentage of the traffic to be mirrored by the `mirror` field. properties: value:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 506.8K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz
addressed. properties: number: type: integer type: object subset: description: The name of a subset within the service. type: string required: - host type: object mirror_percent: nullable: true type: integer mirrorPercent: nullable: true type: integer mirrorPercentage: description: Percentage of the traffic to be mirrored by the `mirror` field. properties: value: format: double type: number type: object mirrors: description: Specifies the destinations to mirror HTTP traffic in addition to the original destination....
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 198.1K bytes - Viewed (0)