Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 183 for squatting (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

       * Send a close frame with optional code and reason.
       *
       * @param code Status code as defined by
       *     [Section 7.4 of RFC 6455](http://tools.ietf.org/html/rfc6455#section-7.4) or `0`.
       * @param reason Reason for shutting down or `null`.
       */
      @Throws(IOException::class)
      fun writeClose(
        code: Int,
        reason: ByteString?,
      ) {
        var payload = ByteString.EMPTY
        if (code != 0 || reason != null) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/names/controller_names.go

    //  2. used anywhere inside the controller itself:
    //     2.1. [TODO] logging should use a canonical controller name when referencing a controller (Eg. Starting X, Shutting down X)
    //     2.2. [TODO] emitted events should have an EventSource.Component set to the controller name (usually when initializing an EventRecorder)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. pkg/test/loadbalancersim/timer/queue.go

    	needReset, resetDuration := func() (bool, time.Duration) {
    		q.mutex.Lock()
    		defer q.mutex.Unlock()
    
    		if q.stopping {
    			// Ignore the event, since we're already shutting down.
    			return false, 0
    		}
    
    		e := q.heap.peek()
    		if e == nil || e.deadline.Equal(q.currentDeadline) {
    			// nothing to do.
    			return false, 0
    		}
    
    		q.currentDeadline = e.deadline
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. pkg/controlplane/controller/apiserverleasegc/gc_controller.go

    		leaseNamespace: leaseNamespace,
    		gcCheckPeriod:  gcCheckPeriod,
    	}
    }
    
    // Run starts one worker.
    func (c *Controller) Run(stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer klog.Infof("Shutting down apiserver lease garbage collector")
    
    	klog.Infof("Starting apiserver lease garbage collector")
    
    	// we have a personal informer that is narrowly scoped, start it.
    	go c.leaseInformer.Run(stopCh)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 25 03:27:44 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    // called in case of panic.  HandleCrash actually crashes, after calling the
    // handlers and logging the panic message.
    //
    // E.g., you can provide one or more additional handlers for something like shutting down go routines gracefully.
    //
    // TODO(pohly): logcheck:context // HandleCrashWithContext should be used instead of HandleCrash in code which supports contextual logging.
    func HandleCrash(additionalHandlers ...func(interface{})) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. pkg/kubelet/pluginmanager/plugin_manager.go

    	klog.InfoS("Starting Kubelet Plugin Manager")
    	go pm.reconciler.Run(stopCh)
    
    	metrics.Register(pm.actualStateOfWorld, pm.desiredStateOfWorld)
    	<-stopCh
    	klog.InfoS("Shutting down Kubelet Plugin Manager")
    }
    
    func (pm *pluginManager) AddHandler(pluginType string, handler cache.PluginHandler) {
    	pm.reconciler.AddHandler(pluginType, handler)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 01 05:56:33 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  7. pkg/kubelet/util/manager/watch_based_manager.go

    		store:     store,
    		reflector: reflector,
    		hasSynced: func() (bool, error) { return store.hasSynced(), nil },
    		stopCh:    make(chan struct{}),
    	}
    
    	// Don't start reflector if Kubelet is already shutting down.
    	if !c.stopped {
    		go item.startReflector()
    	}
    	return item
    }
    
    func (c *objectCache) AddReference(namespace, name string, referencedFrom types.UID) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. pkg/controller/nodeipam/node_ipam_controller.go

    	defer nc.eventBroadcaster.Shutdown()
    	klog.FromContext(ctx).Info("Starting ipam controller")
    	defer klog.FromContext(ctx).Info("Shutting down ipam controller")
    
    	if !cache.WaitForNamedCacheSync("node", ctx.Done(), nc.nodeInformerSynced) {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. pkg/controlplane/controller/legacytokentracking/controller.go

    func (c *Controller) Run(stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer c.queue.ShutDown()
    
    	klog.Info("Starting legacy_token_tracking_controller")
    	defer klog.Infof("Shutting down legacy_token_tracking_controller")
    
    	go c.configMapInformer.Run(stopCh)
    	if !cache.WaitForNamedCacheSync("configmaps", stopCh, c.configMapSynced) {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. pkg/controller/certificates/certificate_controller.go

    	defer utilruntime.HandleCrash()
    	defer cc.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting certificate controller", "name", cc.name)
    	defer logger.Info("Shutting down certificate controller", "name", cc.name)
    
    	if !cache.WaitForNamedCacheSync(fmt.Sprintf("certificate-%s", cc.name), ctx.Done(), cc.csrsSynced) {
    		return
    	}
    
    	for i := 0; i < workers; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top