Show / Hide Table of Contents

Class V1IngressTLS

IngressTLS describes the transport layer security associated with an ingress.

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

Constructors

V1IngressTLS()

Declaration
public V1IngressTLS()

V1IngressTLS(V1IngressTLS)

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

Properties

EqualityContract

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

Hosts

hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.

Declaration
[JsonPropertyName("hosts")]
public IList<string> Hosts { get; set; }
Property Value
Type Description
IList<string>

SecretName

secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the "Host" header is used for routing.

Declaration
[JsonPropertyName("secretName")]
public string SecretName { get; set; }
Property Value
Type Description
string

Methods

Equals(object?)

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

Equals(V1IngressTLS?)

Declaration
public virtual bool Equals(V1IngressTLS? other)
Parameters
Type Name Description
V1IngressTLS other
Returns
Type Description
bool

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1IngressTLS?, V1IngressTLS?)

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

operator !=(V1IngressTLS?, V1IngressTLS?)

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

Implements

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