import { CustomResourceDefinitionSpec } from '../../apiextensions/v1beta1/CustomResourceDefinitionSpec'; import { CustomResourceDefinitionStatus } from '../../apiextensions/v1beta1/CustomResourceDefinitionStatus'; import { ObjectMeta } from '../../meta/v1/ObjectMeta'; /** * CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. * @interface CustomResourceDefinition * @see io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition */ export interface CustomResourceDefinition { /** * 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/api-conventions.md#resources * @type string */ apiVersion: "apiextensions/v1beta1" | string; /** * 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/api-conventions.md#types-kinds * @type string */ kind?: string; /** * no description provided * @type ObjectMeta */ metadata?: ObjectMeta; /** * Spec describes how the user wants the resources to appear * @type CustomResourceDefinitionSpec */ spec: CustomResourceDefinitionSpec; /** * Status indicates the actual state of the CustomResourceDefinition * @type CustomResourceDefinitionStatus */ status?: CustomResourceDefinitionStatus; }