Skip to main content

CicdRunner

Trait CicdRunner 

Source
pub trait CicdRunner {
    // Required methods
    fn list(&self, args: RunnerListBodyArgs) -> Result<Vec<Runner>>;
    fn get(&self, id: i64) -> Result<RunnerMetadata>;
    fn create(
        &self,
        args: RunnerPostDataCliArgs,
    ) -> Result<RunnerRegistrationResponse>;
    fn num_pages(&self, args: RunnerListBodyArgs) -> Result<Option<u32>>;
    fn num_resources(
        &self,
        args: RunnerListBodyArgs,
    ) -> Result<Option<NumberDeltaErr>>;
}

Required Methods§

Implementors§

Source§

impl<R: HttpRunner<Response = HttpResponse>> CicdRunner for Github<R>

Source§

impl<R: HttpRunner<Response = HttpResponse>> CicdRunner for Gitlab<R>