Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Wf (0.02 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/workload.go

    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *WorkloadFilter) Verify(workload *ZtunnelWorkload) bool {
    	if wf.Address == "" && wf.Node == "" && wf.Namespace == "" {
    		return true
    	}
    
    	if wf.Namespace != "" {
    		if !strings.EqualFold(workload.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    	if wf.Address != "" {
    		var find bool
    		for _, ip := range workload.WorkloadIPs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/gover/version.go

    }
    
    // FromGoWork returns the go version from the go.mod file.
    // It returns DefaultGoWorkVersion if the go.mod file does not contain a go line or if wf is nil.
    func FromGoWork(wf *modfile.WorkFile) string {
    	if wf == nil || wf.Go == nil {
    		return DefaultGoWorkVersion
    	}
    	return wf.Go.Version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/policies.go

    type PolicyFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool {
    	if wf.Namespace != "" {
    		if !strings.EqualFold(pol.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    				}
    				util.CompareContent(t, gotOut.Bytes(), tt.wantOutputSecret)
    			}
    			if tt.wantOutputWorkload != "" {
    				wf := WorkloadFilter{}
    				if tt.configNamespace != "" {
    					wf.Namespace = tt.configNamespace
    				}
    				err := cw.PrintWorkloadSummary(wf)
    				if err == nil && tt.wantErr {
    					t.Errorf("PrintWorkloadSummary (%v) did not produce expected err", tt.name)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/services.go

    type ServiceFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *ServiceFilter) Verify(svc *ZtunnelService) bool {
    	if wf.Namespace != "" {
    		if !strings.EqualFold(svc.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/internal/coverage/cfile/emitdata_test.go

    	rval := ""
    	for _, f := range want {
    		wf := "Func: " + f + "\n"
    		if strings.Contains(output, wf) {
    			continue
    		}
    		rval += fmt.Sprintf("error: output should contain %q but does not\n", wf)
    	}
    	for _, f := range avoid {
    		wf := "Func: " + f + "\n"
    		if strings.Contains(output, wf) {
    			rval += fmt.Sprintf("error: output should not contain %q but does\n", wf)
    		}
    	}
    	if rval != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/init.go

    func WriteWorkFile(path string, wf *modfile.WorkFile) error {
    	wf.SortBlocks()
    	wf.Cleanup()
    	out := modfile.Format(wf.Syntax)
    
    	return os.WriteFile(path, out, 0666)
    }
    
    // UpdateWorkGoVersion updates the go line in wf to be at least goVers,
    // reporting whether it changed the file.
    func UpdateWorkGoVersion(wf *modfile.WorkFile, goVers string) (changed bool) {
    	old := gover.FromGoWork(wf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  8. src/net/http/response_test.go

    	for i := 0; i < hv.NumField(); i++ {
    		name := hv.Type().Field(i).Name
    		if !token.IsExported(name) {
    			continue
    		}
    		hf := hv.Field(i).Interface()
    		wf := wv.Field(i).Interface()
    		if !reflect.DeepEqual(hf, wf) {
    			t.Errorf("%s: %s = %v want %v", prefix, name, hf, wf)
    		}
    	}
    }
    
    type responseLocationTest struct {
    	location string // Response's Location header or ""
    	requrl   string // Response.Request.URL or ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 19:01:29 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. src/runtime/gc_test.go

    			logDiff(t, fmt.Sprintf("%s[%d]", prefix, i), got.Index(i), want.Index(i))
    		}
    	case reflect.Struct:
    		for i := 0; i < typ.NumField(); i++ {
    			gf, wf := got.Field(i), want.Field(i)
    			logDiff(t, prefix+"."+typ.Field(i).Name, gf, wf)
    		}
    	case reflect.Map:
    		t.Fatal("not implemented: logDiff for map")
    	default:
    		if got.Interface() != want.Interface() {
    			t.Logf("%s: got %v, want %v", prefix, got, want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/crypto/tls/testdata/Client-TLSv13-KeyUpdate

    000000c0  a6 81 ef 9b 55 83 4e 93  df 92 97 6f 00 f5 c4 fc  |....U.N....o....|
    000000d0  ec b1 19 dd 68 b5 bd c4  bb ba 63 9a e4 c9 24 af  |....h.....c...$.|
    000000e0  88 13 65 11 bf ea d9 07  e9 46 fd 5b 60 ce 57 46  |..e......F.[`.WF|
    000000f0  8b a9 bd c6 58 1a 3b bd  5e fb 0f 46 ec fc 8b 2c  |....X.;.^..F...,|
    00000100  ea a7 19 06 6a e5 6f 10  7a 27 04 6b aa a4 2c f4  |....j.o.z'.k..,.|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top