Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for LastTimestamp (0.6 sec)

  1. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go

    			t.Fatalf("TestPluginReRegistration: desired state of world length should be 1 but it's %d", len(dswPlugins))
    		}
    		if !dswPlugins[0].Timestamp.After(lastTimestamp) {
    			t.Fatalf("TestPluginReRegistration: for plugin %s timestamp of plugin is not updated", pluginName)
    		}
    		lastTimestamp = dswPlugins[0].Timestamp
    	}
    }
    
    func TestPluginRegistrationAtKubeletStart(t *testing.T) {
    	socketDir := initTempDir(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/cmd/trace/pprof.go

    				return c
    			}
    			return cmp.Compare(a.end, b.end)
    		})
    		var lastTimestamp trace.Time
    		var n int
    		// Select only the outermost regions.
    		for _, i := range intervals {
    			if lastTimestamp <= i.start {
    				intervals[n] = i // new non-overlapping region starts.
    				lastTimestamp = i.end
    				n++
    			}
    			// Otherwise, skip because this region overlaps with a previous region.
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/events_test.go

    				ReportingInstance:   "node-xyz",
    				Action:              "Do",
    				Reason:              "Because",
    				Type:                "Normal",
    				LastTimestamp:       metav1.Time{Time: time.Unix(1505828956, 0)},
    			},
    			valid: false,
    			msg:   "non-empty lastTimestamp",
    		},
    		{
    			Event: &core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test",
    					Namespace: metav1.NamespaceSystem,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
  4. pkg/apis/events/v1/zz_generated.conversion.go

    	// WARNING: in.Source requires manual conversion: does not exist in peer-type
    	// WARNING: in.FirstTimestamp requires manual conversion: does not exist in peer-type
    	// WARNING: in.LastTimestamp requires manual conversion: does not exist in peer-type
    	// WARNING: in.Count requires manual conversion: does not exist in peer-type
    	out.Type = in.Type
    	out.EventTime = in.EventTime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  5. pkg/apis/events/v1beta1/zz_generated.conversion.go

    	// WARNING: in.Source requires manual conversion: does not exist in peer-type
    	// WARNING: in.FirstTimestamp requires manual conversion: does not exist in peer-type
    	// WARNING: in.LastTimestamp requires manual conversion: does not exist in peer-type
    	// WARNING: in.Count requires manual conversion: does not exist in peer-type
    	out.Type = in.Type
    	out.EventTime = in.EventTime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers.go

    	if obj.FirstTimestamp.IsZero() {
    		firstTimestamp = translateMicroTimestampSince(obj.EventTime)
    	}
    
    	lastTimestamp := translateTimestampSince(obj.LastTimestamp)
    	if obj.LastTimestamp.IsZero() {
    		lastTimestamp = firstTimestamp
    	}
    
    	count := obj.Count
    	if obj.Series != nil {
    		lastTimestamp = translateMicroTimestampSince(obj.Series.LastObservedTime)
    		count = obj.Series.Count
    	} else if count == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    					FieldPath: "spec.containers{foo}",
    				},
    				Reason:         "Event Reason",
    				Message:        "Message Data",
    				FirstTimestamp: metav1.Time{Time: time.Now().UTC().AddDate(0, 0, -3)},
    				LastTimestamp:  metav1.Time{Time: time.Now().UTC().AddDate(0, 0, -2)},
    				Count:          6,
    				Type:           api.EventTypeNormal,
    				ObjectMeta:     metav1.ObjectMeta{Name: "event1"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. pkg/controller/testutil/test_utils.go

    			Name:      fmt.Sprintf("%v.%x", ref.Name, t.UnixNano()),
    			Namespace: namespace,
    		},
    		InvolvedObject: clientref,
    		Reason:         reason,
    		Message:        message,
    		FirstTimestamp: t,
    		LastTimestamp:  t,
    		Count:          1,
    		Type:           eventtype,
    	}
    }
    
    // NewFakeRecorder returns a pointer to a newly constructed FakeRecorder.
    func NewFakeRecorder() *FakeRecorder {
    	return &FakeRecorder{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. pkg/controller/tainteviction/taint_eviction_test.go

    func TestPodDeletionEvent(t *testing.T) {
    	f := func(path cmp.Path) bool {
    		switch path.String() {
    		// These fields change at runtime, so ignore it
    		case "LastTimestamp", "FirstTimestamp", "ObjectMeta.Name":
    			return true
    		}
    		return false
    	}
    
    	t.Run("emitPodDeletionEvent", func(t *testing.T) {
    		controller := &Controller{}
    		recorder := testutil.NewFakeRecorder()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/zz_generated.conversion.go

    	out.Message = in.Message
    	if err := Convert_v1_EventSource_To_core_EventSource(&in.Source, &out.Source, s); err != nil {
    		return err
    	}
    	out.FirstTimestamp = in.FirstTimestamp
    	out.LastTimestamp = in.LastTimestamp
    	out.Count = in.Count
    	out.Type = in.Type
    	out.EventTime = in.EventTime
    	out.Series = (*core.EventSeries)(unsafe.Pointer(in.Series))
    	out.Action = in.Action
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
Back to top