/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: v1.34.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { V1MicroTime } from '../../types.js'; /** * LeaseSpec is a specification of a Lease. */ export declare class V1LeaseSpec { /** * MicroTime is version of Time with microsecond level precision. */ 'acquireTime'?: V1MicroTime; /** * holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field. */ 'holderIdentity'?: string; /** * leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime. */ 'leaseDurationSeconds'?: number; /** * leaseTransitions is the number of transitions of a lease between holders. */ 'leaseTransitions'?: number; /** * PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set. */ 'preferredHolder'?: string; /** * MicroTime is version of Time with microsecond level precision. */ 'renewTime'?: V1MicroTime; /** * Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. */ 'strategy'?: string; static readonly discriminator: string | undefined; static readonly mapping: { [index: string]: string; } | undefined; static readonly attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; format: string; }[]; constructor(); }