Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,650 for lease (0.05 sec)

  1. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    		},
    		{
    			name:   "disallowed get lease in namespace other than kube-node-lease - feature enabled",
    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "leases", APIGroup: "coordination.k8s.io", Name: "node0", Namespace: "foo"},
    			expect: authorizer.DecisionNoOpinion,
    		},
    		{
    			name:   "disallowed create lease in namespace other than kube-node-lease - feature enabled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerLeaseService.java

         * the new lock is released and the old locks reacquired.
         * If a lock cannot be immediately (re)acquired, the current worker lease will be released and the method will block until the locks are (re)acquired.
         */
        <T> T withReplacedLocks(Collection<? extends ResourceLock> currentLocks, ResourceLock newLock, Factory<T> factory);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/leaderelection.go

    		// Function to use to decide whether this leader should steal the existing lock.
    		// This is disable when perRevision is used, as this enables the Lease. Lease doesn't have a holderKey field to place our key
    		// as holderKey is an Istio specific fork.
    		// While its possible to make it work with Lease as well (via an annotation to store it), we don't ever need prioritized
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java

                throw new IllegalStateException("Current thread is already a worker thread");
            }
            DefaultWorkerLease lease = newWorkerLease();
            coordinationService.withStateLock(lock(lease));
            return lease;
        }
    
        @Override
        public WorkerLeaseCompletion maybeStartWorker() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationQueueTest.groovy

        WorkerLeaseService workerRegistry
        WorkerLeaseRegistry.WorkerLeaseCompletion lease
    
        void setupQueue(int threads) {
            coordinationService = new DefaultResourceLockCoordinationService()
            workerRegistry = new DefaultWorkerLeaseService(coordinationService, new DefaultWorkerLimits(threads)) {}
            workerRegistry.startProjectExecution(true)
            lease = workerRegistry.startWorker()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__coordination.k8s.io__v1_openapi.json

    {
      "components": {
        "schemas": {
          "io.k8s.api.coordination.v1.Lease": {
            "description": "Lease defines a lease concept.",
            "properties": {
              "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 136.6K bytes
    - Viewed (0)
  7. plugin/pkg/admission/noderestriction/admission_test.go

    			err:        "",
    		},
    		{
    			name:       "allowed update node lease - feature enabled",
    			attributes: admission.NewAttributesRecord(lease, lease, leaseKind, lease.Namespace, lease.Name, leaseResource, "", admission.Update, &metav1.UpdateOptions{}, false, mynode),
    			err:        "",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    	return &coordv1.Lease{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      nodeName,
    			Namespace: v1.NamespaceNodeLease,
    		},
    		Spec: coordv1.LeaseSpec{
    			HolderIdentity: pointer.String(nodeName),
    			RenewTime:      &renewTime,
    		},
    	}
    }
    
    func (nc *nodeLifecycleController) syncLeaseStore(lease *coordv1.Lease) error {
    	if lease == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/operations/MaxWorkersTest.groovy

                            }
                        })
                        lease.leaseFinish()
                    }
                }
    
                leaseAcquiredLatch.await()
    
                // release the first queue to submit its work
                synchronized (release) {
                    release.notify()
                }
    
                // Wait for all worker leases to be utilized running work
                runningLatch.await()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. tests/docker-compose.yml

          - MSSQL_DB=gorm
          - MSSQL_USER=gorm
          - MSSQL_PASSWORD=LoremIpsum86
      tidb:
        image: 'pingcap/tidb:v6.5.0'
        ports:
          - "9940:4000"
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 08:28:46 UTC 2024
    - 862 bytes
    - Viewed (0)
Back to top