Class LeaderElectionRecord
LeaderElectionRecord is the record that is stored in the leader election annotation.
This information should be used for observational purposes only and could be replaced with a random string (e.g. UUID) with only slight modification of this code.
Inheritance
LeaderElectionRecord
Assembly: KubernetesClient.dll
Syntax
public class LeaderElectionRecord
Constructors
View Source
LeaderElectionRecord()
Declaration
public LeaderElectionRecord()
Properties
View Source
AcquireTime
Declaration
public DateTime? AcquireTime { get; set; }
Property Value
View Source
HolderIdentity
the ID that owns the lease. If empty, no one owns this lease and all callers may acquire.
Declaration
public string HolderIdentity { get; set; }
Property Value
View Source
LeaderTransitions
Declaration
public int LeaderTransitions { get; set; }
Property Value
View Source
LeaseDurationSeconds
Declaration
public int LeaseDurationSeconds { get; set; }
Property Value
View Source
RenewTime
Declaration
public DateTime? RenewTime { get; set; }
Property Value
Methods
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(LeaderElectionRecord)
Declaration
protected bool Equals(LeaderElectionRecord other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides