- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 569 for stopCh (0.24 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/borrowing_test.go
QueueSetFactory: fqs.NewQueueSetFactory(clk), }) ctx, cancel := context.WithTimeout(context.Background(), 50*time.Second) stopCh := ctx.Done() controllerCompletionCh := make(chan error) informerFactory.Start(stopCh) status := informerFactory.WaitForCacheSync(ctx.Done()) if names := unsynced(status); len(names) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/initializer.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 861 bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go
fs: &utilfs.DefaultFs{}, desiredStateOfWorld: desiredStateOfWorld, } } // Start watches for the creation and deletion of plugin sockets at the path func (w *Watcher) Start(stopCh <-chan struct{}) error { klog.V(2).InfoS("Plugin Watcher Start", "path", w.path) // Creating the directory to be watched if it doesn't exist yet, // and walks through the directory to discover the existing plugins.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:26:37 UTC 2023 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz.go
// that we can register that the api-server is no longer ready while we attempt to gracefully // shutdown. func (s *GenericAPIServer) addReadyzShutdownCheck(stopCh <-chan struct{}) error { return s.AddReadyzChecks(healthz.NewShutdownHealthz(stopCh)) } // installHealthz creates the healthz endpoint for this server func (s *GenericAPIServer) installHealthz() { s.healthzRegistry.installHandler(s.Handler.NonGoRestfulMux)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 6K bytes - Viewed (0) -
pkg/kubeapiserver/admission/initializer.go
See the License for the specific language governing permissions and limitations under the License. */ package admission import ( "k8s.io/apiserver/pkg/admission" ) // TODO add a `WantsToRun` which takes a stopCh. Might make it generic. // WantsCloudConfig defines a function which sets CloudConfig for admission plugins that need it. type WantsCloudConfig interface { SetCloudConfig([]byte) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy.go
) // Interface defines how the Unknown Version Proxy filter interacts with the underlying system. type Interface interface { WrapHandler(handler http.Handler) http.Handler WaitForCacheSync(stopCh <-chan struct{}) error HasFinishedSync() bool } // New creates a new instance to implement unknown version proxy func NewPeerProxyHandler(informerFactory kubeinformers.SharedInformerFactory, svm storageversion.Manager,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 19 00:36:22 UTC 2023 - 2K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go
} } func newWatcher(t *testing.T, socketDir string, desiredStateOfWorldCache cache.DesiredStateOfWorld, stopCh <-chan struct{}) *Watcher { w := NewWatcher(socketDir, desiredStateOfWorldCache) require.NoError(t, w.Start(stopCh)) return w
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 04 06:56:50 UTC 2023 - 8K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_fake.go
} return &FakeVolumeManager{ volumes: volumes, reportedInUse: map[v1.UniqueVolumeName]bool{}, } } // Run is not implemented func (f *FakeVolumeManager) Run(sourcesReady config.SourcesReady, stopCh <-chan struct{}) { } // WaitForAttachAndMount is not implemented func (f *FakeVolumeManager) WaitForAttachAndMount(ctx context.Context, pod *v1.Pod) error { return nil } // WaitForUnmount is not implemented
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 17 16:53:28 UTC 2023 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook.go
w, err := loadWebhook(kubeConfigFile, groupVersion, retryBackoff, customDial) if err != nil { return nil, err } return &backend{w: w, name: PluginName}, nil } func (b *backend) Run(stopCh <-chan struct{}) error { return nil } func (b *backend) Shutdown() { // nothing to do here } func (b *backend) ProcessEvents(ev ...*auditinternal.Event) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 21:13:31 UTC 2022 - 4.5K bytes - Viewed (0) -
pkg/controller/clusterroleaggregation/clusterroleaggregation_controller.go
for _, curr := range haystack { if equality.Semantic.DeepEqual(curr, needle) { return true } } return false } // Run starts the controller and blocks until stopCh is closed. func (c *ClusterRoleAggregationController) Run(ctx context.Context, workers int) { defer utilruntime.HandleCrash() defer c.queue.ShutDown() logger := klog.FromContext(ctx)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8K bytes - Viewed (0)