Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 201 for Tanghe (0.16 sec)

  1. istioctl/pkg/writer/envoy/configdump/ecds.go

    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    
    	fmt.Fprintln(w, "ECDS NAME\tTYPE")
    	dump, err := c.retrieveSortedEcds()
    	if err != nil {
    		return err
    	}
    	for _, ecds := range dump {
    		fmt.Fprintf(w, "%v\t%v\n",
    			ecds.Name,
    			strings.TrimPrefix(ecds.GetTypedConfig().GetTypeUrl(), typeURLPrefix),
    		)
    	}
    
    	return w.Flush()
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. cni/pkg/install/install_test.go

    			existingConfFiles: map[string]string{"istio-cni.conf": "istio-cni.conf"},
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			// Create temp directory for files
    			tempDir := t.TempDir()
    
    			// Create existing config files if specified in test case
    			for srcFilename, targetFilename := range c.existingConfFiles {
    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)
  3. istioctl/pkg/tag/generate_test.go

    		},
    		Webhooks: []admitv1.ValidatingWebhook{
    			{
    				Name: "random",
    			},
    			{
    				FailurePolicy: &fail,
    				Name:          "validation.istio.io",
    			},
    		},
    	})
    	for _, tc := range tcs {
    		t.Run(tc.name, func(t *testing.T) {
    			webhookConfig, err := tagWebhookConfigFromCanonicalWebhook(tc.webhook, "default", tc.istioNamespace)
    			if err != nil {
    				t.Fatalf("webhook parsing failed with error: %v", err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  4. cni/pkg/plugin/kubernetes.go

    		Annotations:       pod.Annotations,
    		ProxyEnvironments: make(map[string]string),
    	}
    	for _, c := range containers(pod) {
    		pi.Containers.Insert(c.Name)
    		if c.Name == ISTIOPROXY {
    			// don't include ports from istio-proxy in the redirect ports
    			// Get proxy container env variable, and extract out ProxyConfig from it.
    			for _, e := range c.Env {
    				pi.ProxyEnvironments[e.Name] = e.Value
    			}
    			if len(c.Args) >= 2 && c.Args[0] == "proxy" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

        "global.meshExpansion.enabled" "Gateway and other Istio networking resources, such as in samples/multicluster/"
        "istiocoredns.enabled" "the in-proxy DNS capturing (ISTIO_META_DNS_CAPTURE)"
    }}
    {{- range $dep, $replace := $deps }}
    {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}}
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 16:38:47 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  6. istioctl/pkg/tag/tag.go

    		return err
    	}
    	sa.AddRunningKubeSourceWithRevision(k, revision, false)
    	res, err := sa.Analyze(make(chan struct{}))
    	if err != nil {
    		return err
    	}
    	relevantMessages := diag.Messages{}
    	for _, msg := range res.Messages.FilterOutLowerThan(diag.Error) {
    		if msg.Resource.Metadata.FullName.Name == resource.LocalName(name) {
    			relevantMessages = append(relevantMessages, msg)
    		}
    	}
    	if len(relevantMessages) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
       Route to host "productpage2" with weight 20%
       Route to host "productpage3" with weight 50%
       Match: /prefix*
    `,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) {
    			verifyExecAndK8sConfigTestCaseTestOutput(t, c)
    		})
    	}
    }
    
    func TestGetRevisionFromPodAnnotation(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. manifests/charts/base/templates/services.yaml

      {{- end }}
    {{- if .Values.global.ipFamilyPolicy }}
      ipFamilyPolicy: {{ .Values.global.ipFamilyPolicy }}
    {{- end }}
    {{- if .Values.global.ipFamilies }}
      ipFamilies:
    {{- range .Values.global.ipFamilies }}
      - {{ . }}
    {{- end }}
    {{- end }}
    ---
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 17:36:40 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. istioctl/cmd/sysexits_test.go

    	analyze.AnalyzerFoundIssuesError{}:                             ExitAnalyzerFoundIssues,
    }
    
    func TestKnownExitStrings(t *testing.T) {
    	for err, wantCode := range KnownErrorCode {
    		if code := GetExitCode(err); code != wantCode {
    			t.Errorf("For %v want %v, but is %v", err, wantCode, code)
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/compare/sds/util.go

    	proxySecretItems := make([]SecretItem, 0)
    	for _, warmingSecret := range secretConfigDump.DynamicWarmingSecrets {
    		secret, err := parseDynamicSecret(warmingSecret, "WARMING")
    		if err != nil {
    			return nil, fmt.Errorf("failed building warming secret %s: %v",
    				warmingSecret.Name, err)
    		}
    		proxySecretItems = append(proxySecretItems, secret)
    	}
    	for _, activeSecret := range secretConfigDump.DynamicActiveSecrets {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top