Separate out to two binaries.
Some checks failed
format Build format has succeeded
clippy Build clippy has failed
rust-test Build rust-test has failed

This commit is contained in:
Tom Alexander
2024-09-29 14:32:20 -04:00
parent cdac8224c6
commit 0602f8472b
7 changed files with 177 additions and 128 deletions

9
src/app_state.rs Normal file
View File

@@ -0,0 +1,9 @@
use kube::Client;
use crate::gitea_client::GiteaClient;
#[derive(Clone)]
pub(crate) struct AppState {
pub(crate) kubernetes_client: Client,
pub(crate) gitea: GiteaClient,
}