Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for renewTime (0.74 sec)

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

    	// +optional
    	RenewTime *metav1.MicroTime `json:"renewTime,omitempty" protobuf:"bytes,4,opt,name=renewTime"`
    	// leaseTransitions is the number of transitions of a lease between
    	// holders.
    	// +optional
    	LeaseTransitions *int32 `json:"leaseTransitions,omitempty" protobuf:"varint,5,opt,name=leaseTransitions"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    // +k8s:prerelease-lifecycle-gen:introduced=1.19
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/apiserverleasegc/gc_controller_test.go

    					},
    				},
    				Spec: coordinationv1.LeaseSpec{
    					HolderIdentity:       pointer.StringPtr("kube-apiserver-12345"),
    					LeaseDurationSeconds: pointer.Int32Ptr(10),
    					RenewTime:            &metav1.MicroTime{Time: fakeClock.Now()},
    				},
    			},
    			expectDeleted: false,
    		},
    		{
    			name: "expired lease but with a different component label",
    			lease: &coordinationv1.Lease{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 20:37:22 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/leaselock.go

    		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
    }
    
    func LeaderElectionRecordToLeaseSpec(ler *LeaderElectionRecord) coordinationv1.LeaseSpec {
    	leaseDurationSeconds := int32(ler.LeaseDurationSeconds)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jun 04 16:02:26 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/coordination/v1beta1/types.go

    	// +optional
    	RenewTime *metav1.MicroTime `json:"renewTime,omitempty" protobuf:"bytes,4,opt,name=renewTime"`
    	// leaseTransitions is the number of transitions of a lease between
    	// holders.
    	// +optional
    	LeaseTransitions *int32 `json:"leaseTransitions,omitempty" protobuf:"varint,5,opt,name=leaseTransitions"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    // +k8s:prerelease-lifecycle-gen:introduced=1.12
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 16:45:58 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasespec.go

    	return b
    }
    
    // WithRenewTime sets the RenewTime 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 RenewTime field is set to the value of the last call.
    func (b *LeaseSpecApplyConfiguration) WithRenewTime(value v1.MicroTime) *LeaseSpecApplyConfiguration {
    	b.RenewTime = &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/v1/generated.proto

      // to wait to force acquire it. This is measure against time of last
      // 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)
  7. staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/leasespec.go

    	return b
    }
    
    // WithRenewTime sets the RenewTime 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 RenewTime field is set to the value of the last call.
    func (b *LeaseSpecApplyConfiguration) WithRenewTime(value v1.MicroTime) *LeaseSpecApplyConfiguration {
    	b.RenewTime = &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)
  8. staging/src/k8s.io/api/coordination/v1beta1/types_swagger_doc_generated.go

    	"leaseDurationSeconds": "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.",
    	"acquireTime":          "acquireTime is a time when the current lease was acquired.",
    	"renewTime":            "renewTime is a time when the current holder of a lease has last updated the lease.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. pkg/apis/coordination/types.go

    	// to wait to force acquire it. This is measure against time of last
    	// observed renewTime.
    	// +optional
    	LeaseDurationSeconds *int32
    	// acquireTime is a time when the current lease was acquired.
    	// +optional
    	AcquireTime *metav1.MicroTime
    	// renewTime is a time when the current holder of a lease has last
    	// updated the lease.
    	// +optional
    	RenewTime *metav1.MicroTime
    	// leaseTransitions is the number of transitions of a lease between
    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. common-protos/k8s.io/api/coordination/v1beta1/generated.proto

      // to wait to force acquire it. This is measure against time of last
      // 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top