File tree Expand file tree Collapse file tree
crates/stackable-operator/src/crd/database Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,27 +16,3 @@ pub enum Error {
1616 #[ snafu( context( false ) , display( "derby error" ) ) ]
1717 Derby { source : databases:: derby:: Error } ,
1818}
19-
20- // /// TODO docs
21- // pub trait CeleryDatabaseConnection {
22- // /// TODO docs, e.g. on what are valid characters for unique_database_name
23- // fn celery_connection_details(
24- // &self,
25- // unique_database_name: &str,
26- // ) -> CeleryDatabaseConnectionDetails;
27- // }
28-
29- // pub struct CeleryDatabaseConnectionDetails {
30- // /// The connection URI, which can contain env variable templates, e.g.
31- // /// `redis://:redis@airflow-redis-master:6379/0`
32- // pub uri_template: String,
33-
34- // /// The [`EnvVar`]s the operator needs to mount into the created Pods.
35- // pub env_vars: Vec<EnvVar>,
36- // }
37-
38- // impl CeleryDatabaseConnectionDetails {
39- // pub fn add_to_container(&self, cb: &mut ContainerBuilder) {
40- // cb.add_env_vars(self.env_vars.clone());
41- // }
42- // }
You can’t perform that action at this time.
0 commit comments