Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for holderIdentity (0.29 sec)

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

    }
    
    // LeaseSpec is a specification of a Lease.
    type LeaseSpec struct {
    	// holderIdentity contains the identity of the holder of a current lease.
    	// +optional
    	HolderIdentity *string `json:"holderIdentity,omitempty" protobuf:"bytes,1,opt,name=holderIdentity"`
    	// 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 May 23 17:42:49 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/api/testdata/v1.30.0/coordination.k8s.io.v1beta1.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)
  4. staging/src/k8s.io/api/testdata/v1.30.0/coordination.k8s.io.v1beta1.Lease.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "holderIdentity": "holderIdentityValue",
        "leaseDurationSeconds": 2,
        "acquireTime": "2003-01-01T01:01:01.000003Z",
        "renewTime": "2004-01-01T01:01:01.000004Z",
        "leaseTransitions": 5
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/coordination.k8s.io.v1.Lease.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "holderIdentity": "holderIdentityValue",
        "leaseDurationSeconds": 2,
        "acquireTime": "2003-01-01T01:01:01.000003Z",
        "renewTime": "2004-01-01T01:01:01.000004Z",
        "leaseTransitions": 5
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. pkg/controlplane/apiserver/server.go

    			// TODO: See if we can pass ctx to the current method
    			ctx := wait.ContextForChannel(hookContext.StopCh)
    
    			leaseName := s.GenericAPIServer.APIServerID
    			holderIdentity := s.GenericAPIServer.APIServerID + "_" + string(uuid.NewUUID())
    
    			peeraddress := getPeerAddress(c.Extra.PeerAdvertiseAddress, c.Generic.PublicAddress, publicServicePort)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:24:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers.go

    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	var holderIdentity string
    	if obj.Spec.HolderIdentity != nil {
    		holderIdentity = *obj.Spec.HolderIdentity
    	}
    	row.Cells = append(row.Cells, obj.Name, holderIdentity, translateTimestampSince(obj.CreationTimestamp))
    	return []metav1.TableRow{row}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  8. plugin/pkg/admission/noderestriction/admission_test.go

    			Spec: coordination.LeaseSpec{
    				HolderIdentity:       pointer.String("mynode"),
    				LeaseDurationSeconds: pointer.Int32(40),
    				RenewTime:            &metav1.MicroTime{Time: time.Now()},
    			},
    		}
    		leaseWrongNS = &coordination.Lease{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "mynode",
    				Namespace: "foo",
    			},
    			Spec: coordination.LeaseSpec{
    				HolderIdentity:       pointer.String("mynode"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "lease1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    				Spec: coordination.LeaseSpec{
    					HolderIdentity: &holder1,
    				},
    			},
    			expected: []metav1.TableRow{{Cells: []interface{}{"lease1", "holder1", "0s"}}},
    		},
    		{
    			lease: coordination.Lease{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  10. pkg/generated/openapi/zz_generated.openapi.go

    				Description: "LeaseSpec is a specification of a Lease.",
    				Type:        []string{"object"},
    				Properties: map[string]spec.Schema{
    					"holderIdentity": {
    						SchemaProps: spec.SchemaProps{
    							Description: "holderIdentity contains the identity of the holder of a current lease.",
    							Type:        []string{"string"},
    							Format:      "",
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top