Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for ObjectReference (0.19 sec)

  1. pkg/controller/tainteviction/taint_eviction_test.go

    			Name:      "test",
    			Namespace: "test",
    		})
    		want := []*corev1.Event{
    			{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: "test",
    				},
    				InvolvedObject: corev1.ObjectReference{
    					Kind:       "Pod",
    					APIVersion: "v1",
    					Namespace:  "test",
    					Name:       "test",
    				},
    				Reason:  "TaintManagerEviction",
    				Type:    "Normal",
    				Count:   1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_generator_test.go

    			volumePluginMgr, fakePlugin := volumetesting.GetTestKubeletVolumePluginMgr(t)
    			test.pv.Spec.ClaimRef = &v1.ObjectReference{
    				Namespace: test.pvc.Namespace,
    				Name:      test.pvc.Name,
    			}
    
    			pvc := test.pvc
    			pv := test.pv
    			pod := getTestPod("test-pod", pvc.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    	pv := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: pvName,
    			UID:  "pvuid",
    		},
    		Spec: v1.PersistentVolumeSpec{
    			ClaimRef:   &v1.ObjectReference{Name: pvcName},
    			VolumeMode: &volumeMode,
    		},
    	}
    	pvc := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: pvcName,
    			UID:  "pvcuid",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. pkg/controller/cronjob/utils.go

    	if cj == nil {
    		return
    	}
    	// TODO: @alpatel the memory footprint can may be reduced here by
    	//  cj.Status.Active = append(cj.Status.Active[:indexToRemove], cj.Status.Active[indexToRemove:]...)
    	newActive := []corev1.ObjectReference{}
    	for _, j := range cj.Status.Active {
    		if j.UID != uid {
    			newActive = append(newActive, j)
    		}
    	}
    	cj.Status.Active = newActive
    }
    
    // mostRecentScheduleTime returns:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. pkg/apis/batch/v1/zz_generated.conversion.go

    }
    
    func autoConvert_v1_CronJobStatus_To_batch_CronJobStatus(in *v1.CronJobStatus, out *batch.CronJobStatus, s conversion.Scope) error {
    	out.Active = *(*[]core.ObjectReference)(unsafe.Pointer(&in.Active))
    	out.LastScheduleTime = (*metav1.Time)(unsafe.Pointer(in.LastScheduleTime))
    	out.LastSuccessfulTime = (*metav1.Time)(unsafe.Pointer(in.LastSuccessfulTime))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    	if err := verifyPV(cache, pvName, pv); err != nil {
    		t.Fatalf("failed to get PV: %v", err)
    	}
    
    	// Assume PV
    	newPV := pv.DeepCopy()
    	newPV.Spec.ClaimRef = &v1.ObjectReference{Name: "test-claim"}
    	if err := cache.Assume(newPV); err != nil {
    		t.Fatalf("failed to assume PV: %v", err)
    	}
    	if err := verifyPV(cache, pvName, newPV); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. pkg/volume/fc/fc_test.go

    			PersistentVolumeSource: v1.PersistentVolumeSource{
    				FC: &v1.FCVolumeSource{
    					TargetWWNs: []string{"some_wwn"},
    					FSType:     "ext4",
    					Lun:        &lun,
    				},
    			},
    			ClaimRef: &v1.ObjectReference{
    				Name: "claimA",
    			},
    			VolumeMode: &fs,
    		},
    	}
    
    	claim := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "claimA",
    			Namespace: "nsA",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  8. pkg/controller/garbagecollector/garbagecollector.go

    	dangling bool, owner *metav1.PartialObjectMetadata, err error) {
    
    	logger := klog.FromContext(ctx)
    	// check for recorded absent cluster-scoped parent
    	absentOwnerCacheKey := objectReference{OwnerReference: ownerReferenceCoordinates(reference)}
    	if gc.absentOwnerCache.Has(absentOwnerCacheKey) {
    		logger.V(5).Info("according to the absentOwnerCache, item's owner does not exist",
    			"item", item.identity,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/batch/v1beta1/generated.pb.go

    		`}`,
    	}, "")
    	return s
    }
    func (this *CronJobStatus) String() string {
    	if this == nil {
    		return "nil"
    	}
    	repeatedStringForActive := "[]ObjectReference{"
    	for _, f := range this.Active {
    		repeatedStringForActive += fmt.Sprintf("%v", f) + ","
    	}
    	repeatedStringForActive += "}"
    	s := strings.Join([]string{`&CronJobStatus{`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  10. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    }
    
    // managerImpl has functions that can be used to interact with the Node Shutdown Manager.
    type managerImpl struct {
    	logger       klog.Logger
    	recorder     record.EventRecorder
    	nodeRef      *v1.ObjectReference
    	probeManager prober.Manager
    
    	shutdownGracePeriodByPodPriority []kubeletconfig.ShutdownGracePeriodByPodPriority
    
    	getPods        eviction.ActivePodsFunc
    	killPodFunc    eviction.KillPodFunc
    	syncNodeStatus func()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
Back to top