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

            await _secretsWatcher.Stop();

            _monitorTriggerChannel?.Writer.Complete();
        }
예제 #2
0
        public async Task StopAsync(CancellationToken cancellationToken)
        {
            await _crdV1Watcher.Stop();

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

            await _namespaceWatcher.Stop();
        }