(name string)
| 183 | } |
| 184 | |
| 185 | func (s *FSSReconcileServer) getFunc(name string) (*FuncRuntime, error) { |
| 186 | s.functionsMu.Lock() |
| 187 | defer s.functionsMu.Unlock() |
| 188 | instance, ok := s.functions[name] |
| 189 | if !ok { |
| 190 | return nil, fmt.Errorf("function not found") |
| 191 | } |
| 192 | return instance, nil |
| 193 | } |
| 194 | |
| 195 | func (s *FSSReconcileServer) removeFunction(name string) { |
| 196 | s.functionsMu.Lock() |
no outgoing calls
no test coverage detected