Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for Franke (0.2 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    			execClientConfig: loggingConfig,
    			args:             strings.Split("log ztunnel-9v7nw --level debug", " "),
    			expectedString:   "current log level is debug",
    			wantException:    false,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) {
    			verifyExecTestOutput(t, ZtunnelConfig(cli.NewFakeContext(&cli.NewFakeContextOption{
    				Results:   c.execClientConfig,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/pod_cache_test.go

    	}
    }
    
    func TestPodsAppearsWithNilNetnsWhenEnsureIsUsed(t *testing.T) {
    	p := newPodNetnsCache(openNsTestOverride)
    
    	p.Ensure("123")
    
    	found := false
    	snap := p.ReadCurrentPodSnapshot()
    	for k, v := range snap {
    		if k == "123" && v == (WorkloadInfo{}) {
    			found = true
    		}
    	}
    	if !found {
    		t.Fatalf("expected pod 123 to be in the cache")
    	}
    }
    
    func TestUpsertPodCacheWithLiveNetns(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. istioctl/pkg/metrics/metrics.go

    	if err != nil {
    		return fmt.Errorf("failure running port forward process: %v", err)
    	}
    
    	printHeader(c.OutOrStdout())
    
    	workloads := args
    	for _, workload := range workloads {
    		sm, err := metrics(promAPI, workload, metricsDuration)
    		if err != nil {
    			return fmt.Errorf("could not build metrics for workload '%s': %v", workload, err)
    		}
    
    		printMetrics(c.OutOrStdout(), sm)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			args:             strings.Split("route httpbin-794b576b6c-qx6pf", " "),
    			expectedString:   `config dump has no configuration type`,
    			wantException:    true,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) {
    			verifyExecTestOutput(t, ProxyConfig(cli.NewFakeContext(&cli.NewFakeContextOption{
    				Results:   c.execClientConfig,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin.go

    	log := log.WithLabels("pod", podNamespace+"/"+podName)
    	if podNamespace == "" || podName == "" {
    		log.Debugf("Not a kubernetes pod")
    		return nil
    	}
    
    	for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
    		if podNamespace == excludeNs {
    			log.Infof("pod namespace excluded")
    			return nil
    		}
    	}
    
    	// Begin ambient plugin logic
    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)
  6. istioctl/pkg/injector/injector-list.go

    	for _, hook := range hooks {
    		revision := hook.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    		namespaces := getMatchingNamespaces(&hook, namespaces)
    		if len(namespaces) == 0 {
    			fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", "DOES NOT AUTOINJECT", hook.Name, revision, injectedImages[revision])
    			continue
    		}
    		for _, namespace := range namespaces {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    	if err != nil {
    		return err
    	}
    	for _, se := range ses.Items {
    		if se.Spec.Resolution != networking.ServiceEntry_NONE {
    			continue
    		}
    		changed := false
    		for _, p := range se.Spec.Ports {
    			if p.TargetPort != 0 && p.Number != p.TargetPort {
    				changed = true
    			}
    		}
    		if changed {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. istioctl/cmd/root.go

    			Short: "Legacy command variants",
    		}
    		rootCmd.AddCommand(legacyCmd)
    		for _, c := range xdsBasedTroubleshooting {
    			rootCmd.AddCommand(c)
    		}
    		debugCmdAttachmentPoint = legacyCmd
    	} else {
    		debugCmdAttachmentPoint = rootCmd
    	}
    	for _, c := range xdsBasedTroubleshooting {
    		experimentalCmd.AddCommand(c)
    	}
    	for _, c := range troubleshootingCommands {
    		debugCmdAttachmentPoint.AddCommand(c)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate.go

    	decodedWh := whObject.(*admitv1.ValidatingWebhookConfiguration)
    	for i := range decodedWh.Webhooks {
    		decodedWh.Webhooks[i].ClientConfig.CABundle = []byte(config.CABundle)
    	}
    	decodedWh.Labels = generateLabels(decodedWh.Labels, config.Labels, opts.CustomLabels, opts.UserManaged)
    	decodedWh.Annotations = maps.MergeCopy(decodedWh.Annotations, config.Annotations)
    	for i := range decodedWh.Webhooks {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload.go

    	// this is similar to the way the injector sets all values proxyConfig.proxyMetadata to the Pod's env
    	clusterEnv := map[string]string{}
    	for _, metaMap := range []map[string]string{config.ProxyMetadata, overrides} {
    		for k, v := range metaMap {
    			clusterEnv[k] = v
    		}
    	}
    
    	return os.WriteFile(filepath.Join(dir, "cluster.env"), []byte(mapToString(clusterEnv)), filePerms)
    }
    
    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)
Back to top