File tree Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ spin-factor-key-value-azure = { path = "../factor-key-value-azure" }
1818spin-factor-outbound-http = { path = " ../factor-outbound-http" }
1919spin-factor-outbound-mqtt = { path = " ../factor-outbound-mqtt" }
2020spin-factor-outbound-networking = { path = " ../factor-outbound-networking" }
21+ spin-factor-outbound-pg = { path = " ../factor-outbound-pg" }
2122spin-factor-outbound-redis = { path = " ../factor-outbound-redis" }
2223spin-factor-sqlite = { path = " ../factor-sqlite" }
2324spin-factor-variables = { path = " ../factor-variables" }
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ use spin_factor_outbound_http::OutboundHttpFactor;
77use spin_factor_outbound_mqtt:: OutboundMqttFactor ;
88use spin_factor_outbound_networking:: runtime_config:: spin:: SpinTlsRuntimeConfig ;
99use spin_factor_outbound_networking:: OutboundNetworkingFactor ;
10+ use spin_factor_outbound_pg:: OutboundPgFactor ;
1011use spin_factor_outbound_redis:: OutboundRedisFactor ;
1112use spin_factor_sqlite:: runtime_config:: spin as sqlite;
1213use spin_factor_sqlite:: SqliteFactor ;
@@ -159,6 +160,12 @@ impl FactorRuntimeConfigSource<VariablesFactor> for TomlRuntimeConfigSource<'_>
159160 }
160161}
161162
163+ impl FactorRuntimeConfigSource < OutboundPgFactor > for TomlRuntimeConfigSource < ' _ > {
164+ fn get_runtime_config ( & mut self ) -> anyhow:: Result < Option < ( ) > > {
165+ Ok ( None )
166+ }
167+ }
168+
162169impl FactorRuntimeConfigSource < OutboundRedisFactor > for TomlRuntimeConfigSource < ' _ > {
163170 fn get_runtime_config ( & mut self ) -> anyhow:: Result < Option < ( ) > > {
164171 Ok ( None )
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ spin-factor-key-value = { path = "../factor-key-value" }
2525spin-factor-outbound-http = { path = " ../factor-outbound-http" }
2626spin-factor-outbound-mqtt = { path = " ../factor-outbound-mqtt" }
2727spin-factor-outbound-networking = { path = " ../factor-outbound-networking" }
28+ spin-factor-outbound-pg = { path = " ../factor-outbound-pg" }
2829spin-factor-outbound-redis = { path = " ../factor-outbound-redis" }
2930spin-factor-sqlite = { path = " ../factor-sqlite" }
3031spin-factor-variables = { path = " ../factor-variables" }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ use spin_factor_key_value::KeyValueFactor;
44use spin_factor_outbound_http:: OutboundHttpFactor ;
55use spin_factor_outbound_mqtt:: { NetworkedMqttClient , OutboundMqttFactor } ;
66use spin_factor_outbound_networking:: OutboundNetworkingFactor ;
7+ use spin_factor_outbound_pg:: OutboundPgFactor ;
78use spin_factor_outbound_redis:: OutboundRedisFactor ;
89use spin_factor_sqlite:: SqliteFactor ;
910use spin_factor_variables:: VariablesFactor ;
@@ -21,6 +22,7 @@ pub struct TriggerFactors {
2122 pub sqlite : SqliteFactor ,
2223 pub redis : OutboundRedisFactor ,
2324 pub mqtt : OutboundMqttFactor ,
25+ pub pg : OutboundPgFactor ,
2426}
2527
2628impl TriggerFactors {
@@ -39,6 +41,7 @@ impl TriggerFactors {
3941 sqlite : SqliteFactor :: new ( default_sqlite_label_resolver) ,
4042 redis : OutboundRedisFactor :: new ( ) ,
4143 mqtt : OutboundMqttFactor :: new ( NetworkedMqttClient :: creator ( ) ) ,
44+ pg : OutboundPgFactor :: new ( ) ,
4245 }
4346 }
4447}
You can’t perform that action at this time.
0 commit comments