Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for patcher (0.17 sec)

  1. istioctl/pkg/wait/wait.go

    		}
    
    		return nil
    	})
    	return g
    }
    
    type watcher struct {
    	resultsChan chan string
    	errorChan   chan error
    	ctx         context.Context
    }
    
    func withContext(ctx context.Context) *watcher {
    	return &watcher{
    		resultsChan: make(chan string, 1),
    		errorChan:   make(chan error, 1),
    		ctx:         ctx,
    	}
    }
    
    func (w *watcher) Go(f func(chan string) error) {
    	go func() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. cni/pkg/install/install.go

    	watcher, err := util.CreateFileWatcher(targets...)
    	if err != nil {
    		return err
    	}
    	defer func() {
    		setNotReady(in.isReady)
    		watcher.Close()
    	}()
    
    	// Before we process whether any file events have been triggered, we must check that the file is correct
    	// at this moment, and if not, yield. This is to catch other CNIs which might have mutated the file between
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. licenses/github.com/Masterminds/semver/v3/LICENSE.txt

    Copyright (C) 2014-2019, Matt Butcher and Matt Farina
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 23 04:14:15 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/istio-workload-dashboard.json

                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "ops"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byValue",
                  "options": {
                    "op": "gte",
                    "reducer": "allIsNull",
                    "value": 0
                  }
                },
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 102.7K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/cni-watcher.go

    Chun Li <******@****.***> 1707418344 +0800
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. cni/pkg/util/pluginutil.go

    	for _, path := range paths {
    		if !file.Exists(path) {
    			log.Infof("file watcher skipping watch on non-existent path: %v", path)
    			continue
    		}
    		if err := watcher.Add(path); err != nil {
    			if closeErr := watcher.Close(); closeErr != nil {
    				err = fmt.Errorf("%s: %w", closeErr.Error(), err)
    			}
    			return nil, err
    		}
    	}
    
    	return &Watcher{
    		watcher: watcher,
    		Events:  fileModified,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher_test.go

    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    		constants.DataplaneModeLabel, constants.DataplaneModeAmbient))
    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	client.RunAndWait(ctx.Done())
    
    	payload, _ := json.Marshal(valid)
    
    	// serialize our fake plugin event
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. operator/cmd/mesh/test-util_test.go

    }
    
    // HavePathValueEqual matches map[string]interface{} tree against a PathValue.
    func HavePathValueEqual(expected any) types.GomegaMatcher {
    	return &HavePathValueEqualMatcher{
    		expected: expected,
    	}
    }
    
    // HavePathValueEqualMatcher is a matcher type for HavePathValueEqual.
    type HavePathValueEqualMatcher struct {
    	expected any
    }
    
    // Match implements the Matcher interface.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. manifests/addons/dashboards/istio-mesh-dashboard.json

                ]
              },
              {
                "matcher": {
                  "id": "byName",
                  "options": "Time"
                },
                "properties": [
                  {
                    "id": "custom.hidden",
                    "value": true
                  }
                ]
              },
              {
                "matcher": {
                  "id": "byName",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 02:28:01 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // Default to the empty LabelSelector, which matches everything.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector objectSelector = 2;
    
      // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches.
      // The policy cares about an operation if it matches _any_ Rule.
      // +listType=atomic
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.7K bytes
    - Viewed (0)
Back to top