Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for pl (3.23 sec)

  1. istioctl/pkg/dashboard/dashboard.go

    	for _, ns := range []string{ctx.IstioNamespace(), ctx.NamespaceOrDefault(ctx.Namespace())} {
    		pl, err := client.PodsForSelector(context.TODO(), ns, labelSelector)
    		if err != nil {
    			continue
    		}
    		if len(pl.Items) > 0 {
    			return pl.Items[0].Name, pl.Items[0].Namespace, nil
    		}
    	}
    	return "", "", fmt.Errorf("no pods found with selector %s", labelSelector)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  2. istioctl/pkg/precheck/precheck.go

    		sniImpacted = sniImpacted || checkSNI(dr.Spec.GetTrafficPolicy().GetTls())
    		for _, pl := range dr.Spec.GetTrafficPolicy().GetPortLevelSettings() {
    			verificationImpacted = verificationImpacted || checkVerify(pl.GetTls())
    			sniImpacted = sniImpacted || checkSNI(pl.GetTls())
    		}
    		for _, ss := range dr.Spec.Subsets {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. cmd/data-usage_test.go

    	pl := make([]byte, size)
    	for i := 0; i < nFolders; i++ {
    		name := filepath.Join(base, bucket, fmt.Sprint(i), "0.txt")
    		err := os.MkdirAll(filepath.Dir(name), os.ModePerm)
    		if err != nil {
    			t.Fatal(err)
    		}
    		for j := 0; j < nFiles; j++ {
    			name := filepath.Join(base, bucket, fmt.Sprint(i), fmt.Sprint(j)+".txt")
    			err = os.WriteFile(name, pl, os.ModePerm)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    			continue
    		}
    		pl, _ := cache.iamUserPolicyMap.Load(k)
    		result[k] = madmin.UserInfo{
    			PolicyName: pl.Policies,
    			Status: func() madmin.AccountStatus {
    				if v.IsValid() {
    					return madmin.AccountEnabled
    				}
    				return madmin.AccountDisabled
    			}(),
    			MemberOf:  cache.iamUserGroupMemberships[k].ToSlice(),
    			UpdatedAt: pl.UpdatedAt,
    		}
    	}
    
    	return result
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. istioctl/pkg/admin/istiodconfig.go

    				}
    				pl, err := client.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.IstioNamespace()), istiodLabelSelector)
    				if err != nil {
    					return fmt.Errorf("not able to locate pod with selector %s: %v", istiodLabelSelector, err)
    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/listener.go

    			m = map[string]*matcher.Matcher_OnMatch{}
    			for _, rm := range ip.GetRangeMatchers() {
    				for _, r := range rm.Ranges {
    					cidr := r.AddressPrefix
    					pl := r.PrefixLen.GetValue()
    					if pl != 32 && pl != 128 {
    						cidr += fmt.Sprintf("/%d", pl)
    					}
    					m[cidr] = rm.OnMatch
    				}
    			}
    		default:
    			panic("unhandled")
    		}
    	}
    	outputs := []string{}
    	for k, v := range m {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  7. istioctl/pkg/metrics/metrics.go

    	}
    
    	pl, err := client.PodsForSelector(context.TODO(), ctx.IstioNamespace(), "app.kubernetes.io/name=prometheus")
    	if err != nil {
    		return fmt.Errorf("not able to locate Prometheus pod: %v", err)
    	}
    
    	if len(pl.Items) < 1 {
    		return errors.New("no Prometheus pods found")
    	}
    
    	// only use the first pod in the list
    	promPod := pl.Items[0]
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/arm.go

    var armSCOND = map[string]uint8{
    	"EQ":  arm.C_SCOND_EQ,
    	"NE":  arm.C_SCOND_NE,
    	"CS":  arm.C_SCOND_HS,
    	"HS":  arm.C_SCOND_HS,
    	"CC":  arm.C_SCOND_LO,
    	"LO":  arm.C_SCOND_LO,
    	"MI":  arm.C_SCOND_MI,
    	"PL":  arm.C_SCOND_PL,
    	"VS":  arm.C_SCOND_VS,
    	"VC":  arm.C_SCOND_VC,
    	"HI":  arm.C_SCOND_HI,
    	"LS":  arm.C_SCOND_LS,
    	"GE":  arm.C_SCOND_GE,
    	"LT":  arm.C_SCOND_LT,
    	"GT":  arm.C_SCOND_GT,
    	"LE":  arm.C_SCOND_LE,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

    		podNames []string
    		ns       string
    	)
    	pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector)
    	if err != nil {
    		return nil, "", fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err)
    	}
    	if len(pl.Items) < 1 {
    		return nil, "", errors.New("no pods found")
    	}
    	for _, pod := range pl.Items {
    		podNames = append(podNames, pod.Name)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top