Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for patched (0.16 sec)

  1. pkg/controller/history/controller_history_test.go

    				if err != nil {
    					return true, nil, err
    				}
    				patched, err := legacyscheme.Scheme.ConvertToVersion(obj, apps.SchemeGroupVersion)
    				if err != nil {
    					return true, nil, err
    				}
    				return true, patched, err
    			default:
    				return false, nil, nil
    			}
    
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    func handleDirectiveInMergeMap(directive interface{}, patch map[string]interface{}) (map[string]interface{}, error) {
    	if directive == replaceDirective {
    		// If the patch contains "$patch: replace", don't merge it, just use the
    		// patch directly. Later on, we can add a single level replace that only
    		// affects the map that the $patch is in.
    		delete(patch, directiveMarker)
    		return patch, nil
    	}
    
    	if directive == deleteDirective {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			}
    			if diff := cmp.Diff(sets.List(patchedPodNames), sets.List(deletedPodNames)); diff != "" {
    				t.Errorf("unexpected difference in the set of patched and deleted pods: %s", diff)
    			}
    			for victimName := range deletedPodNames {
    				found := false
    				for _, expPod := range test.expectedPods {
    					if expPod == victimName {
    						found = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*Patches)(nil), (*kubeadm.Patches)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta4_Patches_To_kubeadm_Patches(a.(*Patches), b.(*kubeadm.Patches), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*kubeadm.Patches)(nil), (*Patches)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    			t.Errorf("Unexpected object watched: %s, expected %s", a, e)
    		}
    		watched++
    	}
    	// We expect at least N events to be delivered, depending on the implementation.
    	// For now, this number is smallest for Cacher and it equals 10 (size of the out buffer).
    	if watched < 10 {
    		t.Errorf("Unexpected number of events: %v, expected: %v", watched, totalPods)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  6. pilot/pkg/model/push_context_test.go

    				}
    				return
    			}
    			if len(filter.Patches[networking.EnvoyFilter_CLUSTER]) != tt.expectedClusterPatches {
    				t.Errorf("Expect %d envoy filter cluster patches, but got %d", tt.expectedClusterPatches, len(filter.Patches[networking.EnvoyFilter_CLUSTER]))
    			}
    			if len(filter.Patches[networking.EnvoyFilter_LISTENER]) != tt.expectedListenerPatches {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    					matched = false
    					break
    				} else if l != v {
    					matched = false
    					break
    				}
    			}
    
    			// Empty selector matches everything
    			if len(paramRef.Selector.MatchExpressions) == 0 && len(paramRef.Selector.MatchLabels) == 0 {
    				matched = true
    			}
    
    			if !matched {
    				continue
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  8. pilot/pkg/model/push_context.go

    			Patches: make(map[networking.EnvoyFilter_ApplyTo][]*EnvoyFilterConfigPatchWrapper),
    		}
    		// merge EnvoyFilterWrapper
    		for _, efw := range matchedEnvoyFilters {
    			for applyTo, cps := range efw.Patches {
    				for _, cp := range cps {
    					if proxyMatch(proxy, cp) {
    						out.Patches[applyTo] = append(out.Patches[applyTo], cp)
    					}
    				}
    			}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // exists, and name or selector is valid, but there are no parameters
      // matched by the binding. If the value is set to `Allow`, then no
      // matched parameters will be treated as successful validation by the binding.
      // If set to `Deny`, then no matched parameters will be subject to the
      // `failurePolicy` of the policy.
      //
      // Allowed values are `Allow` or `Deny`
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/types.go

    	// Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this.
    	// If this is unset, all resources matched by the policy are validated by this binding
    	// When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
Back to top