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

io.quarkus.test.services.containers.KubernetesContainerManagedResourceBinding Maven / Gradle / Ivy

There is a newer version: 1.6.0.Beta14
Show newest version
package io.quarkus.test.services.containers;

import io.quarkus.test.bootstrap.ManagedResource;
import io.quarkus.test.bootstrap.ServiceContext;
import io.quarkus.test.scenarios.KubernetesScenario;

public class KubernetesContainerManagedResourceBinding implements ContainerManagedResourceBinding {

    @Override
    public boolean appliesFor(ServiceContext context) {
        return context.getTestContext().getRequiredTestClass().isAnnotationPresent(KubernetesScenario.class);
    }

    @Override
    public ManagedResource init(ContainerManagedResourceBuilder builder) {
        return new KubernetesContainerManagedResource(builder);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy