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 KubernetesConfiguration
copy()
String
getApiVersion()
The Kubernetes API Version to useString
getCaCertData()
The CA Cert DataString
getCaCertFile()
The CA Cert FileString
getCategory()
Kubernetes Producer and Consumer categoryString
getClientCertData()
The Client Cert DataString
getClientCertFile()
The Client Cert FileString
getClientKeyAlgo()
The Key Algorithm used by the clientString
getClientKeyData()
The Client Key dataString
getClientKeyFile()
The Client Key fileString
getClientKeyPassphrase()
The Client Key PassphraseInteger
getConnectionTimeout()
String
getCrdGroup()
The Consumer CRD Resource Group we would like to watchString
getCrdName()
The Consumer CRD Resource name we would like to watchString
getCrdPlural()
The Consumer CRD Resource Plural we would like to watchString
getCrdScope()
The Consumer CRD Resource Scope we would like to watchString
getCrdVersion()
The Consumer CRD Resource Version we would like to watchString
getDnsDomain()
io.fabric8.kubernetes.client.KubernetesClient
getKubernetesClient()
Default KubernetesClient to use if providedString
getLabelKey()
The Consumer Label key when watching at some resourcesString
getLabelValue()
The Consumer Label value when watching at some resourcesString
getMasterUrl()
Kubernetes Master urlString
getNamespace()
The namespaceString
getNamespaceName()
Deprecated.usegetNamespace()
String
getOauthToken()
The Auth TokenString
getOperation()
Producer operation to do on KubernetesString
getPassword()
Password to connect to Kubernetesint
getPoolSize()
The Consumer pool sizeString
getPortName()
String
getPortProtocol()
String
getResourceName()
The Consumer Resource Name we would like to watchBoolean
getTrustCerts()
Define if the certs we used are trusted anyway or notString
getUsername()
Username to connect to Kubernetesvoid
setApiVersion(String apiVersion)
void
setCaCertData(String caCertData)
void
setCaCertFile(String caCertFile)
void
setCategory(String category)
void
setClientCertData(String clientCertData)
void
setClientCertFile(String clientCertFile)
void
setClientKeyAlgo(String clientKeyAlgo)
void
setClientKeyData(String clientKeyData)
void
setClientKeyFile(String clientKeyFile)
void
setClientKeyPassphrase(String clientKeyPassphrase)
void
setConnectionTimeout(Integer connectionTimeout)
Connection timeout in milliseconds to use when making requests to the Kubernetes API server.void
setCrdGroup(String crdGroup)
void
setCrdName(String crdName)
void
setCrdPlural(String crdPlural)
void
setCrdScope(String crdScope)
void
setCrdVersion(String crdVersion)
void
setDnsDomain(String dnsDomain)
The dns domain, used for ServiceCall EIPvoid
setKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
void
setLabelKey(String labelKey)
void
setLabelValue(String labelValue)
void
setMasterUrl(String masterUrl)
void
setNamespace(String namespace)
void
setNamespaceName(String namespace)
Deprecated.void
setOauthToken(String oauthToken)
void
setOperation(String operation)
void
setPassword(String password)
void
setPoolSize(int poolSize)
void
setPortName(String portName)
The port name, used for ServiceCall EIPvoid
setPortProtocol(String portProtocol)
The port protocol, used for ServiceCall EIPvoid
setResourceName(String resourceName)
void
setTrustCerts(Boolean trustCerts)
void
setUsername(String username)
String
toString()
-
-
-
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()
-
-