Class LoadJavaScriptMappingFromK8s
java.lang.Object
com.tremolosecurity.proxy.dynamicconfiguration.LoadJavaScriptMappingFromK8s
- All Implemented Interfaces:
K8sWatchTarget
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObject
(TremoloType cfg, org.json.simple.JSONObject item) void
deleteObject
(TremoloType cfg, org.json.simple.JSONObject item) getMapping
(String name) void
loadJavaScriptMappings
(ConfigManager cfgMgr, String k8sTarget, String namespace) void
modifyObject
(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:
addObject
in interfaceK8sWatchTarget
- Throws:
ProvisioningException
-
modifyObject
public void modifyObject(TremoloType cfg, org.json.simple.JSONObject item) throws ProvisioningException - Specified by:
modifyObject
in interfaceK8sWatchTarget
- Throws:
ProvisioningException
-
deleteObject
public void deleteObject(TremoloType cfg, org.json.simple.JSONObject item) throws ProvisioningException - Specified by:
deleteObject
in interfaceK8sWatchTarget
- Throws:
ProvisioningException
-