Show / Hide Table of Contents

Class V1LoadBalancerIngress

LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

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

Constructors

View Source

V1LoadBalancerIngress()

Declaration
public V1LoadBalancerIngress()
View Source

V1LoadBalancerIngress(V1LoadBalancerIngress)

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

Properties

View Source

EqualityContract

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

Hostname

Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)

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

Ip

IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)

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

IpMode

IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to "VIP" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to "Proxy" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing.

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

Ports

Ports is a list of records of service ports If used, every port defined in the service should have an entry in it

Declaration
[JsonPropertyName("ports")]
public IList<V1PortStatus> Ports { get; set; }
Property Value
Type Description
IList<V1PortStatus>

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(V1LoadBalancerIngress?)

Declaration
public virtual bool Equals(V1LoadBalancerIngress? other)
Parameters
Type Name Description
V1LoadBalancerIngress 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 ==(V1LoadBalancerIngress?, V1LoadBalancerIngress?)

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

operator !=(V1LoadBalancerIngress?, V1LoadBalancerIngress?)

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

Implements

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