~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
151 lines · 4.0 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-7.eventstreams.events.socialweb.computer
spec:
  group: events.socialweb.computer
  names:
    kind: EventStream
    listKind: EventStreamList
    plural: eventstreams
    singular: eventstream
  scope: Cluster
  versions:
    - name: v1alpha1
      served: true
      storage: true
      subresources:
        status: {}
      schema:
        type: object
        properties:
          apiVersion:
            type: string
          kind:
            type: string
          metadata:
            type: object
          spec:
            type: object
            properties:
              sourceRef:
                type: object
                properties:
                  group:
                    type: string
                  kind:
                    type: string
                    maxLength: 63
                  name:
                    type: string
                    maxLength: 253
                  workspace:
                    type: string
                required:
                  - kind
                  - name
              filter:
                type: object
                properties:
                  collections:
                    type: array
                    items:
                      type: string
                  dids:
                    type: array
                    items:
                      type: string
              cursor:
                type: integer
                format: int64
              resume:
                type: string
                enum:
                  - Persisted
                  - Live
                  - Recent
              sink:
                type: object
                properties:
                  kind:
                    type: string
                    enum:
                      - atprotoRecordWatch
                      - handler
                  name:
                    type: string
                  namespace:
                    type: string
                required:
                  - kind
                  - name
              suspend:
                type: boolean
            required:
              - sourceRef
              - sink
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              phase:
                type: string
                enum:
                  - Pending
                  - Running
                  - Suspended
                  - Failed
              cursor:
                type: integer
                format: int64
              lag:
                type: integer
                format: int64
              lastEventAt:
                type: string
                format: date-time
              serverFilter:
                type: object
                properties:
                  collections:
                    type: array
                    items:
                      type: string
                  dids:
                    type: array
                    items:
                      type: string
                  supported:
                    type: string
                    enum:
                      - "true"
                      - "false"
                      - unknown
                required:
                  - supported
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
      additionalPrinterColumns:
        - name: Source
          type: string
          jsonPath: .spec.sourceRef.name
        - name: Sink
          type: string
          jsonPath: .spec.sink.kind
        - name: Phase
          type: string
          jsonPath: .status.phase
        - name: Cursor
          type: integer
          jsonPath: .status.cursor
        - name: Lag
          type: integer
          jsonPath: .status.lag
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp