Class KubernetesConfiguration
java.lang.Object
org.apache.camel.component.kubernetes.KubernetesConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()The Kubernetes API Version to useThe CA Cert DataThe CA Cert FileKubernetes Producer and Consumer categoryThe Client Cert DataThe Client Cert FileThe Key Algorithm used by the clientThe Client Key dataThe Client Key fileThe Client Key PassphraseThe Consumer CRD Resource Group we would like to watchThe Consumer CRD Resource name we would like to watchThe Consumer CRD Resource Plural we would like to watchThe Consumer CRD Resource Scope we would like to watchThe Consumer CRD Resource Version we would like to watchio.fabric8.kubernetes.client.KubernetesClientDefault KubernetesClient to use if providedThe Consumer Label key when watching at some resourcesThe Consumer Label value when watching at some resourcesURL to a remote Kubernetes API server.The namespaceDeprecated.The Auth TokenProducer operation to do on KubernetesPassword to connect to KubernetesintThe Consumer pool sizeThe Consumer Resource Name we would like to watchDefine if the certs we used are trusted anyway or notUsername 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) toString()
-
Constructor Details
-
KubernetesConfiguration
public KubernetesConfiguration()
-
-
Method Details
-
getMasterUrl
URL to a remote Kubernetes API server. This should only be used when your Camel application is connecting from outside Kubernetes. If you run your Camel application inside Kubernetes, then you can use local or client as the URL to tell Camel to run in local mode. If you connect remotely to Kubernetes, then you may also need some of the many other configuration options for secured connection with certificates, etc. -
setMasterUrl
-
getCategory
Kubernetes Producer and Consumer category -
setCategory
-
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
Username to connect to Kubernetes -
setUsername
-
getPassword
Password to connect to Kubernetes -
setPassword
-
getOperation
Producer operation to do on Kubernetes -
setOperation
-
getApiVersion
The Kubernetes API Version to use -
setApiVersion
-
getCaCertData
The CA Cert Data -
setCaCertData
-
getCaCertFile
The CA Cert File -
setCaCertFile
-
getClientCertData
The Client Cert Data -
setClientCertData
-
getClientCertFile
The Client Cert File -
setClientCertFile
-
getClientKeyAlgo
The Key Algorithm used by the client -
setClientKeyAlgo
-
getClientKeyData
The Client Key data -
setClientKeyData
-
getClientKeyFile
The Client Key file -
setClientKeyFile
-
getClientKeyPassphrase
The Client Key Passphrase -
setClientKeyPassphrase
-
getOauthToken
The Auth Token -
setOauthToken
-
getTrustCerts
Define if the certs we used are trusted anyway or not -
setTrustCerts
-
getNamespace
The namespace -
setNamespace
-
getPortName
-
setPortName
The port name, used for ServiceCall EIP -
getPortProtocol
-
setPortProtocol
The port protocol, used for ServiceCall EIP -
getDnsDomain
-
setDnsDomain
The dns domain, used for ServiceCall EIP -
getNamespaceName
Deprecated.usegetNamespace() -
setNamespaceName
Deprecated. -
getPoolSize
public int getPoolSize()The Consumer pool size -
setPoolSize
public void setPoolSize(int poolSize) -
getLabelKey
The Consumer Label key when watching at some resources -
setLabelKey
-
getLabelValue
The Consumer Label value when watching at some resources -
setLabelValue
-
getResourceName
The Consumer Resource Name we would like to watch -
setResourceName
-
getConnectionTimeout
-
setConnectionTimeout
Connection timeout in milliseconds to use when making requests to the Kubernetes API server. -
getCrdName
The Consumer CRD Resource name we would like to watch -
setCrdName
-
getCrdGroup
The Consumer CRD Resource Group we would like to watch -
setCrdGroup
-
getCrdScope
The Consumer CRD Resource Scope we would like to watch -
setCrdScope
-
getCrdVersion
The Consumer CRD Resource Version we would like to watch -
setCrdVersion
-
getCrdPlural
The Consumer CRD Resource Plural we would like to watch -
setCrdPlural
-
copy
-
toString
-
getNamespace()