
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.7.0
  creationTimestamp: null
  name: tiflowjobs.eks.infra.pingcap.com
spec:
  group: eks.infra.pingcap.com
  names:
    kind: TiflowJob
    listKind: TiflowJobList
    plural: tiflowjobs
    singular: tiflowjob
  scope: Namespaced
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        description: TiflowJob is the Schema for the tiflowjobs API
        properties:
          apiVersion:
            description: 'APIVersion defines the versioned schema of this representation
              of an object. Servers should convert recognized schemas to the latest
              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
            type: string
          kind:
            description: 'Kind is a string value representing the REST resource this
              object represents. Servers may infer this from the endpoint the client
              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
            type: string
          metadata:
            type: object
          spec:
            description: TiflowJobSpec defines the desired state of TiflowJob
            properties:
              deployType:
                description: DeployType identifies the deployed type of executor for
                  this job.
                type: string
              networkName:
                description: NetworkName references the Network where the Cluster
                  is hosted, the Network must exist in the same namespace as Cluster
                type: string
              specCode:
                description: SpecCode identifies the specifications required for this
                  task. The mapping relationship between the specifications and cloud
                  resources is maintained in the eks provider
                type: string
            required:
            - networkName
            type: object
          status:
            description: TiflowJobStatus defines the observed state of TiflowJob
            properties:
              masterServerName:
                type: string
              phase:
                description: Phase is lifecycle phase of the tiflow job
                type: string
              tceSpecCode:
                description: TiflowClusterExecutor's spec code status
                type: string
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
