Skip to content

quarkiverse/quarkus-tekton-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quarkiverse Tekton Client!

All Contributors

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.

Coordinates

<dependency>
    <groupId>io.quarkiverse.tektonclient</groupId>
    <artifactId>quarkus-tekton-client</artifactId>
    <version>LATEST</version>
</dependency>

Usage

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();
    }

}

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Marek Goldmann

💻 🚧

This project follows the all-contributors specification. Contributions of any kind welcome!