
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.4.1
  creationTimestamp: null
  name: operationcommandjobs.cloud.cloud.pingcap.com
spec:
  group: cloud.cloud.pingcap.com
  names:
    kind: OperationCommandJob
    listKind: OperationCommandJobList
    plural: operationcommandjobs
    singular: operationcommandjob
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: OperationCommandJob is the Schema for the OperationCommandJob
          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: OperationCommandJobSpec defines the desired state of OperationCommandJob
            properties:
              cluster_id:
                description: ClusterID is the ID of the target cluster
                type: string
              email:
                description: Email is the email of user
                type: string
              instance:
                description: Instance is the target instance
                type: string
              job_type:
                description: JobType is the type of command job
                type: string
              reason:
                description: Reason is the reason of job
                type: string
              tenant_id:
                description: TenantID is the ID of tenant
                type: string
            required:
            - cluster_id
            - email
            - job_type
            - reason
            - tenant_id
            type: object
          status:
            description: OperationCommandJobStatus defines the observed state of OperationCommandJob
            properties:
              phase:
                description: Phase is the status of the job
                type: string
            required:
            - phase
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
