This Quarkus extension exposes the Fabric8 Tekton client.
Main use of this extension is to be able to inject the Tekton client without worrying about the complexity related to handling dependencies in case of native builds.
<dependency>
<groupId>io.quarkiverse.tektonclient</groupId>
<artifactId>quarkus-tekton-client</artifactId>
<version>LATEST</version>
</dependency>
import java.util.List;
import jakarta.enterprise.context.ApplicationScoped;
import io.fabric8.tekton.client.TektonClient;
import io.fabric8.tekton.pipeline.v1beta1.Pipeline;
@ApplicationScoped
public class TektonResourceClient {
@Inject
TektonClient tektonClient;
public List<Pipeline> listPipelines() {
return tektonClient.v1beta1().pipelines().list().getItems();
}
}
Thanks goes to these wonderful people (emoji key):
Marek Goldmann 💻 🚧 |
This project follows the all-contributors specification. Contributions of any kind welcome!