- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for patchtype (0.17 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go
if !ok { delete(original, k) } } continue } originalType := reflect.TypeOf(original[k]) patchType := reflect.TypeOf(patchV) if originalType != patchType { if !isDeleteList { if mergeOptions.IgnoreUnmatchedNulls { discardNullValuesFromPatch(patchV) } original[k], ok = removeDirectives(patchV) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 23:34:23 UTC 2023 - 75.5K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/types.gen.go
default: return nil, fmt.Errorf("unsupported type: %v", cfg.GroupVersionKind) } } func patch(c kube.Client, orig config.Config, origMeta metav1.ObjectMeta, mod config.Config, modMeta metav1.ObjectMeta, typ types.PatchType) (metav1.Object, error) { if orig.GroupVersionKind != mod.GroupVersionKind { return nil, fmt.Errorf("gvk mismatch: %v, modified: %v", orig.GroupVersionKind, mod.GroupVersionKind) } switch orig.GroupVersionKind {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 62.2K bytes - Viewed (0) -
pilot/pkg/model/virtualservice_test.go
Uri: &networking.StringMatch{ MatchType: &networking.StringMatch_Prefix{Prefix: "/productpage/v2"}, }, Headers: map[string]*networking.StringMatch{ "version": { MatchType: &networking.StringMatch_Exact{Exact: "v2"}, }, }, Port: 8080, }, { Uri: &networking.StringMatch{ MatchType: &networking.StringMatch_Prefix{Prefix: "/productpage"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0) -
pkg/apis/networking/validation/validation_test.go
ing.Spec.Rules[0].IngressRuleValue.HTTP.Paths[0].PathType = &pathTypeFoo }, expectErrsOnFields: []string{ "spec.rules[0].http.paths[0].pathType", }, }, "empty path (prefix)": { tweakIngress: func(ing *networking.Ingress) { ing.Spec.Rules[0].IngressRuleValue.HTTP.Paths[0].Path = "" ing.Spec.Rules[0].IngressRuleValue.HTTP.Paths[0].PathType = &pathTypePrefix }, expectErrsOnFields: []string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 73.3K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_test.go
{ Name: "non-catch-all", Uri: &networking.StringMatch{ MatchType: &networking.StringMatch_Prefix{ Prefix: "/route/v1", }, }, }, { Name: "catch-all", Uri: &networking.StringMatch{ MatchType: &networking.StringMatch_Prefix{ Prefix: "/", }, }, }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
dest = strings.TrimSuffix(dest, "/") } return &istio.StringMatch{ MatchType: &istio.StringMatch_Prefix{Prefix: dest}, }, nil case k8s.PathMatchExact: return &istio.StringMatch{ MatchType: &istio.StringMatch_Exact{Exact: dest}, }, nil case k8s.PathMatchRegularExpression: return &istio.StringMatch{ MatchType: &istio.StringMatch_Regex{Regex: dest}, }, nil default:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
staging/src/k8s.io/api/extensions/v1beta1/types.go
// the IngressClass. Implementations can treat this as a separate PathType // or treat it identically to Prefix or Exact path types. // Implementations are required to support all path types. // Defaults to ImplementationSpecific. PathType *PathType `json:"pathType,omitempty" protobuf:"bytes,3,opt,name=pathType"` // Backend defines the referenced service endpoint to which the traffic
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:29 UTC 2023 - 61.3K bytes - Viewed (0) -
pkg/apis/networking/v1/zz_generated.conversion.go
return nil } func autoConvert_v1_HTTPIngressPath_To_networking_HTTPIngressPath(in *v1.HTTPIngressPath, out *networking.HTTPIngressPath, s conversion.Scope) error { out.Path = in.Path out.PathType = (*networking.PathType)(unsafe.Pointer(in.PathType)) if err := Convert_v1_IngressBackend_To_networking_IngressBackend(&in.Backend, &out.Backend, s); err != nil { return err } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 18:19:25 UTC 2023 - 53.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
t.Fatalf("Delete failed: %v", err) } } if watchTest.expectEvent { expectObj := out if watchTest.watchType == watch.Deleted { expectObj = prevObj expectObj.ResourceVersion = out.ResourceVersion } testCheckResult(t, w, watch.Event{Type: watchTest.watchType, Object: expectObj}) } prevObj = out } w.Stop() testCheckStop(t, w) }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier.go
for _, set := range sets { var matchType string if !proxier.ipsetList[set].isEmpty() { switch proxier.ipsetList[set].SetType { case utilipset.BitmapPort: matchType = "dst" default: matchType = "dst,dst" } proxier.natRules.Write( "-A", string(kubeServicesChain), "-m", "set", "--match-set", proxier.ipsetList[set].Name, matchType, "-j", "ACCEPT", ) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 77.7K bytes - Viewed (0)