Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for BoolValue (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/networking/core/route/retry/retry_test.go

    			// Create a route with a retry policy with RetryRemoteLocalities enabled.
    			route: &networking.HTTPRoute{
    				Retries: &networking.HTTPRetry{
    					Attempts: 2,
    					RetryRemoteLocalities: &wrappers.BoolValue{
    						Value: true,
    					},
    				},
    			},
    			assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) {
    				g.Expect(policy).To(Not(BeNil()))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.json

          "path": "pathValue",
          "readOnly": true
        },
        "rbd": {
          "monitors": [
            "monitorsValue"
          ],
          "image": "imageValue",
          "fsType": "fsTypeValue",
          "pool": "poolValue",
          "user": "userValue",
          "keyring": "keyringValue",
          "secretRef": {
            "name": "nameValue",
            "namespace": "namespaceValue"
          },
          "readOnly": true
        },
        "iscsi": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1alpha1.VolumeAttachment.yaml

            user: userValue
            volume: volumeValue
          rbd:
            fsType: fsTypeValue
            image: imageValue
            keyring: keyringValue
            monitors:
            - monitorsValue
            pool: poolValue
            readOnly: true
            secretRef:
              name: nameValue
              namespace: namespaceValue
            user: userValue
          scaleIO:
            fsType: fsTypeValue
            gateway: gatewayValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.yaml

        tenant: tenantValue
        user: userValue
        volume: volumeValue
      rbd:
        fsType: fsTypeValue
        image: imageValue
        keyring: keyringValue
        monitors:
        - monitorsValue
        pool: poolValue
        readOnly: true
        secretRef:
          name: nameValue
          namespace: namespaceValue
        user: userValue
      scaleIO:
        fsType: fsTypeValue
        gateway: gatewayValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top