- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 874 for patched (0.15 sec)
-
pkg/util/filesystem/watcher.go
} // Initialize watcher, fall back to no-op var ( eventsCh chan fsnotify.Event errorCh chan error watcher watchAddRemover ) if w, err := fsnotify.NewWatcher(); err != nil { errorHandler(fmt.Errorf("error creating file watcher, falling back to poll at interval %s: %w", pollInterval, err)) watcher = noopWatcher{} } else { watcher = w eventsCh = w.Events errorCh = w.Errors
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 23:09:15 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go
} // If user couldn't receive results fast enough, we also block incoming events from watcher. // Because storing events in local will cause more memory usage. // The worst case would be closing the fast watcher. select { case wc.resultChan <- *res: case <-wc.ctx.Done(): return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 10:26:38 UTC 2023 - 18.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)