Package net.stickycode.kuuty.model.v18
Class IoK8sApiExtensionsV1beta1IngressSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiExtensionsV1beta1IngressSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiExtensionsV1beta1IngressSpec extends Object
IngressSpec describes the Ingress the user wishes to exist.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BACKENDstatic StringJSON_PROPERTY_INGRESS_CLASS_NAMEstatic StringJSON_PROPERTY_RULESstatic StringJSON_PROPERTY_TLS
-
Constructor Summary
Constructors Constructor Description IoK8sApiExtensionsV1beta1IngressSpec()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_BACKEND
public static final String JSON_PROPERTY_BACKEND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INGRESS_CLASS_NAME
public static final String JSON_PROPERTY_INGRESS_CLASS_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RULES
public static final String JSON_PROPERTY_RULES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TLS
public static final String JSON_PROPERTY_TLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
backend
public IoK8sApiExtensionsV1beta1IngressSpec backend(IoK8sApiExtensionsV1beta1IngressBackend backend)
-
getBackend
@Nullable public IoK8sApiExtensionsV1beta1IngressBackend getBackend()
Get backend- Returns:
- backend
-
setBackend
public void setBackend(IoK8sApiExtensionsV1beta1IngressBackend backend)
-
ingressClassName
public IoK8sApiExtensionsV1beta1IngressSpec ingressClassName(String ingressClassName)
-
getIngressClassName
@Nullable public 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.- Returns:
- ingressClassName
-
setIngressClassName
public void setIngressClassName(String ingressClassName)
-
rules
public IoK8sApiExtensionsV1beta1IngressSpec rules(List<IoK8sApiExtensionsV1beta1IngressRule> rules)
-
addRulesItem
public IoK8sApiExtensionsV1beta1IngressSpec addRulesItem(IoK8sApiExtensionsV1beta1IngressRule rulesItem)
-
getRules
@Nullable public List<IoK8sApiExtensionsV1beta1IngressRule> 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.- Returns:
- rules
-
setRules
public void setRules(List<IoK8sApiExtensionsV1beta1IngressRule> rules)
-
tls
public IoK8sApiExtensionsV1beta1IngressSpec tls(List<IoK8sApiExtensionsV1beta1IngressTLS> tls)
-
addTlsItem
public IoK8sApiExtensionsV1beta1IngressSpec addTlsItem(IoK8sApiExtensionsV1beta1IngressTLS tlsItem)
-
getTls
@Nullable public List<IoK8sApiExtensionsV1beta1IngressTLS> 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.- Returns:
- tls
-
setTls
public void setTls(List<IoK8sApiExtensionsV1beta1IngressTLS> tls)
-
-