Class TLSConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.TLSConfig
-
- All Implemented Interfaces:
Editable<TLSConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TLSConfig extends Object implements Editable<TLSConfigBuilder>, KubernetesResource
TLSConfig defines full TLS configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TLSConfig()No args constructor for use in serializationTLSConfig(SecretOrConfigMap ca, String caFile, SecretOrConfigMap cert, String certFile, Boolean insecureSkipVerify, String keyFile, SecretKeySelector keySecret, String maxVersion, String minVersion, String serverName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TLSConfigBuilderedit()Map<String,Object>getAdditionalProperties()SecretOrConfigMapgetCa()TLSConfig defines full TLS configuration.StringgetCaFile()caFile defines the path to the CA cert in the Prometheus container to use for the targets.SecretOrConfigMapgetCert()TLSConfig defines full TLS configuration.StringgetCertFile()certFile defines the path to the client cert file in the Prometheus container for the targets.BooleangetInsecureSkipVerify()insecureSkipVerify defines how to disable target certificate validation.StringgetKeyFile()keyFile defines the path to the client key file in the Prometheus container for the targets.SecretKeySelectorgetKeySecret()TLSConfig defines full TLS configuration.StringgetMaxVersion()maxVersion defines the maximum acceptable TLS version.StringgetMinVersion()minVersion defines the minimum acceptable TLS version.StringgetServerName()serverName is used to verify the hostname for the targets.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCa(SecretOrConfigMap ca)TLSConfig defines full TLS configuration.voidsetCaFile(String caFile)caFile defines the path to the CA cert in the Prometheus container to use for the targets.voidsetCert(SecretOrConfigMap cert)TLSConfig defines full TLS configuration.voidsetCertFile(String certFile)certFile defines the path to the client cert file in the Prometheus container for the targets.voidsetInsecureSkipVerify(Boolean insecureSkipVerify)insecureSkipVerify defines how to disable target certificate validation.voidsetKeyFile(String keyFile)keyFile defines the path to the client key file in the Prometheus container for the targets.voidsetKeySecret(SecretKeySelector keySecret)TLSConfig defines full TLS configuration.voidsetMaxVersion(String maxVersion)maxVersion defines the maximum acceptable TLS version.voidsetMinVersion(String minVersion)minVersion defines the minimum acceptable TLS version.voidsetServerName(String serverName)serverName is used to verify the hostname for the targets.TLSConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
TLSConfig
public TLSConfig()
No args constructor for use in serialization
-
TLSConfig
public TLSConfig(SecretOrConfigMap ca, String caFile, SecretOrConfigMap cert, String certFile, Boolean insecureSkipVerify, String keyFile, SecretKeySelector keySecret, String maxVersion, String minVersion, String serverName)
-
-
Method Detail
-
getCa
public SecretOrConfigMap getCa()
TLSConfig defines full TLS configuration.
-
setCa
public void setCa(SecretOrConfigMap ca)
TLSConfig defines full TLS configuration.
-
getCaFile
public String getCaFile()
caFile defines the path to the CA cert in the Prometheus container to use for the targets.
-
setCaFile
public void setCaFile(String caFile)
caFile defines the path to the CA cert in the Prometheus container to use for the targets.
-
getCert
public SecretOrConfigMap getCert()
TLSConfig defines full TLS configuration.
-
setCert
public void setCert(SecretOrConfigMap cert)
TLSConfig defines full TLS configuration.
-
getCertFile
public String getCertFile()
certFile defines the path to the client cert file in the Prometheus container for the targets.
-
setCertFile
public void setCertFile(String certFile)
certFile defines the path to the client cert file in the Prometheus container for the targets.
-
getInsecureSkipVerify
public Boolean getInsecureSkipVerify()
insecureSkipVerify defines how to disable target certificate validation.
-
setInsecureSkipVerify
public void setInsecureSkipVerify(Boolean insecureSkipVerify)
insecureSkipVerify defines how to disable target certificate validation.
-
getKeyFile
public String getKeyFile()
keyFile defines the path to the client key file in the Prometheus container for the targets.
-
setKeyFile
public void setKeyFile(String keyFile)
keyFile defines the path to the client key file in the Prometheus container for the targets.
-
getKeySecret
public SecretKeySelector getKeySecret()
TLSConfig defines full TLS configuration.
-
setKeySecret
public void setKeySecret(SecretKeySelector keySecret)
TLSConfig defines full TLS configuration.
-
getMaxVersion
public String getMaxVersion()
maxVersion defines the maximum acceptable TLS version.It requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.
-
setMaxVersion
public void setMaxVersion(String maxVersion)
maxVersion defines the maximum acceptable TLS version.It requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.
-
getMinVersion
public String getMinVersion()
minVersion defines the minimum acceptable TLS version.It requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.
-
setMinVersion
public void setMinVersion(String minVersion)
minVersion defines the minimum acceptable TLS version.It requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.
-
getServerName
public String getServerName()
serverName is used to verify the hostname for the targets.
-
setServerName
public void setServerName(String serverName)
serverName is used to verify the hostname for the targets.
-
edit
public TLSConfigBuilder edit()
- Specified by:
editin interfaceEditable<TLSConfigBuilder>
-
toBuilder
public TLSConfigBuilder toBuilder()
-
-