@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
47 lines (46 loc) • 2.5 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { IoK8sApiNetworkingV1IngressClassSpec, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './';
/**
* IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.
* @export
* @interface IoK8sApiNetworkingV1IngressClass
*/
export interface IoK8sApiNetworkingV1IngressClass {
/**
* 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}
* @memberof IoK8sApiNetworkingV1IngressClass
*/
apiVersion?: 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/sig-architecture/api-conventions.md#types-kinds
* @type {string}
* @memberof IoK8sApiNetworkingV1IngressClass
*/
kind?: string;
/**
*
* @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta}
* @memberof IoK8sApiNetworkingV1IngressClass
*/
metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta;
/**
*
* @type {IoK8sApiNetworkingV1IngressClassSpec}
* @memberof IoK8sApiNetworkingV1IngressClass
*/
spec?: IoK8sApiNetworkingV1IngressClassSpec;
}
export declare function IoK8sApiNetworkingV1IngressClassFromJSON(json: any): IoK8sApiNetworkingV1IngressClass;
export declare function IoK8sApiNetworkingV1IngressClassFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiNetworkingV1IngressClass;
export declare function IoK8sApiNetworkingV1IngressClassToJSON(value?: IoK8sApiNetworkingV1IngressClass | null): any;