Class LoadNotifiersFromK8s
java.lang.Object
com.tremolosecurity.proxy.dynamicconfiguration.LoadNotifiersFromK8s
- All Implemented Interfaces:
K8sWatchTarget,DynamicNotifiers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObject(TremoloType cfg, org.json.simple.JSONObject item) voiddeleteObject(TremoloType cfg, org.json.simple.JSONObject item) voidloadDynamicNotifiers(ConfigManager cfgMgr, ProvisioningEngine provisioningEngine, Map<String, Attribute> init) Sets up a dynamic listener for changes to notifiersvoidmodifyObject(TremoloType cfg, org.json.simple.JSONObject item)
-
Constructor Details
-
LoadNotifiersFromK8s
public LoadNotifiersFromK8s()
-
-
Method Details
-
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
-
loadDynamicNotifiers
public void loadDynamicNotifiers(ConfigManager cfgMgr, ProvisioningEngine provisioningEngine, Map<String, Attribute> init) throws ProvisioningExceptionDescription copied from interface:DynamicNotifiersSets up a dynamic listener for changes to notifiers- Specified by:
loadDynamicNotifiersin interfaceDynamicNotifiers- Parameters:
cfgMgr-provisioningEngine-init-- Throws:
ProvisioningException
-