Show / Hide Table of Contents

Class EndpointsLock

Inheritance
object
MetaObjectLock<V1Endpoints>
MetaObjectAnnotationLock<V1Endpoints>
EndpointsLock
Implements
ILock
Inherited Members
MetaObjectAnnotationLock<V1Endpoints>.GetLeaderElectionRecord(V1Endpoints)
MetaObjectAnnotationLock<V1Endpoints>.SetLeaderElectionRecord(LeaderElectionRecord, V1Endpoints)
MetaObjectLock<V1Endpoints>.GetAsync(CancellationToken)
MetaObjectLock<V1Endpoints>.CreateAsync(LeaderElectionRecord, CancellationToken)
MetaObjectLock<V1Endpoints>.UpdateAsync(LeaderElectionRecord, CancellationToken)
MetaObjectLock<V1Endpoints>.Describe()
MetaObjectLock<V1Endpoints>.Identity
MetaObjectLock<V1Endpoints>.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 class EndpointsLock : MetaObjectAnnotationLock<V1Endpoints>, ILock

Constructors

View Source

EndpointsLock(IKubernetes, string, string, string)

Declaration
public EndpointsLock(IKubernetes client, string @namespace, string name, string identity)
Parameters
Type Name Description
IKubernetes client
string namespace
string name
string identity

Methods

View Source

CreateMetaObjectAsync(IKubernetes, V1Endpoints, string, CancellationToken)

Declaration
protected override Task<V1Endpoints> CreateMetaObjectAsync(IKubernetes client, V1Endpoints obj, string namespaceParameter, CancellationToken cancellationToken)
Parameters
Type Name Description
IKubernetes client
V1Endpoints obj
string namespaceParameter
CancellationToken cancellationToken
Returns
Type Description
Task<V1Endpoints>
Overrides
MetaObjectLock<V1Endpoints>.CreateMetaObjectAsync(IKubernetes, V1Endpoints, string, CancellationToken)
View Source

ReadMetaObjectAsync(IKubernetes, string, string, CancellationToken)

Declaration
protected override Task<V1Endpoints> ReadMetaObjectAsync(IKubernetes client, string name, string namespaceParameter, CancellationToken cancellationToken)
Parameters
Type Name Description
IKubernetes client
string name
string namespaceParameter
CancellationToken cancellationToken
Returns
Type Description
Task<V1Endpoints>
Overrides
MetaObjectLock<V1Endpoints>.ReadMetaObjectAsync(IKubernetes, string, string, CancellationToken)
View Source

ReplaceMetaObjectAsync(IKubernetes, V1Endpoints, string, string, CancellationToken)

Declaration
protected override Task<V1Endpoints> ReplaceMetaObjectAsync(IKubernetes client, V1Endpoints obj, string name, string namespaceParameter, CancellationToken cancellationToken)
Parameters
Type Name Description
IKubernetes client
V1Endpoints obj
string name
string namespaceParameter
CancellationToken cancellationToken
Returns
Type Description
Task<V1Endpoints>
Overrides
MetaObjectLock<V1Endpoints>.ReplaceMetaObjectAsync(IKubernetes, V1Endpoints, string, string, CancellationToken)

Implements

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