Method
Watch
(_ context.Context, _, _ string)
Source from the content-addressed store, hash-verified
| 219 | } |
| 220 | |
| 221 | func (n *NoopWatcher) Watch(_ context.Context, _, _ string) (<-chan *base.DataChanges, <-chan error) { |
| 222 | // Create empty channels |
| 223 | aclChanges := make(chan *base.DataChanges) |
| 224 | errs := make(chan error) |
| 225 | |
| 226 | // Close the channels immediately |
| 227 | close(aclChanges) |
| 228 | close(errs) |
| 229 | |
| 230 | return aclChanges, errs |
| 231 | } |
| 232 | |
| 233 | // TenantReader - Reads tenants from the storage. |
| 234 | type TenantReader interface { |
Callers
nothing calls this directly
Tested by
no test coverage detected