- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for optionalOldSelf (0.2 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go
name: "Ratcheting, For creation, FG disabled, no OptionalOldSelf, no field drop", enableRatcheting: false, crd: &apiextensions.CustomResourceDefinition{}, oldCRD: nil, expectedCRD: &apiextensions.CustomResourceDefinition{}, }, { name: "Ratcheting, For creation, FG disabled, set OptionalOldSelf, drop OptionalOldSelf", enableRatcheting: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 44.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/validationrule.go
Reason *v1.FieldValueErrorReason `json:"reason,omitempty"` FieldPath *string `json:"fieldPath,omitempty"` OptionalOldSelf *bool `json:"optionalOldSelf,omitempty"` } // ValidationRuleApplyConfiguration constructs an declarative configuration of the ValidationRule type for use with // apply.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 22:34:13 UTC 2023 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/validationrule.go
Reason *v1beta1.FieldValueErrorReason `json:"reason,omitempty"` FieldPath *string `json:"fieldPath,omitempty"` OptionalOldSelf *bool `json:"optionalOldSelf,omitempty"` } // ValidationRuleApplyConfiguration constructs an declarative configuration of the ValidationRule type for use with // apply.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 22:34:13 UTC 2023 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go
{Rule: "self >= oldSelf.value()", OptionalOldSelf: ptr.To(true)}, {Rule: "self >= oldSelf.orValue(1)", OptionalOldSelf: ptr.To(true)}, {Rule: "oldSelf.hasValue() ? self >= oldSelf.value() : true", OptionalOldSelf: ptr.To(true)}, {Rule: "self >= oldSelf", OptionalOldSelf: ptr.To(true)}, {Rule: "self >= oldSelf.orValue('')", OptionalOldSelf: ptr.To(true)}, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 51.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.json
"message": "messageValue", "messageExpression": "messageExpressionValue", "reason": "reasonValue", "fieldPath": "fieldPathValue", "optionalOldSelf": true } ] } }, "subresources": { "status": {}, "scale": { "specReplicasPath": "specReplicasPathValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 8.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.yaml
x-kubernetes-preserve-unknown-fields: true x-kubernetes-validations: - fieldPath: fieldPathValue message: messageValue messageExpression: messageExpressionValue optionalOldSelf: true reason: reasonValue rule: ruleValue version: versionValue versions: - additionalPrinterColumns: - JSONPath: JSONPathValue description: descriptionValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go
// // May not be set unless `oldSelf` is used in `rule`. // // +featureGate=CRDValidationRatcheting // +optional OptionalOldSelf *bool `json:"optionalOldSelf,omitempty" protobuf:"bytes,6,opt,name=optionalOldSelf"` } // JSON represents any valid JSON value. // These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. type JSON struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:21 UTC 2023 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types_jsonschema.go
// `transition rule`. // // By default, the `oldSelf` variable is the same type as `self`. // When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional // variable whose value() is the same type as `self`. // See the documentation for the `optionalOldSelf` field for details. // // Transition rules by default are applied only on UPDATE requests and are
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 22:23:23 UTC 2023 - 15.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go
// // May not be set unless `oldSelf` is used in `rule`. // // +featureGate=CRDValidationRatcheting // +optional OptionalOldSelf *bool `json:"optionalOldSelf,omitempty" protobuf:"bytes,6,opt,name=optionalOldSelf"` } // JSON represents any valid JSON value. // These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. type JSON struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:21 UTC 2023 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go
dropSelectableFields(&newCRD.Spec) } } // dropOptionalOldSelfField drops field optionalOldSelf from CRD schema func dropOptionalOldSelfField(schema *apiextensions.JSONSchemaProps) { if schema == nil { return } for i := range schema.XValidations { schema.XValidations[i].OptionalOldSelf = nil } if schema.AdditionalProperties != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 10.3K bytes - Viewed (0)