Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 114 for Franke (0.45 sec)

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

    	fmt.Fprintln(w, "NAME\tSTATUS\tLOCALITY\tCLUSTER")
    	dump, err := c.retrieveSortedEndpointsSlice(filter)
    	if err != nil {
    		return err
    	}
    	for _, eds := range dump {
    		for _, llb := range eds.Endpoints {
    			for _, ep := range llb.LbEndpoints {
    				addr := retrieveEndpointAddress(ep)
    				if includeConfigType {
    					addr = fmt.Sprintf("endpoint/%s", addr)
    				}
    				fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. cni/pkg/install/binaries_test.go

    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			srcDir := t.TempDir()
    			for filename, contents := range c.srcFiles {
    				file.WriteOrFail(t, filepath.Join(srcDir, filename), []byte(contents))
    			}
    
    			targetDir := t.TempDir()
    			for filename, contents := range c.existingFiles {
    				file.WriteOrFail(t, filepath.Join(targetDir, filename), []byte(contents))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 20 18:34:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/route.go

    	} else {
    		fmt.Fprintln(w, "NAME\tVIRTUAL HOSTS")
    	}
    	for _, route := range routes {
    		if filter.Verify(route) {
    			if includeConfigType {
    				route.Name = fmt.Sprintf("route/%s", route.Name)
    			}
    			if filter.Verbose {
    				for _, vhosts := range route.GetVirtualHosts() {
    					for _, r := range vhosts.Routes {
    						if !isPassthrough(r.GetAction()) {
    							fmt.Fprintf(w, "%v\t%s\t%s\t%s\t%s\n",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  4. istioctl/pkg/analyze/analyze.go

    			for _, s := range suppress {
    				parts := strings.Split(s, "=")
    				if len(parts) != 2 {
    					return fmt.Errorf("%s is not a valid suppression value. See istioctl analyze --help", s)
    				}
    				// Check to see if the supplied code is valid. If not, emit a
    				// warning but continue.
    				codeIsValid := false
    				for _, at := range msg.All() {
    					if at.Code() == parts[0] {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. cni/pkg/repair/repair_test.go

    			}),
    			false,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			c := &Controller{cfg: tt.config}
    			assert.Equal(t, c.matchesFilter(tt.pod), tt.want)
    		})
    	}
    }
    
    func fakeClient(pods ...*corev1.Pod) kube.Client {
    	var csPods []runtime.Object
    
    	for _, pod := range pods {
    		csPods = append(csPods, pod.DeepCopy())
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/sds/writer_test.go

    		})
    	}
    }
    
    func checkOutput(t *testing.T, output string, expected, unexpected []string) {
    	t.Helper()
    	for _, expected := range expected {
    		if !strings.Contains(output, expected) {
    			t.Errorf("expected %s included in writer output, did not find", expected)
    		}
    	}
    	for _, unexpected := range unexpected {
    		if strings.Contains(output, unexpected) {
    			t.Errorf("unexpected string %s included in writer output", unexpected)
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  7. istioctl/pkg/wait/wait.go

    	}
    }
    
    func validateType(kind string) error {
    	originalKind := kind
    
    	// Remove any dashes.
    	kind = strings.ReplaceAll(kind, "-", "")
    
    	for _, s := range collections.Pilot.All() {
    		if strings.EqualFold(kind, s.Kind()) {
    			targetSchema = s
    			return nil
    		}
    	}
    	return fmt.Errorf("type %s is not recognized", originalKind)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  8. cni/pkg/install/install.go

    	// We may or may not be the only CNI plugin in play, and if we are not
    	// we shouldn't fire events for binaries that are not ours.
    	var binPaths []string
    	for _, bindir := range in.cfg.CNIBinTargetDirs {
    		for _, binary := range installedBinFiles.UnsortedList() {
    			binPaths = append(binPaths, filepath.Join(bindir, binary))
    		}
    	}
    	targets := append(
    		binPaths,
    		in.cfg.MountedCNINetDir,
    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)
  9. cni/pkg/plugin/plugin_dryrun_test.go

    			},
    			customUID: &customUID,
    			customGID: &customGID,
    			golden:    filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/custom-uid-tproxy.txt.golden"),
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// TODO(bianpengyuan): How do we test ipv6 rules?
    			getNs = generateMockGetNsFunc(testSandboxDirectory)
    			tmpDir := t.TempDir()
    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)
  10. istioctl/pkg/validate/validate_test.go

    			in:    validK8sRecommendedLabels,
    			valid: true,
    		},
    		{
    			name:  "metric labels istio canonical",
    			in:    validIstioCanonical,
    			valid: true,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("[%v] %v ", i, c.name), func(tt *testing.T) {
    			defer func() { recover() }()
    			v := &validator{}
    			var writer io.Writer
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
Back to top