Class PrivateStrategy
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.PrivateStrategy
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PrivateStrategyBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PrivateStrategy extends Object implements io.fabric8.kubernetes.api.builder.Editable<PrivateStrategyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PrivateStrategy holds parameters for the Private endpoint publishing strategy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrivateStrategy()No args constructor for use in serializationPrivateStrategy(String protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateStrategyBuilderedit()Map<String,Object>getAdditionalProperties()StringgetProtocol()protocol specifies whether the IngressController expects incoming connections to use plain TCP or whether the IngressController expects PROXY protocol.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetProtocol(String protocol)protocol specifies whether the IngressController expects incoming connections to use plain TCP or whether the IngressController expects PROXY protocol.PrivateStrategyBuildertoBuilder()
-
-
-
Constructor Detail
-
PrivateStrategy
public PrivateStrategy()
No args constructor for use in serialization
-
PrivateStrategy
public PrivateStrategy(String protocol)
-
-
Method Detail
-
getProtocol
public String getProtocol()
protocol specifies whether the IngressController expects incoming connections to use plain TCP or whether the IngressController expects PROXY protocol.PROXY protocol can be used with load balancers that support it to communicate the source addresses of client connections when forwarding those connections to the IngressController. Using PROXY protocol enables the IngressController to report those source addresses instead of reporting the load balancer's address in HTTP headers and logs. Note that enabling PROXY protocol on the IngressController will cause connections to fail if you are not using a load balancer that uses PROXY protocol to forward connections to the IngressController. See http://www.haproxy.org/download/2.2/doc/proxy-protocol.txt for information about PROXY protocol.
The following values are valid for this field:
* The empty string. * "TCP". * "PROXY".
The empty string specifies the default, which is TCP without PROXY protocol. Note that the default is subject to change.
-
setProtocol
public void setProtocol(String protocol)
protocol specifies whether the IngressController expects incoming connections to use plain TCP or whether the IngressController expects PROXY protocol.PROXY protocol can be used with load balancers that support it to communicate the source addresses of client connections when forwarding those connections to the IngressController. Using PROXY protocol enables the IngressController to report those source addresses instead of reporting the load balancer's address in HTTP headers and logs. Note that enabling PROXY protocol on the IngressController will cause connections to fail if you are not using a load balancer that uses PROXY protocol to forward connections to the IngressController. See http://www.haproxy.org/download/2.2/doc/proxy-protocol.txt for information about PROXY protocol.
The following values are valid for this field:
* The empty string. * "TCP". * "PROXY".
The empty string specifies the default, which is TCP without PROXY protocol. Note that the default is subject to change.
-
edit
public PrivateStrategyBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PrivateStrategyBuilder>
-
toBuilder
public PrivateStrategyBuilder toBuilder()
-
-