Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,005 for patched (0.12 sec)

  1. pkg/controller/garbagecollector/patch.go

    }
    
    // jsonMergePatchFunc defines the interface for functions that construct json merge patches that manipulate
    // owner reference array.
    type jsonMergePatchFunc func(*node) ([]byte, error)
    
    // patch tries strategic merge patch on item first, and if SMP is not supported, it fallbacks to JSON merge
    // patch.
    func (gc *GarbageCollector) patch(item *node, smp []byte, jmp jsonMergePatchFunc) (*metav1.PartialObjectMetadata, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  2. 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)
  3. pkg/config/mesh/kubemesh/watcher.go

    	})
    
    	go c.Run(stop)
    
    	// Ensure the ConfigMap is initially loaded if present.
    	if !client.WaitForCacheSync("configmap watcher", stop, c.HasSynced) {
    		log.Error("failed to wait for cache sync")
    	}
    	return w
    }
    
    func AddUserMeshConfig(client kube.Client, watcher mesh.Watcher, namespace, key, userMeshConfig string, stop <-chan struct{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 20:54:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go

    }
    
    // Matcher decides if a request is exempted by the NamespaceSelector of a
    // webhook configuration.
    type Matcher struct {
    	NamespaceLister corelisters.NamespaceLister
    	Client          clientset.Interface
    }
    
    func (m *Matcher) GetNamespace(name string) (*v1.Namespace, error) {
    	return m.NamespaceLister.Get(name)
    }
    
    // Validate checks if the Matcher has a NamespaceLister and Client.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/builder.devtoolset/rpm-patch.sh

    #
    # Given an RPM spec file $1, apply its patches.
    
    SPEC="$1"
    grep '%patch' "${SPEC}" |while read cmd ; do
      N=$(echo "${cmd}" |sed 's,%patch\([0-9]\+\).*,\1,')
      file=$(grep "Patch$N:" "${SPEC}" |sed 's,.*: ,,')
      parg=$(echo "${cmd}" |sed 's,.*\(-p[0-9]\).*,\1,')
      if [[ ! "${file}" =~ doxygen && "${cmd}" != \#* ]]; then
        echo "patch ${parg} -s < ${file}"
        patch ${parg} -s < "${file}"
      fi
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch.go

    */
    
    package jsonmergepatch
    
    import (
    	"fmt"
    	"reflect"
    
    	"gopkg.in/evanphx/json-patch.v4"
    	"k8s.io/apimachinery/pkg/util/json"
    	"k8s.io/apimachinery/pkg/util/mergepatch"
    )
    
    // Create a 3-way merge patch based-on JSON merge patch.
    // Calculate addition-and-change patch between current and modified.
    // Calculate deletion patch between original and modified.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    			merge.Merge(lis, lp.Value)
    		}
    	}
    	patchListenerFilters(patchContext, patches[networking.EnvoyFilter_LISTENER_FILTER], lis)
    	patchFilterChains(patchContext, patches, lis)
    }
    
    // patchListenerFilters patches passed in listener filters with listener filter patches.
    func patchListenerFilters(patchContext networking.EnvoyFilter_PatchContext,
    	patches []*model.EnvoyFilterConfigPatchWrapper,
    	lis *listener.Listener,
    ) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. pkg/config/mesh/watcher.go

    func NewFixedWatcher(mesh *meshconfig.MeshConfig) Watcher {
    	iw := internalWatcher{}
    	iw.MeshConfig.Store(mesh)
    	return &iw
    }
    
    // NewFileWatcher creates a new Watcher for changes to the given mesh config file. Returns an error
    // if the given file does not exist or failed during parsing.
    func NewFileWatcher(fileWatcher filewatcher.FileWatcher, filename string, multiWatch bool) (Watcher, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/match/matcher.go

    // GetServiceMatches returns the subset of echo.Services that match this Matcher.
    func (m Matcher) GetServiceMatches(services echo.Services) echo.Services {
    	out := make(echo.Services, 0)
    	for _, s := range services {
    		if len(s) > 0 && m(s[0]) {
    			out = append(out, s)
    		}
    	}
    	return out
    }
    
    // First finds the first Instance that matches the Matcher.
    func (m Matcher) First(i echo.Instances) (echo.Instance, error) {
    	for _, i := range i {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 20:45:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go

    	return v.Expression
    }
    
    func (v *MatchCondition) ReturnTypes() []*cel.Type {
    	return []*cel.Type{cel.BoolType}
    }
    
    var _ Matcher = &matcher{}
    
    // matcher evaluates compiled cel expressions and determines if they match the given request or not
    type matcher struct {
    	filter      celplugin.Filter
    	failPolicy  v1.FailurePolicyType
    	matcherType string
    	matcherKind string
    	objectName  string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top