io.quarkus.test.bootstrap.OperatorService Maven / Gradle / Ivy
package io.quarkus.test.bootstrap;
import java.util.ArrayList;
import java.util.List;
import io.fabric8.kubernetes.client.CustomResource;
import io.quarkus.test.services.operator.model.CustomResourceDefinition;
import io.quarkus.test.services.operator.model.CustomResourceSpec;
import io.quarkus.test.services.operator.model.CustomResourceStatus;
public class OperatorService extends BaseService {
private final List crds = new ArrayList<>();
public List getCrds() {
return crds;
}
public OperatorService withCrd(String name, String crdFile,
Class extends CustomResource> type) {
crds.add(new CustomResourceDefinition(name, crdFile, type));
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy