Class HTTPServingInfo
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.HTTPServingInfo
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<HTTPServingInfoBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HTTPServingInfo extends Object implements io.fabric8.kubernetes.api.builder.Editable<HTTPServingInfoBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
HTTPServingInfo holds configuration for serving HTTP- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTTPServingInfo()No args constructor for use in serializationHTTPServingInfo(String bindAddress, String bindNetwork, String certFile, List<String> cipherSuites, String clientCA, String keyFile, Long maxRequestsInFlight, String minTLSVersion, List<NamedCertificate> namedCertificates, Long requestTimeoutSeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTTPServingInfoBuilderedit()Map<String,Object>getAdditionalProperties()StringgetBindAddress()bindAddress is the ip:port to serve onStringgetBindNetwork()bindNetwork is the type of network to bind to - defaults to "tcp4", accepts "tcp", "tcp4", and "tcp6"StringgetCertFile()certFile is a file containing a PEM-encoded certificateList<String>getCipherSuites()cipherSuites contains an overridden list of ciphers for the server to support.StringgetClientCA()clientCA is the certificate bundle for all the signers that you'll recognize for incoming client certificatesStringgetKeyFile()keyFile is a file containing a PEM-encoded private key for the certificate specified by CertFileLonggetMaxRequestsInFlight()maxRequestsInFlight is the number of concurrent requests allowed to the server.StringgetMinTLSVersion()minTLSVersion is the minimum TLS version supported.List<NamedCertificate>getNamedCertificates()namedCertificates is a list of certificates to use to secure requests to specific hostnamesLonggetRequestTimeoutSeconds()requestTimeoutSeconds is the number of seconds before requests are timed out.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBindAddress(String bindAddress)bindAddress is the ip:port to serve onvoidsetBindNetwork(String bindNetwork)bindNetwork is the type of network to bind to - defaults to "tcp4", accepts "tcp", "tcp4", and "tcp6"voidsetCertFile(String certFile)certFile is a file containing a PEM-encoded certificatevoidsetCipherSuites(List<String> cipherSuites)cipherSuites contains an overridden list of ciphers for the server to support.voidsetClientCA(String clientCA)clientCA is the certificate bundle for all the signers that you'll recognize for incoming client certificatesvoidsetKeyFile(String keyFile)keyFile is a file containing a PEM-encoded private key for the certificate specified by CertFilevoidsetMaxRequestsInFlight(Long maxRequestsInFlight)maxRequestsInFlight is the number of concurrent requests allowed to the server.voidsetMinTLSVersion(String minTLSVersion)minTLSVersion is the minimum TLS version supported.voidsetNamedCertificates(List<NamedCertificate> namedCertificates)namedCertificates is a list of certificates to use to secure requests to specific hostnamesvoidsetRequestTimeoutSeconds(Long requestTimeoutSeconds)requestTimeoutSeconds is the number of seconds before requests are timed out.HTTPServingInfoBuildertoBuilder()
-
-
-
Method Detail
-
getBindAddress
public String getBindAddress()
bindAddress is the ip:port to serve on
-
setBindAddress
public void setBindAddress(String bindAddress)
bindAddress is the ip:port to serve on
-
getBindNetwork
public String getBindNetwork()
bindNetwork is the type of network to bind to - defaults to "tcp4", accepts "tcp", "tcp4", and "tcp6"
-
setBindNetwork
public void setBindNetwork(String bindNetwork)
bindNetwork is the type of network to bind to - defaults to "tcp4", accepts "tcp", "tcp4", and "tcp6"
-
getCertFile
public String getCertFile()
certFile is a file containing a PEM-encoded certificate
-
setCertFile
public void setCertFile(String certFile)
certFile is a file containing a PEM-encoded certificate
-
getCipherSuites
public List<String> getCipherSuites()
cipherSuites contains an overridden list of ciphers for the server to support. Values must match cipher suite IDs from https://golang.org/pkg/crypto/tls/#pkg-constants
-
setCipherSuites
public void setCipherSuites(List<String> cipherSuites)
cipherSuites contains an overridden list of ciphers for the server to support. Values must match cipher suite IDs from https://golang.org/pkg/crypto/tls/#pkg-constants
-
getClientCA
public String getClientCA()
clientCA is the certificate bundle for all the signers that you'll recognize for incoming client certificates
-
setClientCA
public void setClientCA(String clientCA)
clientCA is the certificate bundle for all the signers that you'll recognize for incoming client certificates
-
getKeyFile
public String getKeyFile()
keyFile is a file containing a PEM-encoded private key for the certificate specified by CertFile
-
setKeyFile
public void setKeyFile(String keyFile)
keyFile is a file containing a PEM-encoded private key for the certificate specified by CertFile
-
getMaxRequestsInFlight
public Long getMaxRequestsInFlight()
maxRequestsInFlight is the number of concurrent requests allowed to the server. If zero, no limit.
-
setMaxRequestsInFlight
public void setMaxRequestsInFlight(Long maxRequestsInFlight)
maxRequestsInFlight is the number of concurrent requests allowed to the server. If zero, no limit.
-
getMinTLSVersion
public String getMinTLSVersion()
minTLSVersion is the minimum TLS version supported. Values must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
-
setMinTLSVersion
public void setMinTLSVersion(String minTLSVersion)
minTLSVersion is the minimum TLS version supported. Values must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
-
getNamedCertificates
public List<NamedCertificate> getNamedCertificates()
namedCertificates is a list of certificates to use to secure requests to specific hostnames
-
setNamedCertificates
public void setNamedCertificates(List<NamedCertificate> namedCertificates)
namedCertificates is a list of certificates to use to secure requests to specific hostnames
-
getRequestTimeoutSeconds
public Long getRequestTimeoutSeconds()
requestTimeoutSeconds is the number of seconds before requests are timed out. The default is 60 minutes, if -1 there is no limit on requests.
-
setRequestTimeoutSeconds
public void setRequestTimeoutSeconds(Long requestTimeoutSeconds)
requestTimeoutSeconds is the number of seconds before requests are timed out. The default is 60 minutes, if -1 there is no limit on requests.
-
edit
public HTTPServingInfoBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<HTTPServingInfoBuilder>
-
toBuilder
public HTTPServingInfoBuilder toBuilder()
-
-