public async Task StopAsync(CancellationToken cancellationToken)
        {
            _certManagerTimer.Enabled = false;
            await _certificateWatcher.Stop();

            await _secretsWatcher.Stop();

            _monitorTriggerChannel?.Writer.Complete();
        }
Exemplo n.º 2
0
        public async Task StopAsync(CancellationToken cancellationToken)
        {
            await _crdV1Watcher.Stop();

            foreach (var certificatesWatcher in _certificatesWatchers.Values)
            {
                await certificatesWatcher.Stop();
            }
            await _secretsWatcher.Stop();
        }
Exemplo n.º 3
0
 public async Task StopAsync(CancellationToken cancellationToken)
 {
     await _secretsWatcher.Stop();
 }
        protected async Task WatchersStop()
        {
            await _resourceWatcher.Stop();

            await _namespaceWatcher.Stop();
        }