LeaseSpec is a specification of a Lease.

Hierarchy

  • V1LeaseSpec

Constructors

Properties

acquireTime?: V1MicroTime

MicroTime is version of Time with microsecond level precision.

holderIdentity?: string

holderIdentity contains the identity of the holder of a current lease.

leaseDurationSeconds?: number

leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime.

leaseTransitions?: number

leaseTransitions is the number of transitions of a lease between holders.

renewTime?: V1MicroTime

MicroTime is version of Time with microsecond level precision.

attributeTypeMap: {
    baseName: string;
    name: string;
    type: string;
}[] = ...

Type declaration

  • baseName: string
  • name: string
  • type: string
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        name: string;
        type: string;
    }[]

Generated using TypeDoc