Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for oldSelf (0.27 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      // missing the value.
      //
      // When enabled `oldSelf` will be a CEL optional whose value will be
      // `None` if there is no old value, or when the object is initially created.
      //
      // You may check for presence of oldSelf using `oldSelf.hasValue()` and
      // unwrap it after checking using `oldSelf.value()`. Check the CEL
      // documentation for Optional types for more information:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    	// CEL validation expression.
    	OldScopedVarName = "oldSelf"
    )
    
    // CompilationResult represents the cel compilation result for one rule
    type CompilationResult struct {
    	Program cel.Program
    	Error   *apiservercel.Error
    	// If true, the compiled expression contains a reference to the identifier "oldSelf".
    	UsesOldSelf bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    								Schema: &apiextensions.JSONSchemaProps{
    									Type:      "string",
    									MaxLength: int64ptr(10),
    									XValidations: apiextensions.ValidationRules{
    										{Rule: "self == oldSelf"},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			expectedErrors: []validationMatch{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json

    transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 178.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    }
    
    func (v *specStandardValidatorV3) withForbidOldSelfValidations(path *field.Path) specStandardValidator {
    	if v.uncorrelatableOldSelfValidationPath != nil {
    		// oldSelf validations are already forbidden. preserve the highest-level path
    		// causing oldSelf validations to be forbidden
    		return v
    	}
    	clone := *v
    	clone.uncorrelatableOldSelfValidationPath = path
    	return &clone
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go

    transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:17 UTC 2024
    - 329.7K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loadelf/ldelf.go

    Cherry Mui <******@****.***> 1708034705 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.24.md

    - CEL CRD validation expressions may now reference existing object state using the identifier `oldSelf`. ([#108073](https://github.com/kubernetes/kubernetes/pull/108073), [@benluddy](https://github.com/benluddy))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TableCollectors.java

        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
            oldCell.merge(value, merger);
          }
        }
    
        ImmutableTableCollectorState<R, C, V> combine(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TableCollectors.java

        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
            oldCell.merge(value, merger);
          }
        }
    
        ImmutableTableCollectorState<R, C, V> combine(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top