Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Program (0.16 sec)

  1. cni/pkg/repair/repaircontroller.go

    func redirectRunningPod(pod *corev1.Pod, netns string) error {
    	pi := plugin.ExtractPodInfo(pod)
    	redirect, err := plugin.NewRedirect(pi)
    	if err != nil {
    		return fmt.Errorf("setup redirect: %v", err)
    	}
    	rulesMgr := plugin.IptablesInterceptRuleMgr()
    	if err := rulesMgr.Program(pod.Name, netns, redirect); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cni/README.md

            - CNI installer will try to look for the config file under the mounted CNI net dir based on file name extensions (`.conf`, `.conflist`)
            - the file name can be explicitly set by `CNI_CONF_NAME` env var
            - the program inserts `CNI_NETWORK_CONFIG` into the `plugins` list in `/etc/cni/net.d/${CNI_CONF_NAME}`
        - the actual code is in pkg/install - including a readiness probe, monitoring.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. Makefile.core.mk

    warning+=Googlers: go/installdocker\#the-version-of-docker-thats-installed-is-old-eg-1126
    endif
    # The old docker issue manifests as not being able to run *any* binary. So we can test
    # by trying to run a trivial program and ensuring it actually ran. If not, emit our warning.
    # Note: we cannot do anything like $(shell docker version) to check, since that would also fail.
    CAN_RUN := $(shell echo "can I run echo")
    ifeq ($(CAN_RUN),)
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_test.go

    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testNSName,
    			Namespace: "",
    			Labels:    map[string]string{},
    		},
    	}
    
    	return fakePod, fakeNS
    }
    
    func (mrdir *mockInterceptRuleMgr) Program(podName, netns string, redirect *Redirect) error {
    	mrdir.lastRedirect = append(mrdir.lastRedirect, redirect)
    	return nil
    }
    
    // returns the test server URL and a dispose func for the test server
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin.go

    	}
    
    	log.Debugf("Setting up redirect")
    
    	redirect, err := NewRedirect(pi)
    	if err != nil {
    		log.Errorf("redirect failed due to bad params: %v", err)
    		return err
    	}
    
    	if err := rulesMgr.Program(podName, args.Netns, redirect); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    func setupLogging(conf *Config) {
    	if conf.LogUDSAddress != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. common/config/.golangci.yml

            # - name: bare-return
            # - name: flag-parameter
            # - name: unhandled-error
            # - name: if-return
      unparam:
        # Inspect exported functions, default is false. Set to true if no external program/library imports your code.
        # XXX: if you enable this setting, unparam will report a lot of false-positives in text editors:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top