UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

55 lines (54 loc) 2.85 kB
/** * 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 { IoK8sApiResourceV1beta1ResourceClaimSpec, IoK8sApiResourceV1beta1ResourceClaimStatus, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './'; /** * ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. * * This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. * @export * @interface IoK8sApiResourceV1beta1ResourceClaim */ export interface IoK8sApiResourceV1beta1ResourceClaim { /** * 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 IoK8sApiResourceV1beta1ResourceClaim */ 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 IoK8sApiResourceV1beta1ResourceClaim */ kind?: string; /** * * @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta} * @memberof IoK8sApiResourceV1beta1ResourceClaim */ metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; /** * * @type {IoK8sApiResourceV1beta1ResourceClaimSpec} * @memberof IoK8sApiResourceV1beta1ResourceClaim */ spec: IoK8sApiResourceV1beta1ResourceClaimSpec; /** * * @type {IoK8sApiResourceV1beta1ResourceClaimStatus} * @memberof IoK8sApiResourceV1beta1ResourceClaim */ status?: IoK8sApiResourceV1beta1ResourceClaimStatus; } export declare function IoK8sApiResourceV1beta1ResourceClaimFromJSON(json: any): IoK8sApiResourceV1beta1ResourceClaim; export declare function IoK8sApiResourceV1beta1ResourceClaimFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiResourceV1beta1ResourceClaim; export declare function IoK8sApiResourceV1beta1ResourceClaimToJSON(value?: IoK8sApiResourceV1beta1ResourceClaim | null): any;