Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getvalue (0.34 sec)

  1. istioctl/pkg/precheck/precheck.go

    		}
    		if tls.Mode == networking.ClientTLSSettings_DISABLE || tls.Mode == networking.ClientTLSSettings_ISTIO_MUTUAL {
    			return false
    		}
    		return tls.CaCertificates == "" && tls.CredentialName == "" && !tls.InsecureSkipVerify.GetValue()
    	}
    	checkSNI := func(tls *networking.ClientTLSSettings) bool {
    		if tls == nil {
    			return false
    		}
    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)
  2. istioctl/pkg/writer/envoy/configdump/listener.go

    		}
    	}
    
    	port := ""
    	if match.DestinationPort != nil {
    		port = fmt.Sprintf(":%d", match.DestinationPort.GetValue())
    	}
    	if len(match.PrefixRanges) > 0 {
    		pf := []string{}
    		for _, p := range match.PrefixRanges {
    			pf = append(pf, fmt.Sprintf("%s/%d", p.AddressPrefix, p.GetPrefixLen().GetValue()))
    		}
    		descrs = append(descrs, fmt.Sprintf("Addr: %s%s", strings.Join(pf, ","), port))
    	} else if port != "" {
    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)
  3. cmd/metrics-v2.go

    		}
    		labels1["le"] = fmt.Sprintf("%.3f", math.Inf(+1))
    		metrics = append(metrics, MetricV2{
    			Description:    desc,
    			VariableLabels: labels1,
    			Value:          dtoMetric.Counter.GetValue(),
    		})
    	}
    	return metrics
    }
    
    func getBucketTTFBMetric() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: 10 * time.Second,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. operator/cmd/mesh/install.go

    			}
    		}
    		for _, c := range iop.Spec.Components.IngressGateways {
    			if c.Enabled.GetValue() {
    				enabledComponents = append(enabledComponents, name.UserFacingComponentName(name.IngressComponentName))
    				break
    			}
    		}
    		for _, c := range iop.Spec.Components.EgressGateways {
    			if c.Enabled.GetValue() {
    				enabledComponents = append(enabledComponents, name.UserFacingComponentName(name.EgressComponentName))
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  5. cmd/server_test.go

    }
    
    type check struct {
    	*testing.T
    	testType string
    }
    
    // Assert - checks if gotValue is same as expectedValue, if not fails the test.
    func (c *check) Assert(gotValue interface{}, expectedValue interface{}) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser.go

    	Timestamp1 *PrimaryTerm `parser:" @@ \",\" "`
    	Timestamp2 *PrimaryTerm `parser:" @@ \")\" "`
    }
    
    // LitValue represents a literal value parsed from the sql
    type LitValue struct {
    	Float   *float64       `parser:"(  @Float"`
    	Int     *float64       `parser:" | @Int"` // To avoid value out of range, use float64 instead
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. internal/config/config.go

    	}
    
    	// Check if config param requested is valid.
    	defKVS, ok := DefaultKVS[subSys]
    	if !ok {
    		return
    	}
    
    	defValue, isFound := defKVS.Lookup(cfgParam)
    	// Comments usually are absent from `defKVS`, so we handle it specially.
    	if !isFound && cfgParam == Comment {
    		defValue, isFound = "", true
    	}
    	if !isFound {
    		return
    	}
    
    	if target == "" {
    		target = Default
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload_test.go

    	}
    	for _, tt := range tests {
    		t.Run(tt.arg, func(t *testing.T) {
    			gotKey, gotValue := splitEqual(tt.arg)
    			if gotKey != tt.wantKey {
    				t.Errorf("splitEqual(%v) got = %v, want %v", tt.arg, gotKey, tt.wantKey)
    			}
    			if gotValue != tt.wantValue {
    				t.Errorf("splitEqual(%v) got1 = %v, want %v", tt.arg, gotValue, tt.wantValue)
    			}
    		})
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. internal/s3select/sql/evaluate.go

    	default:
    		return e.evalSQLFnNode(r, tableAlias)
    	}
    }
    
    // evalNode on a literal value is independent of the node being an
    // aggregation or a row function - it always returns a value.
    func (e *LitValue) evalNode(_ Record) (res *Value, err error) {
    	switch {
    	case e.Int != nil:
    		if *e.Int < math.MaxInt64 && *e.Int > math.MinInt64 {
    			return FromInt(int64(*e.Int)), nil
    		}
    		return FromFloat(*e.Int), nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  10. istioctl/pkg/kubeinject/kubeinject.go

    			if err != nil {
    				return nil, err
    			}
    			webhookPort := cc.Service.Port
    			podPort := 15017
    			for _, v := range svc.Spec.Ports {
    				if v.Port == *webhookPort {
    					podPort = v.TargetPort.IntValue()
    					break
    				}
    			}
    			f, err := e.client.NewPortForwarder(pod.Name, pod.Namespace, "", 0, podPort)
    			if err != nil {
    				return nil, err
    			}
    			if err := f.Start(); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
Back to top