autocrate/src/serverapi/gitlab.rs

22 lines
409 B
Rust
Raw Normal View History

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