Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Op (0.14 sec)

  1. cni/test/install_cni.go

    func checkBinDir(t *testing.T, tempCNIBinDir, op string, files ...string) error {
    	t.Helper()
    	for _, f := range files {
    		if _, err := os.Stat(tempCNIBinDir + "/" + f); !os.IsNotExist(err) {
    			if op == "add" {
    				t.Logf("PASS: File %v was added to %v", f, tempCNIBinDir)
    				return nil
    			} else if op == "del" {
    				return fmt.Errorf("FAIL: File %v was not removed from %v", f, tempCNIBinDir)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. manifests/charts/istio-cni/README.md

    #### Calico
    
    For Calico, you must also modify the settings to allow source spoofing:
    
    - if deployed by operator,  `kubectl patch felixconfigurations default --type='json' -p='[{"op": "add", "path": "/spec/workloadSourceSpoofing", "value": "Any"}]'`
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      optional string message = 4;
    }
    
    // An empty preferred scheduling term matches all objects with implicit weight 0
    // (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
    message PreferredSchedulingTerm {
      // Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
      optional int32 weight = 1;
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  4. cni/pkg/util/pluginutil.go

    	}, nil
    }
    
    func watchFiles(watcher *fsnotify.Watcher, fileModified chan struct{}, errChan chan error) {
    	for {
    		select {
    		case event, ok := <-watcher.Events:
    			if !ok {
    				return
    			}
    			if event.Op&(fsnotify.Create|fsnotify.Write|fsnotify.Remove) != 0 {
    				log.Infof("file modified: %v", event.Name)
    				fileModified <- struct{}{}
    			}
    		case err, ok := <-watcher.Errors:
    			if !ok {
    				return
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/fakes_test.go

    	fs.FileInfo
    }
    
    func (f *fakeFileFakeFI) Sys() any {
    	return &syscall.Stat_t{Ino: 1}
    }
    
    // Open opens the named file.
    // When Open returns an error, it should be of type *PathError
    // with the Op field set to "open", the Path field set to name,
    // and the Err field describing the problem.
    //
    // Open should reject attempts to open names that do not satisfy
    // ValidPath(name), returning a *PathError with Err set to
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. manifests/addons/dashboards/pilot-dashboard.json

                  "unit": "short"
                },
                "overrides": [
                  {
                    "matcher": {
                      "id": "byValue",
                      "options": {
                        "op": "gte",
                        "reducer": "allIsZero",
                        "value": 0
                      }
                    },
                    "properties": [
                      {
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 61K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    			}
    
    			ambientAgent.Start()
    			defer ambientAgent.Stop()
    
    			log.Info("Ambient node agent started, starting installer...")
    
    		} else {
    			// Ambient not enabled, so this readiness flag is no-op'd
    			watchServerReady.Store(true)
    		}
    
    		installer := install.NewInstaller(&cfg.InstallConfig, installDaemonReady)
    
    		repair.StartRepair(ctx, cfg.RepairConfig)
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 21:42:29 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. bin/diff_yaml.py

                return res
    
            data = res['data']
    
            # some times keys are yamls...
            # so parse them
            for k in data:
                try:
                    op = yaml.safe_load_all(data[k])
                    data[k] = list(op)
                except yaml.YAMLError as ex:
                    print(ex)
    
            return res
        except KeyError as ke:
            if 'kind' in str(ke) or 'data' in str(ke):
    Python
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  9. manifests/addons/dashboards/istio-service-dashboard.json

                ]
              },
              "unit": "ops"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byValue",
                  "options": {
                    "op": "gte",
                    "reducer": "allIsNull",
                    "value": 0
                  }
                },
                "properties": [
                  {
                    "id": "custom.hideFrom",
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 111.8K bytes
    - Viewed (0)
  10. operator/cmd/mesh/shared.go

    	_, _ = fmt.Fprintln(w.writer, str)
    }
    
    var logMutex = sync.Mutex{}
    
    func ConfigLogs(opt *log.Options) error {
    	logMutex.Lock()
    	defer logMutex.Unlock()
    	op := []string{"stderr"}
    	opt2 := *opt
    	opt2.OutputPaths = op
    	opt2.ErrorOutputPaths = op
    
    	return log.Configure(&opt2)
    }
    
    func refreshGoldenFiles() bool {
    	ev := os.Getenv("REFRESH_GOLDEN")
    	return ev == "true" || ev == "1"
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top