Search in sources :

Example 6 with ResourceItem

use of io.strimzi.systemtest.resources.ResourceItem in project strimzi-kafka-operator by strimzi.

the class HelmResource method create.

public void create(ExtensionContext extensionContext, long operationTimeout, long reconciliationInterval) {
    ResourceManager.STORED_RESOURCES.computeIfAbsent(extensionContext.getDisplayName(), k -> new Stack<>());
    ResourceManager.STORED_RESOURCES.get(extensionContext.getDisplayName()).push(new ResourceItem(this::delete));
    this.clusterOperator(operationTimeout, reconciliationInterval);
}
Also used : ResourceItem(io.strimzi.systemtest.resources.ResourceItem)

Aggregations

ResourceItem (io.strimzi.systemtest.resources.ResourceItem)6 NetworkPolicy (io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicy)2 NetworkPolicyBuilder (io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicyBuilder)2 TestUtils (io.strimzi.test.TestUtils)2 File (java.io.File)2