Class LoadJobsFromK8s
java.lang.Object
com.tremolosecurity.provisioning.jobs.LoadJobsFromK8s
- All Implemented Interfaces:
K8sWatchTarget
,DynamicJobs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObject
(TremoloType cfg, org.json.simple.JSONObject item) void
deleteObject
(TremoloType cfg, org.json.simple.JSONObject item) void
loadDynamicJobs
(ConfigManager cfgMgr, ProvisioningEngine provisioningEngine, Map<String, Attribute> init, HashSet<String> jobKeys) void
modifyObject
(TremoloType cfg, org.json.simple.JSONObject item)
-
Constructor Details
-
LoadJobsFromK8s
public LoadJobsFromK8s()
-
-
Method Details
-
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
-
loadDynamicJobs
public void loadDynamicJobs(ConfigManager cfgMgr, ProvisioningEngine provisioningEngine, Map<String, Attribute> init, HashSet<String> jobKeys) throws ProvisioningException- Specified by:
loadDynamicJobs
in interfaceDynamicJobs
- Throws:
ProvisioningException
-