Class LoadJavaScriptMappingFromK8s
java.lang.Object
com.tremolosecurity.proxy.dynamicconfiguration.LoadJavaScriptMappingFromK8s
- All Implemented Interfaces:
K8sWatchTarget
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObject(TremoloType cfg, org.json.simple.JSONObject item) voiddeleteObject(TremoloType cfg, org.json.simple.JSONObject item) getMapping(String name) voidloadJavaScriptMappings(ConfigManager cfgMgr, String k8sTarget, String namespace) voidmodifyObject(TremoloType cfg, org.json.simple.JSONObject item)
-
Constructor Details
-
LoadJavaScriptMappingFromK8s
public LoadJavaScriptMappingFromK8s()
-
-
Method Details
-
getMapping
-
loadJavaScriptMappings
public void loadJavaScriptMappings(ConfigManager cfgMgr, String k8sTarget, String namespace) throws ProvisioningException - Throws:
ProvisioningException
-
addObject
public void addObject(TremoloType cfg, org.json.simple.JSONObject item) throws ProvisioningException - Specified by:
addObjectin interfaceK8sWatchTarget- Throws:
ProvisioningException
-
modifyObject
public void modifyObject(TremoloType cfg, org.json.simple.JSONObject item) throws ProvisioningException - Specified by:
modifyObjectin interfaceK8sWatchTarget- Throws:
ProvisioningException
-
deleteObject
public void deleteObject(TremoloType cfg, org.json.simple.JSONObject item) throws ProvisioningException - Specified by:
deleteObjectin interfaceK8sWatchTarget- Throws:
ProvisioningException
-