Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 318 for isShutdown (1.66 sec)

  1. pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go

    }
    
    func TestMonitorShutdown(t *testing.T) {
    	var tests = []struct {
    		desc           string
    		shutdownActive bool
    	}{
    		{
    			desc:           "shutdown is active",
    			shutdownActive: true,
    		},
    		{
    			desc:           "shutdown is not active",
    			shutdownActive: false,
    		},
    	}
    
    	for _, tc := range tests {
    		tc := tc
    		t.Run(tc.desc, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 19:50:06 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

      }
    
      /**
       * Release any resources held by this dispatcher. Any requests that are currently being dispatched
       * should return immediately. Responses returned after shutdown will not be transmitted: their
       * socket connections have already been closed.
       */
      open fun shutdown() {}
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. pkg/ctrlz/ctrlz.go

    			Handler:        router,
    		},
    	}
    
    	s.shutdown.Add(1)
    	go s.listen()
    
    	return s, nil
    }
    
    func (s *Server) listen() {
    	log.Infof("ControlZ available at %s", s.httpServer.Addr)
    	if listeningTestProbe != nil {
    		go listeningTestProbe()
    	}
    	err := s.httpServer.Serve(s.listener)
    	log.Infof("ControlZ terminated: %v", err)
    	s.shutdown.Done()
    }
    
    // Close terminates ControlZ.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/testing-events.md

    # ๐Ÿ”ฌ ๐ŸŽ‰: ๐Ÿ•ด - ๐Ÿคซ
    
    ๐Ÿ•โ” ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ‘† ๐ŸŽ‰ ๐Ÿ•โ€๐Ÿฆบ (`startup` & `shutdown`) ๐Ÿƒ ๐Ÿ‘† ๐Ÿ’ฏ, ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `TestClient` โฎ๏ธ `with` ๐Ÿ“„:
    
    ```Python hl_lines="9-12  20-24"
    {!../../../docs_src/app_testing/tutorial003.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 248 bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

      object FailHandshake : SocketPolicy
    
      /**
       * Shutdown the socket input after sending the response. For testing bad behavior.
       *
       * See [SocketPolicy] for reasons why this can cause test flakiness and how to avoid it.
       */
      object ShutdownInputAtEnd : SocketPolicy
    
      /**
       * Shutdown the socket output after sending the response. For testing bad behavior.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. pkg/kubelet/nodeshutdown/nodeshutdown_manager.go

    	"k8s.io/kubernetes/pkg/kubelet/eviction"
    	"k8s.io/kubernetes/pkg/kubelet/lifecycle"
    	"k8s.io/kubernetes/pkg/kubelet/prober"
    	"k8s.io/utils/clock"
    )
    
    // Manager interface provides methods for Kubelet to manage node shutdown.
    type Manager interface {
    	Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult
    	Start() error
    	ShutdownStatus() error
    }
    
    // Config represents Manager configuration
    type Config struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 24 09:20:34 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        val dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse = TODO()
    
            override fun peek(): MockResponse = TODO()
    
            override fun shutdown() = TODO()
          }
      }
    
      @Test @Ignore
      fun mockResponse() {
        var mockResponse: MockResponse = MockResponse()
        var status: String = mockResponse.status
        status = mockResponse.status
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. pkg/controller/validatingadmissionpolicystatus/controller.go

    	}
    }
    
    func (c *Controller) runWorker(ctx context.Context) {
    	for c.processNextWorkItem(ctx) {
    	}
    }
    
    func (c *Controller) processNextWorkItem(ctx context.Context) bool {
    	key, shutdown := c.policyQueue.Get()
    	if shutdown {
    		return false
    	}
    	defer c.policyQueue.Done(key)
    
    	err := func() error {
    		policy, err := c.policyInformer.Lister().Get(key)
    		if err != nil {
    			if kerrors.IsNotFound(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. releasenotes/notes/41621.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    releaseNotes:
      - |
        **Fixed** an issue where istiod, when started with PILOT_ENABLE_STATUS=true, 
        reported the following error on shutdown: failed to properly clean up distribution report: configmaps 
        "istiod-xxx-yyy-distribution" is forbidden: User "system:serviceaccount:istio-system:istiod" cannot 
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 25 16:27:18 UTC 2022
    - 457 bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/testing-events.md

    # ๆต‹่ฏ•ไบ‹ไปถ๏ผšๅฏๅŠจ - ๅ…ณ้—ญ
    
    ไฝฟ็”จ `TestClient` ๅ’Œ `with` ่ฏญๅฅ๏ผŒๅœจๆต‹่ฏ•ไธญ่ฟ่กŒไบ‹ไปถๅค„็†ๅ™จ๏ผˆ`startup` ไธŽ `shutdown`๏ผ‰ใ€‚
    
    ```Python hl_lines="9-12  20-24"
    {!../../../docs_src/app_testing/tutorial003.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:21:02 UTC 2024
    - 228 bytes
    - Viewed (0)
Back to top