autocrate/src/serverapi/gitlab.rs

25 lines
429 B
Rust
Raw Normal View History

2024-02-16 20:00:55 +01:00
use async_trait::async_trait;
use super::ServerApi;
use crate::{
config::{ApiType, Config},
error::*,
};
pub struct Gitlab;
#[async_trait]
impl ServerApi for Gitlab {
async fn init(&mut self, cfg: &Config) -> Result<()> {
todo!()
}
async fn push_release(&mut self) -> Result<()> {
todo!()
}
}
impl Gitlab {
pub async fn build(cfg: &Config) -> Result<Self> {
todo!()
}
}