k8s.io/kube-openapi@v0.0.0-20240228011516-70dd3763d340/pkg/schemaconv/testdata/preserve-unknown.yaml (about)

     1  types:
     2  - name: io.k8s.testcase.Empty
     3    map:
     4      elementType:
     5        scalar: untyped
     6        list:
     7          elementType:
     8            namedType: __untyped_atomic_
     9          elementRelationship: atomic
    10        map:
    11          elementType:
    12            namedType: __untyped_deduced_
    13          elementRelationship: separable
    14  - name: io.k8s.testcase.EmptyPreserveUnknownFieldsObject
    15    map:
    16      fields:
    17      - name: preserveField
    18        type:
    19          map:
    20            elementType:
    21              scalar: untyped
    22              list:
    23                elementType:
    24                  namedType: __untyped_atomic_
    25                elementRelationship: atomic
    26              map:
    27                elementType:
    28                  namedType: __untyped_deduced_
    29                elementRelationship: separable
    30  - name: io.k8s.testcase.PopulatedPreserveUnknownFieldsObject
    31    map:
    32      fields:
    33      - name: preserveField
    34        type:
    35          map:
    36            fields:
    37            - name: innerField
    38              type:
    39                scalar: string
    40            elementType:
    41              namedType: __untyped_deduced_
    42  - name: __untyped_atomic_
    43    scalar: untyped
    44    list:
    45      elementType:
    46        namedType: __untyped_atomic_
    47      elementRelationship: atomic
    48    map:
    49      elementType:
    50        namedType: __untyped_atomic_
    51      elementRelationship: atomic
    52  - name: __untyped_deduced_
    53    scalar: untyped
    54    list:
    55      elementType:
    56        namedType: __untyped_atomic_
    57      elementRelationship: atomic
    58    map:
    59      elementType:
    60        namedType: __untyped_deduced_
    61      elementRelationship: separable