Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CNIBinTargetDirs (0.19 sec)

  1. cni/pkg/install/install.go

    	// Install binaries
    	// Currently we _always_ do this, since the binaries do not live in a shared location
    	// and we harm no one by doing so.
    	copiedFiles, err := copyBinaries(in.cfg.CNIBinSourceDir, in.cfg.CNIBinTargetDirs)
    	if err != nil {
    		cniInstalls.With(resultLabel.Value(resultCopyBinariesFailure)).Increment()
    		return copiedFiles, fmt.Errorf("copy binaries: %v", err)
    	}
    
    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)
  2. cni/pkg/config/config.go

    	K8sServicePort string
    	// KUBERNETES_NODE_NAME
    	K8sNodeName string
    
    	// Directory from where the CNI binaries should be copied
    	CNIBinSourceDir string
    	// Directories into which to copy the CNI binaries
    	CNIBinTargetDirs []string
    
    	// The HTTP port for monitoring
    	MonitoringPort int
    
    	// The UDS server address that CNI plugin will send log to.
    	LogUDSAddress string
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    		K8sServicePort:     os.Getenv("KUBERNETES_SERVICE_PORT"),
    		K8sNodeName:        os.Getenv("KUBERNETES_NODE_NAME"),
    
    		CNIBinSourceDir:   constants.CNIBinDir,
    		CNIBinTargetDirs:  []string{constants.HostCNIBinDir},
    		MonitoringPort:    viper.GetInt(constants.MonitoringPort),
    		LogUDSAddress:     viper.GetString(constants.LogUDSAddress),
    		CNIEventAddress:   viper.GetString(constants.CNIEventAddress),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. cni/test/install_cni.go

    		InstallConfig: config.InstallConfig{
    			CNIEventAddress:    cniEventAddr,
    			ZtunnelUDSAddress:  ztunnelAddr,
    			MountedCNINetDir:   tempCNIConfDir,
    			CNIBinSourceDir:    testBinDir,
    			CNIBinTargetDirs:   []string{tempCNIBinDir},
    			K8sServicePort:     "443",
    			K8sServiceHost:     "10.110.0.1",
    			MonitoringPort:     0,
    			LogUDSAddress:      "",
    			CNINetworkConfig:   cniNetworkConfig,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. cni/pkg/install/install_test.go

    				t.Fatal(err)
    			}
    
    			cfg := &config.InstallConfig{
    				MountedCNINetDir: cniNetDir,
    				ChainedCNIPlugin: c.chainedCNIPlugin,
    				CNIBinTargetDirs: []string{cniBinDir},
    			}
    
    			isReady := &atomic.Value{}
    			isReady.Store(false)
    			installer := NewInstaller(cfg, isReady)
    			installer.cniConfigFilepath = cniConfigFilePath
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top