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

io.quarkiverse.operatorsdk.common.DeserializedKubernetesResourcesBuildItem Maven / Gradle / Ivy

The newest version!
package io.quarkiverse.operatorsdk.common;

import java.util.List;

import io.fabric8.kubernetes.api.model.HasMetadata;
import io.quarkus.builder.item.SimpleBuildItem;

public final class DeserializedKubernetesResourcesBuildItem extends SimpleBuildItem {
    private final List resources;

    public DeserializedKubernetesResourcesBuildItem(List resources) {
        this.resources = resources;
    }

    /**
     * Note that these resources are "live" so any modification made to them will be propagated anywhere this method is called
     * and a reference on the result is kept so if you don't want local changes to be propagated, make a copy of the resources
     * you interact with, first.
     */
    public List getResources() {
        return resources;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy