All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.operatorsdk.deployment.ContextStoredCRDInfos Maven / Gradle / Ivy

There is a newer version: 6.8.4
Show newest version
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