Show / Hide Table of Contents

Class V1EndpointAddress

EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.

Inheritance
object
V1EndpointAddress
Implements
IEquatable<V1EndpointAddress>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1EndpointAddress : IEquatable<V1EndpointAddress>

Constructors

View Source

V1EndpointAddress()

Declaration
public V1EndpointAddress()
View Source

V1EndpointAddress(V1EndpointAddress)

Declaration
protected V1EndpointAddress(V1EndpointAddress original)
Parameters
Type Name Description
V1EndpointAddress original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

Hostname

The Hostname of this endpoint

Declaration
[JsonPropertyName("hostname")]
public string Hostname { get; set; }
Property Value
Type Description
string
View Source

Ip

The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).

Declaration
[JsonPropertyName("ip")]
public string Ip { get; set; }
Property Value
Type Description
string
View Source

NodeName

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

Declaration
[JsonPropertyName("nodeName")]
public string NodeName { get; set; }
Property Value
Type Description
string
View Source

TargetRef

Reference to object providing the endpoint.

Declaration
[JsonPropertyName("targetRef")]
public V1ObjectReference TargetRef { get; set; }
Property Value
Type Description
V1ObjectReference

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1EndpointAddress?)

Declaration
public virtual bool Equals(V1EndpointAddress? other)
Parameters
Type Name Description
V1EndpointAddress other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1EndpointAddress?, V1EndpointAddress?)

Declaration
public static bool operator ==(V1EndpointAddress? left, V1EndpointAddress? right)
Parameters
Type Name Description
V1EndpointAddress left
V1EndpointAddress right
Returns
Type Description
bool
View Source

operator !=(V1EndpointAddress?, V1EndpointAddress?)

Declaration
public static bool operator !=(V1EndpointAddress? left, V1EndpointAddress? right)
Parameters
Type Name Description
V1EndpointAddress left
V1EndpointAddress right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX