Class KubernetesConfiguration
- java.lang.Object
-
- org.apache.camel.component.kubernetes.KubernetesConfiguration
-
-
Constructor Summary
Constructors Constructor Description KubernetesConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description KubernetesConfigurationcopy()StringgetApiVersion()The Kubernetes API Version to useStringgetCaCertData()The CA Cert DataStringgetCaCertFile()The CA Cert FileStringgetCategory()Kubernetes Producer and Consumer categoryStringgetClientCertData()The Client Cert DataStringgetClientCertFile()The Client Cert FileStringgetClientKeyAlgo()The Key Algorithm used by the clientStringgetClientKeyData()The Client Key dataStringgetClientKeyFile()The Client Key fileStringgetClientKeyPassphrase()The Client Key PassphraseIntegergetConnectionTimeout()StringgetCrdGroup()The Consumer CRD Resource Group we would like to watchStringgetCrdName()The Consumer CRD Resource name we would like to watchStringgetCrdPlural()The Consumer CRD Resource Plural we would like to watchStringgetCrdScope()The Consumer CRD Resource Scope we would like to watchStringgetCrdVersion()The Consumer CRD Resource Version we would like to watchStringgetDnsDomain()io.fabric8.kubernetes.client.KubernetesClientgetKubernetesClient()Default KubernetesClient to use if providedStringgetLabelKey()The Consumer Label key when watching at some resourcesStringgetLabelValue()The Consumer Label value when watching at some resourcesStringgetMasterUrl()Kubernetes Master urlStringgetNamespace()The namespaceStringgetNamespaceName()Deprecated.usegetNamespace()StringgetOauthToken()The Auth TokenStringgetOperation()Producer operation to do on KubernetesStringgetPassword()Password to connect to KubernetesintgetPoolSize()The Consumer pool sizeStringgetPortName()StringgetPortProtocol()StringgetResourceName()The Consumer Resource Name we would like to watchBooleangetTrustCerts()Define if the certs we used are trusted anyway or notStringgetUsername()Username to connect to KubernetesvoidsetApiVersion(String apiVersion)voidsetCaCertData(String caCertData)voidsetCaCertFile(String caCertFile)voidsetCategory(String category)voidsetClientCertData(String clientCertData)voidsetClientCertFile(String clientCertFile)voidsetClientKeyAlgo(String clientKeyAlgo)voidsetClientKeyData(String clientKeyData)voidsetClientKeyFile(String clientKeyFile)voidsetClientKeyPassphrase(String clientKeyPassphrase)voidsetConnectionTimeout(Integer connectionTimeout)Connection timeout in milliseconds to use when making requests to the Kubernetes API server.voidsetCrdGroup(String crdGroup)voidsetCrdName(String crdName)voidsetCrdPlural(String crdPlural)voidsetCrdScope(String crdScope)voidsetCrdVersion(String crdVersion)voidsetDnsDomain(String dnsDomain)The dns domain, used for ServiceCall EIPvoidsetKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)voidsetLabelKey(String labelKey)voidsetLabelValue(String labelValue)voidsetMasterUrl(String masterUrl)voidsetNamespace(String namespace)voidsetNamespaceName(String namespace)Deprecated.voidsetOauthToken(String oauthToken)voidsetOperation(String operation)voidsetPassword(String password)voidsetPoolSize(int poolSize)voidsetPortName(String portName)The port name, used for ServiceCall EIPvoidsetPortProtocol(String portProtocol)The port protocol, used for ServiceCall EIPvoidsetResourceName(String resourceName)voidsetTrustCerts(Boolean trustCerts)voidsetUsername(String username)StringtoString()
-
-
-
Method Detail
-
getMasterUrl
public String getMasterUrl()
Kubernetes Master url
-
setMasterUrl
public void setMasterUrl(String masterUrl)
-
getCategory
public String getCategory()
Kubernetes Producer and Consumer category
-
setCategory
public void setCategory(String category)
-
getKubernetesClient
public io.fabric8.kubernetes.client.KubernetesClient getKubernetesClient()
Default KubernetesClient to use if provided
-
setKubernetesClient
public void setKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
-
getUsername
public String getUsername()
Username to connect to Kubernetes
-
setUsername
public void setUsername(String username)
-
getPassword
public String getPassword()
Password to connect to Kubernetes
-
setPassword
public void setPassword(String password)
-
getOperation
public String getOperation()
Producer operation to do on Kubernetes
-
setOperation
public void setOperation(String operation)
-
getApiVersion
public String getApiVersion()
The Kubernetes API Version to use
-
setApiVersion
public void setApiVersion(String apiVersion)
-
getCaCertData
public String getCaCertData()
The CA Cert Data
-
setCaCertData
public void setCaCertData(String caCertData)
-
getCaCertFile
public String getCaCertFile()
The CA Cert File
-
setCaCertFile
public void setCaCertFile(String caCertFile)
-
getClientCertData
public String getClientCertData()
The Client Cert Data
-
setClientCertData
public void setClientCertData(String clientCertData)
-
getClientCertFile
public String getClientCertFile()
The Client Cert File
-
setClientCertFile
public void setClientCertFile(String clientCertFile)
-
getClientKeyAlgo
public String getClientKeyAlgo()
The Key Algorithm used by the client
-
setClientKeyAlgo
public void setClientKeyAlgo(String clientKeyAlgo)
-
getClientKeyData
public String getClientKeyData()
The Client Key data
-
setClientKeyData
public void setClientKeyData(String clientKeyData)
-
getClientKeyFile
public String getClientKeyFile()
The Client Key file
-
setClientKeyFile
public void setClientKeyFile(String clientKeyFile)
-
getClientKeyPassphrase
public String getClientKeyPassphrase()
The Client Key Passphrase
-
setClientKeyPassphrase
public void setClientKeyPassphrase(String clientKeyPassphrase)
-
getOauthToken
public String getOauthToken()
The Auth Token
-
setOauthToken
public void setOauthToken(String oauthToken)
-
getTrustCerts
public Boolean getTrustCerts()
Define if the certs we used are trusted anyway or not
-
setTrustCerts
public void setTrustCerts(Boolean trustCerts)
-
getNamespace
public String getNamespace()
The namespace
-
setNamespace
public void setNamespace(String namespace)
-
getPortName
public String getPortName()
-
setPortName
public void setPortName(String portName)
The port name, used for ServiceCall EIP
-
getPortProtocol
public String getPortProtocol()
-
setPortProtocol
public void setPortProtocol(String portProtocol)
The port protocol, used for ServiceCall EIP
-
getDnsDomain
public String getDnsDomain()
-
setDnsDomain
public void setDnsDomain(String dnsDomain)
The dns domain, used for ServiceCall EIP
-
getNamespaceName
@Deprecated public String getNamespaceName()
Deprecated.usegetNamespace()
-
setNamespaceName
@Deprecated public void setNamespaceName(String namespace)
Deprecated.
-
getPoolSize
public int getPoolSize()
The Consumer pool size
-
setPoolSize
public void setPoolSize(int poolSize)
-
getLabelKey
public String getLabelKey()
The Consumer Label key when watching at some resources
-
setLabelKey
public void setLabelKey(String labelKey)
-
getLabelValue
public String getLabelValue()
The Consumer Label value when watching at some resources
-
setLabelValue
public void setLabelValue(String labelValue)
-
getResourceName
public String getResourceName()
The Consumer Resource Name we would like to watch
-
setResourceName
public void setResourceName(String resourceName)
-
getConnectionTimeout
public Integer getConnectionTimeout()
-
setConnectionTimeout
public void setConnectionTimeout(Integer connectionTimeout)
Connection timeout in milliseconds to use when making requests to the Kubernetes API server.
-
getCrdName
public String getCrdName()
The Consumer CRD Resource name we would like to watch
-
setCrdName
public void setCrdName(String crdName)
-
getCrdGroup
public String getCrdGroup()
The Consumer CRD Resource Group we would like to watch
-
setCrdGroup
public void setCrdGroup(String crdGroup)
-
getCrdScope
public String getCrdScope()
The Consumer CRD Resource Scope we would like to watch
-
setCrdScope
public void setCrdScope(String crdScope)
-
getCrdVersion
public String getCrdVersion()
The Consumer CRD Resource Version we would like to watch
-
setCrdVersion
public void setCrdVersion(String crdVersion)
-
getCrdPlural
public String getCrdPlural()
The Consumer CRD Resource Plural we would like to watch
-
setCrdPlural
public void setCrdPlural(String crdPlural)
-
copy
public KubernetesConfiguration copy()
-
-