Class MetaObjectAnnotationLock<T>
Inheritance
MetaObjectAnnotationLock<T>
Assembly: KubernetesClient.dll
public abstract class MetaObjectAnnotationLock<T> : MetaObjectLock<T>, ILock where T : class, IMetadata<V1ObjectMeta>, new()
Type Parameters
Constructors
View Source
Declaration
protected MetaObjectAnnotationLock(IKubernetes client, string @namespace, string name, string identity)
Parameters
Methods
View Source
Declaration
protected override LeaderElectionRecord GetLeaderElectionRecord(T obj)
Parameters
| Type |
Name |
Description |
| T |
obj |
|
Returns
Overrides
View Source
Declaration
protected override T SetLeaderElectionRecord(LeaderElectionRecord record, T metaObj)
Parameters
Returns
Overrides
Implements