@kubernetes/client-node
    Preparing search index...

    LeaseCandidateSpec is a specification of a Lease.

    Index

    Constructors

    Properties

    binaryVersion: string

    BinaryVersion is the binary version. It must be in a semver format without leading v. This field is required.

    emulationVersion?: string

    EmulationVersion is the emulation version. It must be in a semver format without leading v. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"

    leaseName: string

    LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.

    pingTime?: V1MicroTime

    MicroTime is version of Time with microsecond level precision.

    renewTime?: V1MicroTime

    MicroTime is version of Time with microsecond level precision.

    strategy: string

    Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.

    attributeTypeMap: {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[] = ...
    discriminator: undefined | string = undefined
    mapping: undefined | { [index: string]: string } = undefined

    Methods

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