Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,918 for lease (0.37 sec)

  1. pkg/apis/coordination/types.go

    // Lease defines a lease concept.
    type Lease struct {
    	metav1.TypeMeta
    	// +optional
    	metav1.ObjectMeta
    
    	// 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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 16:45:58 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. pkg/apis/coordination/v1beta1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*v1beta1.Lease)(nil), (*coordination.Lease)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_Lease_To_coordination_Lease(a.(*v1beta1.Lease), b.(*coordination.Lease), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*coordination.Lease)(nil), (*v1beta1.Lease)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  3. pkg/registry/coordination/lease/storage/storage.go

    		NewListFunc:               func() runtime.Object { return &coordinationapi.LeaseList{} },
    		DefaultQualifiedResource:  coordinationapi.Resource("leases"),
    		SingularQualifiedResource: coordinationapi.Resource("lease"),
    
    		CreateStrategy: lease.Strategy,
    		UpdateStrategy: lease.Strategy,
    		DeleteStrategy: lease.Strategy,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerThreadRegistry.java

         * A worker lease is also granted to the thread. The thread can release this if it needs to, but should reacquire
         * the lease prior to doing any meaningful work.
         *
         * This method is reentrant so that a thread can call this method from the given action.
         *
         * This method blocks until a worker lease is available.
         */
        <T> T runAsWorkerThread(Factory<T> action);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/coordination/v1beta1/types.go

    // Lease defines a lease concept.
    type Lease struct {
    	metav1.TypeMeta `json:",inline"`
    	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// spec contains the specification of the Lease.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 16:45:58 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. pkg/apis/coordination/validation/validation_test.go

    	"k8s.io/kubernetes/pkg/apis/coordination"
    )
    
    func TestValidateLease(t *testing.T) {
    	lease := &coordination.Lease{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "invalidName++",
    			Namespace: "==invalid_Namespace==",
    		},
    	}
    	errs := ValidateLease(lease)
    	if len(errs) != 2 {
    		t.Errorf("unexpected list of errors: %#v", errs.ToAggregate().Error())
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 02 02:22:52 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/coordination/v1beta1/generated.proto

    option go_package = "k8s.io/api/coordination/v1beta1";
    
    // Lease defines a lease concept.
    message Lease {
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // spec contains the specification of the Lease.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/coordination/v1beta1/generated.proto

    option go_package = "k8s.io/api/coordination/v1beta1";
    
    // Lease defines a lease concept.
    message Lease {
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // spec contains the specification of the Lease.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. pkg/apis/coordination/v1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*v1.Lease)(nil), (*coordination.Lease)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_Lease_To_coordination_Lease(a.(*v1.Lease), b.(*coordination.Lease), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*coordination.Lease)(nil), (*v1.Lease)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/coordination/v1/zz_generated.deepcopy.go

    func (in *Lease) DeepCopyInto(out *Lease) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lease.
    func (in *Lease) DeepCopy() *Lease {
    	if in == nil {
    		return nil
    	}
    	out := new(Lease)
    	in.DeepCopyInto(out)
    	return out
    }
    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