Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for acquireTime (0.28 sec)

  1. staging/src/k8s.io/api/coordination/v1/types.go

    	// +optional
    	LeaseDurationSeconds *int32 `json:"leaseDurationSeconds,omitempty" protobuf:"varint,2,opt,name=leaseDurationSeconds"`
    	// acquireTime is a time when the current lease was acquired.
    	// +optional
    	AcquireTime *metav1.MicroTime `json:"acquireTime,omitempty" protobuf:"bytes,3,opt,name=acquireTime"`
    	// renewTime is a time when the current holder of a lease has last
    	// updated the lease.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/leaselock.go

    		r.LeaseDurationSeconds = int(*spec.LeaseDurationSeconds)
    	}
    	if spec.LeaseTransitions != nil {
    		r.LeaderTransitions = int(*spec.LeaseTransitions)
    	}
    	if spec.AcquireTime != nil {
    		r.AcquireTime = metav1.Time{Time: spec.AcquireTime.Time}
    	}
    	if spec.RenewTime != nil {
    		r.RenewTime = metav1.Time{Time: spec.RenewTime.Time}
    	}
    	return &r
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jun 04 16:02:26 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. src/runtime/sema.go

    		return
    	}
    	s, t0, tailtime := root.dequeue(addr)
    	if s != nil {
    		root.nwait.Add(-1)
    	}
    	unlock(&root.lock)
    	if s != nil { // May be slow or even yield, so unlock first
    		acquiretime := s.acquiretime
    		if acquiretime != 0 {
    			// Charge contention that this (delayed) unlock caused.
    			// If there are N more goroutines waiting beyond the
    			// one that's waking up, charge their delay as well, so that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/leasespec.go

    	return b
    }
    
    // WithAcquireTime sets the AcquireTime field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the AcquireTime field is set to the value of the last call.
    func (b *LeaseSpecApplyConfiguration) WithAcquireTime(value v1.MicroTime) *LeaseSpecApplyConfiguration {
    	b.AcquireTime = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasespec.go

    	return b
    }
    
    // WithAcquireTime sets the AcquireTime field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the AcquireTime field is set to the value of the last call.
    func (b *LeaseSpecApplyConfiguration) WithAcquireTime(value v1.MicroTime) *LeaseSpecApplyConfiguration {
    	b.AcquireTime = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/coordination/v1beta1/types.go

    	// +optional
    	LeaseDurationSeconds *int32 `json:"leaseDurationSeconds,omitempty" protobuf:"varint,2,opt,name=leaseDurationSeconds"`
    	// acquireTime is a time when the current lease was acquired.
    	// +optional
    	AcquireTime *metav1.MicroTime `json:"acquireTime,omitempty" protobuf:"bytes,3,opt,name=acquireTime"`
    	// renewTime is a time when the current holder of a lease has last
    	// updated the lease.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 16:45:58 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/coordination/v1/generated.proto

      // observed renewTime.
      // +optional
      optional int32 leaseDurationSeconds = 2;
    
      // acquireTime is a time when the current lease was acquired.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime acquireTime = 3;
    
      // renewTime is a time when the current holder of a lease has last
      // updated the lease.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. pkg/apis/coordination/v1/zz_generated.conversion.go

    	out.HolderIdentity = (*string)(unsafe.Pointer(in.HolderIdentity))
    	out.LeaseDurationSeconds = (*int32)(unsafe.Pointer(in.LeaseDurationSeconds))
    	out.AcquireTime = (*metav1.MicroTime)(unsafe.Pointer(in.AcquireTime))
    	out.RenewTime = (*metav1.MicroTime)(unsafe.Pointer(in.RenewTime))
    	out.LeaseTransitions = (*int32)(unsafe.Pointer(in.LeaseTransitions))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  9. pkg/apis/coordination/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.LeaseDurationSeconds != nil {
    		in, out := &in.LeaseDurationSeconds, &out.LeaseDurationSeconds
    		*out = new(int32)
    		**out = **in
    	}
    	if in.AcquireTime != nil {
    		in, out := &in.AcquireTime, &out.AcquireTime
    		*out = (*in).DeepCopy()
    	}
    	if in.RenewTime != nil {
    		in, out := &in.RenewTime, &out.RenewTime
    		*out = (*in).DeepCopy()
    	}
    	if in.LeaseTransitions != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/coordination/v1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	if in.LeaseDurationSeconds != nil {
    		in, out := &in.LeaseDurationSeconds, &out.LeaseDurationSeconds
    		*out = new(int32)
    		**out = **in
    	}
    	if in.AcquireTime != nil {
    		in, out := &in.AcquireTime, &out.AcquireTime
    		*out = (*in).DeepCopy()
    	}
    	if in.RenewTime != nil {
    		in, out := &in.RenewTime, &out.RenewTime
    		*out = (*in).DeepCopy()
    	}
    	if in.LeaseTransitions != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top