SetEventingTriggerConfig sets the config of eventing module
(ctx context.Context, projectID string, eventingTriggers config.EventingTriggers)
| 144 | |
| 145 | // SetEventingTriggerConfig sets the config of eventing module |
| 146 | func (m *Modules) SetEventingTriggerConfig(ctx context.Context, projectID string, eventingTriggers config.EventingTriggers) error { |
| 147 | module, err := m.loadModule(projectID) |
| 148 | if err != nil { |
| 149 | return err |
| 150 | } |
| 151 | return module.SetEventingTriggerConfig(ctx, eventingTriggers) |
| 152 | } |
| 153 | |
| 154 | // SetEventingRuleConfig sets the config of eventing module |
| 155 | func (m *Modules) SetEventingRuleConfig(ctx context.Context, projectID string, secureObj config.EventingRules) error { |
nothing calls this directly
no test coverage detected