- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getSchemaForField (0.17 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/prunenulls.go
func isNonNullableNonDefaultableNull(x interface{}, s *structuralschema.Structural) bool { return x == nil && s != nil && s.Generic.Nullable == false && s.Default.Object == nil } func getSchemaForField(field string, s *structuralschema.Structural) *structuralschema.Structural { if s == nil { return nil } schema, ok := s.Properties[field] if ok { return &schema } if s.AdditionalProperties != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 06 03:49:29 UTC 2020 - 1.9K bytes - Viewed (0)