UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

47 lines (46 loc) 2.45 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 { IoK8sApiCoordinationV1alpha2LeaseCandidateSpec, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './'; /** * LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates. * @export * @interface IoK8sApiCoordinationV1alpha2LeaseCandidate */ export interface IoK8sApiCoordinationV1alpha2LeaseCandidate { /** * 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 IoK8sApiCoordinationV1alpha2LeaseCandidate */ 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 IoK8sApiCoordinationV1alpha2LeaseCandidate */ kind?: string; /** * * @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta} * @memberof IoK8sApiCoordinationV1alpha2LeaseCandidate */ metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; /** * * @type {IoK8sApiCoordinationV1alpha2LeaseCandidateSpec} * @memberof IoK8sApiCoordinationV1alpha2LeaseCandidate */ spec?: IoK8sApiCoordinationV1alpha2LeaseCandidateSpec; } export declare function IoK8sApiCoordinationV1alpha2LeaseCandidateFromJSON(json: any): IoK8sApiCoordinationV1alpha2LeaseCandidate; export declare function IoK8sApiCoordinationV1alpha2LeaseCandidateFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoordinationV1alpha2LeaseCandidate; export declare function IoK8sApiCoordinationV1alpha2LeaseCandidateToJSON(value?: IoK8sApiCoordinationV1alpha2LeaseCandidate | null): any;