Show / Hide Table of Contents

Class MetaObjectAnnotationLock<T>

Inheritance
object
MetaObjectLock<T>
MetaObjectAnnotationLock<T>
ConfigMapLock
EndpointsLock
Implements
ILock
Inherited Members
MetaObjectLock<T>.GetAsync(CancellationToken)
MetaObjectLock<T>.ReadMetaObjectAsync(IKubernetes, string, string, CancellationToken)
MetaObjectLock<T>.CreateAsync(LeaderElectionRecord, CancellationToken)
MetaObjectLock<T>.CreateMetaObjectAsync(IKubernetes, T, string, CancellationToken)
MetaObjectLock<T>.UpdateAsync(LeaderElectionRecord, CancellationToken)
MetaObjectLock<T>.ReplaceMetaObjectAsync(IKubernetes, T, string, string, CancellationToken)
MetaObjectLock<T>.Describe()
MetaObjectLock<T>.Identity
MetaObjectLock<T>.OnHttpError
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s.LeaderElection.ResourceLock
Assembly: KubernetesClient.dll
Syntax
public abstract class MetaObjectAnnotationLock<T> : MetaObjectLock<T>, ILock where T : class, IMetadata<V1ObjectMeta>, new()
Type Parameters
Name Description
T

Constructors

View Source

MetaObjectAnnotationLock(IKubernetes, string, string, string)

Declaration
protected MetaObjectAnnotationLock(IKubernetes client, string @namespace, string name, string identity)
Parameters
Type Name Description
IKubernetes client
string namespace
string name
string identity

Methods

View Source

GetLeaderElectionRecord(T)

Declaration
protected override LeaderElectionRecord GetLeaderElectionRecord(T obj)
Parameters
Type Name Description
T obj
Returns
Type Description
LeaderElectionRecord
Overrides
MetaObjectLock<T>.GetLeaderElectionRecord(T)
View Source

SetLeaderElectionRecord(LeaderElectionRecord, T)

Declaration
protected override T SetLeaderElectionRecord(LeaderElectionRecord record, T metaObj)
Parameters
Type Name Description
LeaderElectionRecord record
T metaObj
Returns
Type Description
T
Overrides
MetaObjectLock<T>.SetLeaderElectionRecord(LeaderElectionRecord, T)

Implements

ILock
  • View Source
In this article
Back to top Generated by DocFX