()
| 151 | } |
| 152 | |
| 153 | func (s *Service) registerPluginAuthParser() { |
| 154 | var parser PluginAuthParser |
| 155 | if s != nil && s.pluginHost != nil { |
| 156 | parser = s.pluginHost |
| 157 | } |
| 158 | sdkAuth.RegisterPluginAuthParser(parser) |
| 159 | if s != nil && s.watcher != nil { |
| 160 | s.watcher.SetPluginAuthParser(parser) |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | func (s *Service) syncPluginRuntime(ctx context.Context) { |
| 165 | if !s.syncPluginRuntimeConfig(ctx) { |
no test coverage detected