io.quarkiverse.operatorsdk.deployment.ContextStoredCRDInfos Maven / Gradle / Ivy
package io.quarkiverse.operatorsdk.deployment;
import java.util.HashMap;
import java.util.Map;
import io.quarkiverse.operatorsdk.runtime.CRDInfo;
public class ContextStoredCRDInfos {
private final Map> infos = new HashMap<>();
Map getCRDInfosFor(String crdName) {
return infos.computeIfAbsent(crdName, k -> new HashMap<>());
}
public Map> getExisting() {
return infos;
}
void putAll(Map> toAdd) {
infos.putAll(toAdd);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy