Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for BoolValue (0.38 sec)

  1. pilot/pkg/model/telemetry_metric_test.go

    			{
    				Match: &tpb.MetricSelector{
    					MetricMatch: &tpb.MetricSelector_Metric{
    						Metric: tpb.MetricSelector_ALL_METRICS,
    					},
    					Mode: tpb.WorkloadMode_CLIENT_AND_SERVER,
    				},
    				Disabled: &wrappers.BoolValue{Value: true},
    			},
    		},
    	}
    	disableAllWithoutMode := &tpb.Metrics{
    		Providers: []*tpb.ProviderRef{
    			{Name: "prometheus"},
    		},
    		Overrides: []*tpb.MetricsOverrides{
    			{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 16 03:24:36 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. src/log/slog/value_test.go

    	}
    }
    
    func TestValueEqual(t *testing.T) {
    	var x, y int
    	vals := []Value{
    		{},
    		Int64Value(1),
    		Int64Value(2),
    		Float64Value(3.5),
    		Float64Value(3.7),
    		BoolValue(true),
    		BoolValue(false),
    		TimeValue(testTime),
    		TimeValue(time.Time{}),
    		TimeValue(time.Date(2001, 1, 2, 3, 4, 5, 0, time.UTC)),
    		TimeValue(time.Date(2300, 1, 1, 0, 0, 0, 0, time.UTC)),            // overflows nanoseconds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. pkg/apis/resource/namedresources.go

    }
    
    // NamedResourcesAttributeValue must have one and only one field set.
    type NamedResourcesAttributeValue struct {
    	// QuantityValue is a quantity.
    	QuantityValue *resource.Quantity
    	// BoolValue is a true/false value.
    	BoolValue *bool
    	// IntValue is a 64-bit integer.
    	IntValue *int64
    	// IntSliceValue is an array of 64-bit integers.
    	IntSliceValue *NamedResourcesIntSlice
    	// StringValue is a string.
    	StringValue *string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. pilot/pkg/xds/endpoints/endpoint_builder_test.go

    							LocalityLbSetting: &networking.LocalityLoadBalancerSetting{
    								FailoverPriority: []string{
    									"a",
    									"b",
    								},
    								Enabled: &wrapperspb.BoolValue{Value: false},
    							},
    						},
    					},
    				},
    			},
    			expectedLabels: nil,
    		},
    		{
    			name: "mesh LocalityLoadBalancerSetting",
    			dr: &config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/testFixtures/groovy/org/gradle/ide/xcode/fixtures/WorkspaceSettingsFile.groovy

            def value = plist.get(AUTO_CREATE_CONTEXTS_IF_NEEDED_KEY)
            if (value == null || !(value instanceof NSNumber) || !value.isBoolean()) {
                return true
            }
    
            return ((NSNumber)value).boolValue()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/resource/v1alpha2/namedresources.go

    type NamedResourcesAttributeValue struct {
    	// QuantityValue is a quantity.
    	QuantityValue *resource.Quantity `json:"quantity,omitempty" protobuf:"bytes,6,opt,name=quantity"`
    	// BoolValue is a true/false value.
    	BoolValue *bool `json:"bool,omitempty" protobuf:"bytes,2,opt,name=bool"`
    	// IntValue is a 64-bit integer.
    	IntValue *int64 `json:"int,omitempty" protobuf:"varint,7,opt,name=int"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel_test.go

    							BoolValue: ptr.To(false),
    						},
    					}},
    				},
    			},
    			{
    				Instance: &resourceapi.NamedResourcesInstance{
    					Name: instance2,
    					Attributes: []resourceapi.NamedResourcesAttribute{{
    						Name: "usable",
    						NamedResourcesAttributeValue: resourceapi.NamedResourcesAttributeValue{
    							BoolValue: ptr.To(true),
    						},
    					}},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/features/features.go

    			klog.Warningf("Setting deprecated feature gate %s=%s. It will be removed in a future release.", k, v)
    		}
    
    		boolValue, err := strconv.ParseBool(v)
    		if err != nil {
    			return nil, errors.Errorf("invalid value %v for feature-gate key: %s, use true|false instead", v, k)
    		}
    		featureGate[k] = boolValue
    	}
    
    	return featureGate, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 13:55:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/log/slog/attr.go

    func Float64(key string, v float64) Attr {
    	return Attr{key, Float64Value(v)}
    }
    
    // Bool returns an Attr for a bool.
    func Bool(key string, v bool) Attr {
    	return Attr{key, BoolValue(v)}
    }
    
    // Time returns an Attr for a [time.Time].
    // It discards the monotonic portion.
    func Time(key string, v time.Time) Attr {
    	return Attr{key, TimeValue(v)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 18:23:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. operator/pkg/translate/translate_common.go

    			componentName, err)
    	}
    	if !found || componentNodeI == nil {
    		return false, nil
    	}
    	componentNode, ok := componentNodeI.(*wrapperspb.BoolValue)
    	if !ok {
    		return false, fmt.Errorf("component %s enabled has bad type %T, expect *v1alpha1.BoolValueForPB", componentName, componentNodeI)
    	}
    	if componentNode == nil {
    		return false, nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top