- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 5,833 for Required (0.14 sec)
-
pkg/apis/networking/validation/validation.go
allErrs = append(allErrs, field.Required(fldPath.Child("kind"), "kind is required")) } else { for _, msg := range pathvalidation.IsValidPathSegmentName(params.Kind) { allErrs = append(allErrs, field.Invalid(fldPath.Child("kind"), params.Kind, msg)) } } if params.Name == "" { allErrs = append(allErrs, field.Required(fldPath.Child("name"), "name is required")) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 07 14:48:01 UTC 2024 - 31.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go
f.Name, fev) } } } } if ts.ValueValidation != nil { for _, name := range ts.ValueValidation.Required { df, found := cust.FindField(name) if !found { t.Errorf("custom type missing required field. field=%s", name) } if !df.Required { t.Errorf("field marked as required in schema, but optional in type. field=%s", df.Name) } } } } func TestSchemaDeclTypes(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go
Type: []string{"object"}, Properties: map[string]spec.Schema{ "required": *spec.StringProperty(), "optional": *spec.StringProperty(), }, Required: []string{"required"}, }}}, }}, // expected JSON is [{"required":"",},{"required":"",},...] so our length should be (maxRequestSizeBytes - 2) / 17 ExpectedMaxElements: 185042, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 17:18:27 UTC 2022 - 13K bytes - Viewed (0) -
pkg/apis/rbac/validation/validation.go
if role.AggregationRule != nil { if len(role.AggregationRule.ClusterRoleSelectors) == 0 { allErrs = append(allErrs, field.Required(field.NewPath("aggregationRule", "clusterRoleSelectors"), "at least one clusterRoleSelector required if aggregationRule is non-nil")) } for i, selector := range role.AggregationRule.ClusterRoleSelectors {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 01:48:21 UTC 2022 - 10.4K bytes - Viewed (0) -
tests/test_openapi_examples.py
} }, }, } }, "required": True, }, "responses": { "200": { "description": "Successful Response",
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 17K bytes - Viewed (0) -
common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto
} // FlowSchemaCondition describes conditions for a FlowSchema. message FlowSchemaCondition { // `type` is the type of the condition. // Required. optional string type = 1; // `status` is the status of the condition. // Can be True, False, Unknown. // Required. optional string status = 2; // `lastTransitionTime` is the last time the condition transitioned from one status to another.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 19.4K bytes - Viewed (0) -
common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto
} // FlowSchemaCondition describes conditions for a FlowSchema. message FlowSchemaCondition { // `type` is the type of the condition. // Required. optional string type = 1; // `status` is the status of the condition. // Can be True, False, Unknown. // Required. optional string status = 2; // `lastTransitionTime` is the last time the condition transitioned from one status to another.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 19.4K bytes - Viewed (0) -
common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto
} // FlowSchemaCondition describes conditions for a FlowSchema. message FlowSchemaCondition { // `type` is the type of the condition. // Required. optional string type = 1; // `status` is the status of the condition. // Can be True, False, Unknown. // Required. optional string status = 2; // `lastTransitionTime` is the last time the condition transitioned from one status to another.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 19.4K bytes - Viewed (0) -
staging/src/k8s.io/api/flowcontrol/v1beta3/generated.proto
} // FlowSchemaCondition describes conditions for a FlowSchema. message FlowSchemaCondition { // `type` is the type of the condition. // Required. optional string type = 1; // `status` is the status of the condition. // Can be True, False, Unknown. // Required. optional string status = 2; // `lastTransitionTime` is the last time the condition transitioned from one status to another.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 21.5K bytes - Viewed (0) -
src/internal/fuzz/encoding.go
if lit.Name != "NaN" { return nil, fmt.Errorf("literal value required for primitive type") } val, kind = "NaN", token.FLOAT default: return nil, fmt.Errorf("literal value required for primitive type") } } switch typ := idType.Name; typ { case "string": if kind != token.STRING { return nil, fmt.Errorf("string literal value required for type string") } return strconv.Unquote(val)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 16:39:12 UTC 2022 - 11K bytes - Viewed (0)