Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for runOnce (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/authentication.go

    	//  We are passing the context to ProxyCerts.RunOnce as it needs to implement RunOnce(ctx) however the
    	//  context is not used at all. So passing a empty context shouldn't be a problem
    	ctx := context.TODO()
    	if err := dynamicRequestHeaderProvider.RunOnce(ctx); err != nil {
    		return nil, err
    	}
    
    	return &authenticatorfactory.RequestHeaderConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 14:51:22 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      private val cleanupTask =
        object : Task("$okHttpName ConnectionPool connection closer") {
          override fun runOnce(): Long = closeConnections(System.nanoTime())
        }
    
      private fun AddressState.scheduleOpener() {
        queue.schedule(
          object : Task("$okHttpName ConnectionPool connection opener") {
            override fun runOnce(): Long = openConnections(this@scheduleOpener)
          },
        )
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. pkg/registry/core/service/ipallocator/controller/repairip.go

    		go wait.Until(r.ipWorker, r.workerLoopPeriod, stopCh)
    		go wait.Until(r.svcWorker, r.workerLoopPeriod, stopCh)
    	}
    
    	<-stopCh
    }
    
    // runOnce verifies the state of the ClusterIP allocations and returns an error if an unrecoverable problem occurs.
    func (r *RepairIPAddress) runOnce() error {
    	return retry.RetryOnConflict(retry.DefaultBackoff, r.doRunOnce)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        val currentThread = Thread.currentThread()
        val oldName = currentThread.name
        currentThread.name = task.name
    
        var delayNanos = -1L
        try {
          delayNanos = task.runOnce()
        } finally {
          lock.withLock {
            afterRun(task, delayNanos)
          }
          currentThread.name = oldName
        }
      }
    
      private fun afterRun(
        task: Task,
        delayNanos: Long,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/helpers_test.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options.go

    	fs.StringVar(&c.ResolverConfig, "resolv-conf", c.ResolverConfig, "Resolver configuration file used as the basis for the container DNS resolution configuration.")
    
    	fs.BoolVar(&c.RunOnce, "runonce", c.RunOnce, "If true, exit after spawning pods from static pod files or remote urls. Exclusive with --enable-server")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        val source: BufferedSource,
        val sink: BufferedSink,
      ) : Closeable {
        abstract fun cancel()
      }
    
      private inner class WriterTask : Task("$name writer") {
        override fun runOnce(): Long {
          try {
            if (writeOneFrame()) return 0L
          } catch (e: IOException) {
            failWebSocket(e = e, isWriter = true)
          }
          return -1L
        }
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/types.go

    	// ResolverConfig is the resolver configuration file used as the basis
    	// for the container DNS resolution configuration.
    	ResolverConfig string
    	// RunOnce causes the Kubelet to check the API server once for pods,
    	// run those in addition to the pods specified by static pod files, and exit.
    	RunOnce bool
    	// cpuCFSQuota enables CPU CFS quota enforcement for containers that
    	// specify CPU limits
    	CPUCFSQuota bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    				err := r.ipAddressStore.Add(ip)
    				if err != nil {
    					t.Errorf("Unexpected error trying to add IPAddress %s object: %v", ip, err)
    				}
    			}
    
    			err = r.runOnce()
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			for _, ip := range test.expectedIPs {
    				_, err := r.ipAddressLister.Get(ip)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       */
      private var nextSequenceNumber: Long = 0
    
      private val cleanupQueue = taskRunner.newQueue()
      private val cleanupTask =
        object : Task("$okHttpName Cache") {
          override fun runOnce(): Long {
            synchronized(this@DiskLruCache) {
              if (!initialized || closed) {
                return -1L // Nothing to do.
              }
    
              try {
                trimToSize()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top