(serviceID string)
| 85 | } |
| 86 | |
| 87 | func (m *mockSafePoint) GetServiceSafePoint(serviceID string) (uint64, bool) { |
| 88 | m.Lock() |
| 89 | defer m.Unlock() |
| 90 | safepoint, ok := m.services[serviceID] |
| 91 | return safepoint, ok |
| 92 | } |
| 93 | |
| 94 | func (m *mockSafePoint) UpdateServiceGCSafePoint(ctx context.Context, serviceID string, ttl int64, safePoint uint64) (uint64, error) { |
| 95 | m.Lock() |
no test coverage detected