Unify backend resources and role bindings in clusters
This commit is contained in:
@@ -74,6 +74,16 @@ pub struct ResolvedSql {
|
||||
}
|
||||
|
||||
impl SqlCluster {
|
||||
pub(crate) fn local(path: Address) -> Self {
|
||||
Self {
|
||||
driver: SqlDriver::Sqlite,
|
||||
primary: path,
|
||||
replicas: vec![],
|
||||
tls: Tls::Disabled,
|
||||
max_connections: 1,
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn resolve(
|
||||
&self,
|
||||
deployment: &str,
|
||||
|
||||
Reference in New Issue
Block a user