Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for SplitN (0.27 sec)

  1. istioctl/pkg/dashboard/dashboard_test.go

    		{ // case 0
    			Args:           strings.Split("--browser=false", " "),
    			ExpectedRegexp: regexp.MustCompile("Access to Istio web UIs"),
    		},
    		{ // case 1
    			Args:           strings.Split("invalid --browser=false", " "),
    			ExpectedRegexp: regexp.MustCompile(`unknown dashboard "invalid"`),
    			WantException:  true,
    		},
    		{ // case 2
    			Args:           strings.Split("controlz --browser=false", " "),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject_test.go

    			WantException:  true,
    		},
    		{ // case 1
    			Args:           strings.Split("-f missing.yaml", " "),
    			ExpectedRegexp: regexp.MustCompile(`open missing.yaml: no such file or directory`),
    			WantException:  true,
    		},
    		{ // case 2
    			Args: strings.Split(
    				"--meshConfigFile testdata/mesh-config.yaml"+
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  3. istioctl/pkg/proxystatus/proxystatus_test.go

    			args:          strings.Split("deployment/random-gibberish", " "),
    			wantException: true,
    		},
    		{ // case 3: supplying nonexistent deployment name
    			args:          strings.Split("deployment/random-gibberish.default", " "),
    			wantException: true,
    		},
    		{ // case 4: supplying nonexistent deployment name in nonexistent namespace
    			args:          strings.Split("deployment/random-gibberish.bogus", " "),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. manifests/charts/gateways/istio-ingress/templates/_affinity.tpl

    .podAntiAffinityLabel }} - labelSelector: matchExpressions: - key: {{ $item.key }} operator: {{ $item.operator }} {{- if $item.values }} values: {{- $vals := split "," $item.values }} {{- range $i, $v := $vals }} - {{ $v | quote }} {{- end }} {{- end }} topologyKey: {{ $item.topologyKey }} {{- if $item.namespaces }} namespaces: {{- $ns := split "," $item.namespaces }} {{- range $i, $n := $ns }} - {{ $n | quote }} {{- end }} {{- end }} {{- end }} {{- end }} {{- define "podAntiAffinityPrefe" }} {{- range...
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Aug 10 21:23:08 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

    }}
    {{- range $dep, $replace := $deps }}
    {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}}
    {{- $res := tpl (print "{{" (repeat (split "." $dep | len) "(")  ".Values." (replace "." ")." $dep) ")}}") $}}
    {{- if not (eq $res "")}}
    WARNING: {{$dep|quote}} is deprecated; use {{$replace|quote}} instead.
    {{- end }}
    {{- end }}
    {{-
      $failDeps := dict
    Plain Text
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Dec 13 03:23:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe_test.go

    			expectedString: "Describe resource and related Istio configuration",
    		},
    		{ // case 2 no pod
    			args:           strings.Split("pod", " "),
    			expectedString: "Error: expecting pod name",
    			wantException:  true, // "istioctl experimental inspect pod" should fail
    		},
    		{ // case 3 unknown pod
    			args:           strings.Split("po not-a-pod", " "),
    			expectedString: "pods \"not-a-pod\" not found",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/values.yaml

        # mesh's Trust Domain. The best practice is to select a proper Trust Domain
        # value.
        meshID: ""
    
        # Configure the mesh networks to be used by the Split Horizon EDS.
        #
        # The following example defines two networks with different endpoints association methods.
        # For `network1` all endpoints that their IP belongs to the provided CIDR range will be
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 16:58:23 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. istioctl/pkg/multixds/gather.go

    		if len(dr.ResourceNames) != 1 {
    			return nil, fmt.Errorf("`ResourceNames` must have one element when `all` flag is turned on")
    		}
    		slice := strings.SplitN(dr.ResourceNames[0], ".", 2)
    		if len(slice) != 2 {
    			return nil, fmt.Errorf("invalid resource name format: %v", slice)
    		}
    		podName := slice[0]
    		ns := slice[1]
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    							if gatewayName == "" || gatewayName == analyzerutil.MeshGateway {
    								continue
    							}
    							// parse gateway
    							gns := vsNamespace
    							parts := strings.SplitN(gatewayName, "/", 2)
    							if len(parts) == 2 {
    								gatewayName = parts[1]
    								gns = parts[0]
    							}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/podcgroupns.go

    	reader := bytes.NewReader(procCgroupData.Bytes())
    	var cgroups []Cgroup
    	scanner := bufio.NewScanner(reader)
    
    	for scanner.Scan() {
    		token := scanner.Text()
    		substrings := strings.SplitN(token, ":", 3)
    		if len(substrings) < 3 {
    			return nil, fmt.Errorf("cgroup entry contains %v colons, but expected at least 2 colons: %q", len(substrings), token)
    		}
    		cgroups = append(cgroups, Cgroup{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top