Class K8sWatcher
java.lang.Object
com.tremolosecurity.k8s.watch.K8sWatcher
- All Implemented Interfaces:
StopableThread
,Runnable
-
Constructor Summary
ConstructorDescriptionK8sWatcher
(String k8sTarget, String namespace, String plural, String group, K8sWatchTarget watchTarget, ConfigManager cfgMgr, ProvisioningEngine provisioningEngine) -
Method Summary
-
Constructor Details
-
K8sWatcher
public K8sWatcher(String k8sTarget, String namespace, String plural, String group, K8sWatchTarget watchTarget, ConfigManager cfgMgr, ProvisioningEngine provisioningEngine)
-
-
Method Details
-
initalRun
- Throws:
ProvisioningException
-
getSecretValue
public String getSecretValue(String secretName, String secretKey, String token, HttpCon http) throws org.apache.http.client.ClientProtocolException, IOException, ProvisioningException, org.json.simple.parser.ParseException - Throws:
org.apache.http.client.ClientProtocolException
IOException
ProvisioningException
org.json.simple.parser.ParseException
-
run
-
stop
public void stop()- Specified by:
stop
in interfaceStopableThread
-
getK8s
- Throws:
ProvisioningException
-