Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cnibindir (0.1 sec)

  1. cni/pkg/install/install_test.go

    			existingConfigFilename: "istio-cni.conf",
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			// Create temp directory for files
    			cniNetDir := t.TempDir()
    			cniBinDir := t.TempDir()
    
    			// Create existing config file if specified in test case
    			cniConfigFilePath := filepath.Join(cniNetDir, c.configFilename)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    		K8sServicePort:        os.Getenv("KUBERNETES_SERVICE_PORT"),
    		K8sNodeName:           os.Getenv("KUBERNETES_NODE_NAME"),
    		K8sServiceAccountPath: constants.ServiceAccountPath,
    
    		CNIBinSourceDir:  constants.CNIBinDir,
    		CNIBinTargetDirs: []string{constants.HostCNIBinDir},
    		MonitoringPort:   viper.GetInt(constants.MonitoringPort),
    
    		ExcludeNamespaces: viper.GetString(constants.ExcludeNamespaces),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    	"ambient_enabled": %t,
        "kubernetes": {
            "k8sapiroot": "APIRoot",
            "kubeconfig": "testK8sConfig",
            "nodename": "testNodeName",
            "excludenamespaces": "testNS",
            "cnibindir": "/testDirectory"
        }
        }`
    
    	pod, ns := buildFakePodAndNSForClient()
    	testDoAddRun(t, fmt.Sprintf(confNoPrevResult, false), testNSName, pod, ns)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig_test.go

    	cniNetworkConfig     = `{
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "istio-cni",
      "plugin_log_level": "__LOG_LEVEL__",
      "kubernetes": {
          "kubeconfig": "__KUBECONFIG_FILENAME__",
          "cni_bin_dir": "/path/cni/bin"
      }
    }
    `
    )
    
    func TestCreateCNIConfigFile(t *testing.T) {
    	cases := []struct {
    		name              string
    		chainedCNIPlugin  bool
    		specifiedConfName string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top