...

Text file src/edge-infra.dev/pkg/k8s/object/fobject/crds/fake.ncr.com_fakes.yaml

Documentation: edge-infra.dev/pkg/k8s/object/fobject/crds

     1---
     2apiVersion: apiextensions.k8s.io/v1
     3kind: CustomResourceDefinition
     4metadata:
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7  name: fakes.fake.ncr.com
     8spec:
     9  group: fake.ncr.com
    10  names:
    11    kind: Fake
    12    listKind: FakeList
    13    plural: fakes
    14    singular: fake
    15  scope: Namespaced
    16  versions:
    17  - name: v1
    18    schema:
    19      openAPIV3Schema:
    20        description: |-
    21          Fake is a mock struct that adheres to the minimal requirements to
    22          work with the condition helpers, by implementing client.Object.
    23        properties:
    24          apiVersion:
    25            description: |-
    26              APIVersion defines the versioned schema of this representation of an object.
    27              Servers should convert recognized schemas to the latest internal value, and
    28              may reject unrecognized values.
    29              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    30            type: string
    31          kind:
    32            description: |-
    33              Kind is a string value representing the REST resource this object represents.
    34              Servers may infer this from the endpoint the client submits requests to.
    35              Cannot be updated.
    36              In CamelCase.
    37              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    38            type: string
    39          metadata:
    40            type: object
    41          spec:
    42            properties:
    43              interval:
    44                type: string
    45              suspend:
    46                type: boolean
    47              value:
    48                type: string
    49            required:
    50            - interval
    51            type: object
    52          status:
    53            default:
    54              observedGeneration: -1
    55            properties:
    56              conditions:
    57                items:
    58                  description: "Condition contains details for one aspect of the current
    59                    state of this API Resource.\n---\nThis struct is intended for
    60                    direct use as an array at the field path .status.conditions.  For
    61                    example,\n\n\n\ttype FooStatus struct{\n\t    // Represents the
    62                    observations of a foo's current state.\n\t    // Known .status.conditions.type
    63                    are: \"Available\", \"Progressing\", and \"Degraded\"\n\t    //
    64                    +patchMergeKey=type\n\t    // +patchStrategy=merge\n\t    // +listType=map\n\t
    65                    \   // +listMapKey=type\n\t    Conditions []metav1.Condition `json:\"conditions,omitempty\"
    66                    patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
    67                    \   // other fields\n\t}"
    68                  properties:
    69                    lastTransitionTime:
    70                      description: |-
    71                        lastTransitionTime is the last time the condition transitioned from one status to another.
    72                        This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
    73                      format: date-time
    74                      type: string
    75                    message:
    76                      description: |-
    77                        message is a human readable message indicating details about the transition.
    78                        This may be an empty string.
    79                      maxLength: 32768
    80                      type: string
    81                    observedGeneration:
    82                      description: |-
    83                        observedGeneration represents the .metadata.generation that the condition was set based upon.
    84                        For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
    85                        with respect to the current state of the instance.
    86                      format: int64
    87                      minimum: 0
    88                      type: integer
    89                    reason:
    90                      description: |-
    91                        reason contains a programmatic identifier indicating the reason for the condition's last transition.
    92                        Producers of specific condition types may define expected values and meanings for this field,
    93                        and whether the values are considered a guaranteed API.
    94                        The value should be a CamelCase string.
    95                        This field may not be empty.
    96                      maxLength: 1024
    97                      minLength: 1
    98                      pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
    99                      type: string
   100                    status:
   101                      description: status of the condition, one of True, False, Unknown.
   102                      enum:
   103                      - "True"
   104                      - "False"
   105                      - Unknown
   106                      type: string
   107                    type:
   108                      description: |-
   109                        type of condition in CamelCase or in foo.example.com/CamelCase.
   110                        ---
   111                        Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
   112                        useful (see .node.status.conditions), the ability to deconflict is important.
   113                        The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   114                      maxLength: 316
   115                      pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
   116                      type: string
   117                  required:
   118                  - lastTransitionTime
   119                  - message
   120                  - reason
   121                  - status
   122                  - type
   123                  type: object
   124                type: array
   125              observedGeneration:
   126                format: int64
   127                type: integer
   128              observedValue:
   129                type: string
   130            type: object
   131        type: object
   132    served: true
   133    storage: true
   134    subresources:
   135      status: {}

View as plain text