Package io.kubernetes.client.proto
Interface V1Networking.IngressSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1Networking.IngressSpec
,V1Networking.IngressSpec.Builder
- Enclosing class:
- V1Networking
public static interface V1Networking.IngressSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDefaultBackend is the backend that should handle requests that don't match any rule.DefaultBackend is the backend that should handle requests that don't match any rule.IngressClassName is the name of the IngressClass cluster resource.com.google.protobuf.ByteString
IngressClassName is the name of the IngressClass cluster resource.getRules
(int index) A list of host rules used to configure the Ingress.int
A list of host rules used to configure the Ingress.A list of host rules used to configure the Ingress.getRulesOrBuilder
(int index) A list of host rules used to configure the Ingress.List<? extends V1Networking.IngressRuleOrBuilder>
A list of host rules used to configure the Ingress.getTls
(int index) TLS configuration.int
TLS configuration.TLS configuration.getTlsOrBuilder
(int index) TLS configuration.List<? extends V1Networking.IngressTLSOrBuilder>
TLS configuration.boolean
DefaultBackend is the backend that should handle requests that don't match any rule.boolean
IngressClassName is the name of the IngressClass cluster resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIngressClassName
boolean hasIngressClassName()IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation. +optional
optional string ingressClassName = 4;
-
getIngressClassName
String getIngressClassName()IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation. +optional
optional string ingressClassName = 4;
-
getIngressClassNameBytes
com.google.protobuf.ByteString getIngressClassNameBytes()IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation. +optional
optional string ingressClassName = 4;
-
hasDefaultBackend
boolean hasDefaultBackend()DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. +optional
optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
-
getDefaultBackend
V1Networking.IngressBackend getDefaultBackend()DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. +optional
optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
-
getDefaultBackendOrBuilder
V1Networking.IngressBackendOrBuilder getDefaultBackendOrBuilder()DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller. +optional
optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
-
getTlsList
List<V1Networking.IngressTLS> getTlsList()TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
-
getTls
TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
-
getTlsCount
int getTlsCount()TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
-
getTlsOrBuilderList
List<? extends V1Networking.IngressTLSOrBuilder> getTlsOrBuilderList()TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
-
getTlsOrBuilder
TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
-
getRulesList
List<V1Networking.IngressRule> getRulesList()A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
-
getRules
A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
-
getRulesCount
int getRulesCount()A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
-
getRulesOrBuilderList
List<? extends V1Networking.IngressRuleOrBuilder> getRulesOrBuilderList()A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
-
getRulesOrBuilder
A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. +listType=atomic +optional
repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
-