Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for oldSelf (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/crds/standard-install.yaml

                    type: string
                    x-kubernetes-validations:
                    - message: Value is immutable
                      rule: self == oldSelf
                  description:
                    description: Description helps describe a GatewayClass with more details.
                    maxLength: 64
                    type: string
                  parametersRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 458.3K bytes
    - Viewed (0)
Back to top