Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for exclude (0.18 sec)

  1. cni/pkg/plugin/plugin_test.go

        "ambient_enabled": %t,
        "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
    }
    
    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)
  2. internal/config/compress/compress.go

    		},
    		config.KV{
    			Key:   MimeTypes,
    			Value: DefaultMimeTypes,
    		},
    	}
    )
    
    // Parses the given compression exclude list `extensions` or `content-types`.
    func parseCompressIncludes(include string) ([]string, error) {
    	includes := strings.Split(include, config.ValueSeparator)
    	for _, e := range includes {
    		if len(e) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    		// Nothing to filter, include everything.
    		return false
    	}
    
    	if len(cfg.Extensions) > 0 && hasStringSuffixInSlice(objStr, cfg.Extensions) {
    		// Matched an extension to compress, do not exclude.
    		return false
    	}
    
    	if len(cfg.MimeTypes) > 0 && hasPattern(cfg.MimeTypes, contentType) {
    		// Matched an MIME type to compress, do not exclude.
    		return false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  4. cni/pkg/plugin/plugin_dryrun_test.go

    			},
    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/include-exclude-ip.txt.golden"),
    		},
    		{
    			name: "include-exclude-ports",
    			annotations: map[string]string{
    				annotation.SidecarStatus.Name:                      "true",
    				annotation.SidecarTrafficIncludeInboundPorts.Name:  "1111,2222",
    				annotation.SidecarTrafficExcludeInboundPorts.Name:  "3333,4444",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. cni/test/install_cni.go

    	cniNetworkConfig     = `{
      "cniVersion": "0.3.1",
      "type": "istio-cni",
      "log_level": "info",
      "kubernetes": {
          "kubeconfig": "__KUBECONFIG_FILEPATH__",
          "cni_bin_dir": "/opt/cni/bin",
          "exclude_namespaces": [ "istio-system" ]
      }
    }
    `
    )
    
    func getEnv(key, fallback string) string {
    	if value, ok := os.LookupEnv(key); ok {
    		return value
    	}
    	return fallback
    }
    
    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)
  6. cni/pkg/nodeagent/podcgroupns.go

    	return 0, fmt.Errorf("unable to get fd")
    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used
    // nolint: lll
    var cgroupREs = []*regexp.Regexp{
    	// the regex used to parse out the pod UID and container ID from a
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin.go

    	}
    
    	// Check if istio-init container is present; in that case exclude pod
    	if pi.Containers.Contains(ISTIOINIT) {
    		log.Infof("excluded due to being already injected with istio-init container")
    		return nil
    	}
    
    	if val, ok := pi.ProxyEnvironments["DISABLE_ENVOY"]; ok {
    		if val, err := strconv.ParseBool(val); err == nil && val {
    			log.Infof("excluded due to DISABLE_ENVOY on istio-proxy", podNamespace, podName)
    			return nil
    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)
  8. istioctl/pkg/workload/workload.go

    		"ISTIO_INBOUND_PORTS":       portBehavior,
    		"ISTIO_NAMESPACE":           wg.Namespace,
    		"ISTIO_SERVICE":             fmt.Sprintf("%s.%s", wg.Name, wg.Namespace),
    		"ISTIO_SERVICE_CIDR":        "*",
    		"ISTIO_LOCAL_EXCLUDE_PORTS": excludePorts,
    		"SERVICE_ACCOUNT":           we.ServiceAccount,
    	}
    
    	if isRevisioned(revision) {
    		overrides["CA_ADDR"] = IstiodAddr(istioNamespace, revision)
    	}
    	if len(internalIP) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    	for _, s := range helmreconciler.PrunedResourcesSchemas() {
    		remainedObjs := objs.kind(s.Kind)
    		if remainedObjs.size() == 0 {
    			continue
    		}
    		for _, v := range remainedObjs.objMap {
    			// exclude operator objects, which will not be pruned
    			if strings.Contains(v.Name, "istio-operator") {
    				continue
    			}
    			t.Fatalf("obj %s/%s is not pruned", v.Namespace, v.Name)
    		}
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue24161e2/main.go

    //go:build darwin
    
    package issue24161e2
    
    /*
    #cgo CFLAGS: -x objective-c
    #cgo LDFLAGS: -framework CoreFoundation -framework Security
    #include <TargetConditionals.h>
    #include <CoreFoundation/CoreFoundation.h>
    #include <Security/Security.h>
    #if TARGET_OS_IPHONE == 0 && __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
      typedef CFStringRef SecKeyAlgorithm;
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (1)
Back to top