Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for holderIdentity (0.2 sec)

  1. staging/src/k8s.io/api/coordination/v1/generated.proto

      // items is a list of schema objects.
      repeated Lease items = 2;
    }
    
    // LeaseSpec is a specification of a Lease.
    message LeaseSpec {
      // holderIdentity contains the identity of the holder of a current lease.
      // +optional
      optional string holderIdentity = 1;
    
      // leaseDurationSeconds is a duration that candidates for a lease need
      // to wait to force acquire it. This is measure against time of last
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. pkg/apis/coordination/v1/zz_generated.conversion.go

    }
    
    func autoConvert_v1_LeaseSpec_To_coordination_LeaseSpec(in *v1.LeaseSpec, out *coordination.LeaseSpec, s conversion.Scope) error {
    	out.HolderIdentity = (*string)(unsafe.Pointer(in.HolderIdentity))
    	out.LeaseDurationSeconds = (*int32)(unsafe.Pointer(in.LeaseDurationSeconds))
    	out.AcquireTime = (*metav1.MicroTime)(unsafe.Pointer(in.AcquireTime))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  3. pkg/apis/coordination/zz_generated.deepcopy.go

    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *LeaseSpec) DeepCopyInto(out *LeaseSpec) {
    	*out = *in
    	if in.HolderIdentity != nil {
    		in, out := &in.HolderIdentity, &out.HolderIdentity
    		*out = new(string)
    		**out = **in
    	}
    	if in.LeaseDurationSeconds != nil {
    		in, out := &in.LeaseDurationSeconds, &out.LeaseDurationSeconds
    		*out = new(int32)
    		**out = **in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  4. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/interface.go

    	// interval to expire before attempting to reacquire. This value is set to empty when
    	// a client voluntarily steps down.
    	HolderIdentity string `json:"holderIdentity"`
    	// HolderKey is the Key of the lease owner. This may be empty if a key is not set.
    	HolderKey            string      `json:"holderKey"`
    	LeaseDurationSeconds int         `json:"leaseDurationSeconds"`
    	AcquireTime          metav1.Time `json:"acquireTime"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/coordination/v1/zz_generated.deepcopy.go

    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *LeaseSpec) DeepCopyInto(out *LeaseSpec) {
    	*out = *in
    	if in.HolderIdentity != nil {
    		in, out := &in.HolderIdentity, &out.HolderIdentity
    		*out = new(string)
    		**out = **in
    	}
    	if in.LeaseDurationSeconds != nil {
    		in, out := &in.LeaseDurationSeconds, &out.LeaseDurationSeconds
    		*out = new(int32)
    		**out = **in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  6. pkg/apis/coordination/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_LeaseSpec_To_coordination_LeaseSpec(in *v1beta1.LeaseSpec, out *coordination.LeaseSpec, s conversion.Scope) error {
    	out.HolderIdentity = (*string)(unsafe.Pointer(in.HolderIdentity))
    	out.LeaseDurationSeconds = (*int32)(unsafe.Pointer(in.LeaseDurationSeconds))
    	out.AcquireTime = (*v1.MicroTime)(unsafe.Pointer(in.AcquireTime))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/coordination/v1beta1/zz_generated.deepcopy.go

    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *LeaseSpec) DeepCopyInto(out *LeaseSpec) {
    	*out = *in
    	if in.HolderIdentity != nil {
    		in, out := &in.HolderIdentity, &out.HolderIdentity
    		*out = new(string)
    		**out = **in
    	}
    	if in.LeaseDurationSeconds != nil {
    		in, out := &in.LeaseDurationSeconds, &out.LeaseDurationSeconds
    		*out = new(int32)
    		**out = **in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/coordination.k8s.io.v1.Lease.yaml

        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      acquireTime: "2003-01-01T01:01:01.000003Z"
      holderIdentity: holderIdentityValue
      leaseDurationSeconds: 2
      leaseTransitions: 5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. pkg/apis/coordination/types.go

    	// spec contains the specification of the Lease.
    	// +optional
    	Spec LeaseSpec
    }
    
    // LeaseSpec is a specification of a Lease.
    type LeaseSpec struct {
    	// holderIdentity contains the identity of the holder of a current lease.
    	// +optional
    	HolderIdentity *string
    	// leaseDurationSeconds is a duration that candidates for a lease need
    	// to wait to force acquire it. This is measure against time of last
    	// observed renewTime.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 16:45:58 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. pilot/pkg/leaderelection/k8sleaderelection/leaderelection.go

    func (le *LeaderElector) GetLeader() string {
    	return le.getObservedRecord().HolderIdentity
    }
    
    // IsLeader returns true if the last observed leader was this client else returns false.
    func (le *LeaderElector) IsLeader() bool {
    	return le.getObservedRecord().HolderIdentity == le.config.Lock.Identity()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top