Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for idir (0.14 sec)

  1. cni/README.md

        - periodically copy the K8S JWT token for istio-cni on the host to connect to K8S.
        - injects the CNI plugin config to the CNI config file
            - 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}`
    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)
  2. istioctl/pkg/workload/workload_test.go

    			"internalIP": "fd00:10:96::1",
    			"ingressIP":  "fd00:10:96::2",
    		},
    	}
    	for _, dir := range files {
    		if !dir.IsDir() {
    			continue
    		}
    		testdir := path.Join("testdata/vmconfig", dir.Name())
    		t.Cleanup(func() {
    			for k := range generated {
    				os.Remove(path.Join(testdir, k))
    			}
    		})
    		t.Run(dir.Name(), func(t *testing.T) {
    			createClientFunc := func(client kube.CLIClient) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    				continue
    			}
    			isDir = fi.IsDir()
    		}
    
    		if !isDir {
    			processFile(filename)
    			processedFiles[filename] = true
    			continue
    		}
    		if err := processDirectory(filename, func(path string) {
    			processFile(path)
    			processedFiles[path] = true
    		}); err != nil {
    			errs = multierror.Append(errs, err)
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. common/scripts/kind_provisioner.sh

          return 1
          ;;
      esac
    
      # If metrics server configuration directory is specified then deploy in
      # the cluster just created
      if [[ -n ${METRICS_SERVER_CONFIG_DIR:-} ]]; then
        retry kubectl apply -f "${METRICS_SERVER_CONFIG_DIR}"
      fi
    
      # Install Metallb if not set to install explicitly
      if [[ -z "${NOMETALBINSTALL}" ]]; then
        retry install_metallb ""
      fi
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  5. Makefile.core.mk

    # Use the variable H to add a header (equivalent to =>) to informational output
    H = $(shell printf "\033[34;1m=>\033[0m")
    
    ifeq ($(origin DEBUG), undefined)
      BUILDTYPE_DIR:=release
    else ifeq ($(DEBUG),0)
      BUILDTYPE_DIR:=release
    else
      BUILDTYPE_DIR:=debug
      export GCFLAGS:=all=-N -l
      $(info $(H) Build with debugger information)
    endif
    
    # Optional file including user-specific settings (HUB, TAG, etc)
    -include .istiorc.mk
    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)
  6. cni/test/install_cni.go

    	}
    }
    
    func mktemp(dir, prefix string, t *testing.T) string {
    	t.Helper()
    	tempDir, err := os.MkdirTemp(dir, prefix)
    	if err != nil {
    		t.Fatalf("Couldn't get current working directory, err: %v", err)
    	}
    	t.Logf("Created temporary dir: %v", tempDir)
    	return tempDir
    }
    
    func ls(dir string, t *testing.T) []string {
    	files, err := os.ReadDir(dir)
    	t.Helper()
    	if err != nil {
    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)
  7. cni/pkg/plugin/plugin_test.go

        "kubernetes": {
            "k8s_api_root": "APIRoot",
            "kubeconfig": "testK8sConfig",
    		"intercept_type": "%s",
            "node_name": "testNodeName",
            "exclude_namespaces": ["testExcludeNS"],
            "cni_bin_dir": "/testDirectory"
        }
    }`
    
    type mockInterceptRuleMgr struct {
    	lastRedirect []*Redirect
    }
    
    func buildMockConf(ambientEnabled bool, eventURL string) string {
    	return fmt.Sprintf(
    		mockConfTmpl,
    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)
  8. istioctl/pkg/analyze/analyze.go

    func gatherFilesInDirectory(cmd *cobra.Command, dir string) ([]local.ReaderSource, error) {
    	var readers []local.ReaderSource
    
    	err := filepath.Walk(dir, func(path string, info os.FileInfo, err error) error {
    		if err != nil {
    			return err
    		}
    		// If we encounter a directory, recurse only if the --recursive option
    		// was provided and the directory is not the same as dir.
    		if info.IsDir() {
    			if !recursive && dir != path {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. cni/pkg/install/install.go

    }
    
    // Run starts the installation process, verifies the configuration, then sleeps.
    // If the configuration is invalid, a full redeployal of config, binaries, and svcAcct credentials to the
    // shared node CNI dir will be attempted.
    //
    // If changes occurred but the config is still valid, only the binaries and (optionally) svcAcct credentials
    // will be redeployed.
    func (in *Installer) Run(ctx context.Context) error {
    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)
  10. cni/pkg/install/cniconfig_test.go

    	cases := []struct {
    		name            string
    		dir             string
    		inFilename      string
    		outFilename     string
    		fileContents    string
    		expectedFailure bool
    	}{
    		{
    			name:            "inexistent directory",
    			dir:             "/inexistent/directory",
    			expectedFailure: true,
    		},
    		{
    			name:            "empty directory",
    			dir:             tempDir,
    			expectedFailure: true,
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
Back to top