Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for LastTimestamp (0.16 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Event.yaml

    involvedObject:
      apiVersion: apiVersionValue
      fieldPath: fieldPathValue
      kind: kindValue
      name: nameValue
      namespace: namespaceValue
      resourceVersion: resourceVersionValue
      uid: uidValue
    kind: Event
    lastTimestamp: "2007-01-01T01:01:01Z"
    message: messageValue
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Event.json

      },
      "reason": "reasonValue",
      "message": "messageValue",
      "source": {
        "component": "componentValue",
        "host": "hostValue"
      },
      "firstTimestamp": "2006-01-01T01:01:01Z",
      "lastTimestamp": "2007-01-01T01:01:01Z",
      "count": 8,
      "type": "typeValue",
      "eventTime": "2010-01-01T01:01:01.000010Z",
      "series": {
        "count": 1,
        "lastObservedTime": "2002-01-01T01:01:01.000002Z"
      },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/apis/core/zz_generated.deepcopy.go

    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	out.InvolvedObject = in.InvolvedObject
    	out.Source = in.Source
    	in.FirstTimestamp.DeepCopyInto(&out.FirstTimestamp)
    	in.LastTimestamp.DeepCopyInto(&out.LastTimestamp)
    	in.EventTime.DeepCopyInto(&out.EventTime)
    	if in.Series != nil {
    		in, out := &in.Series, &out.Series
    		*out = new(EventSeries)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.Related != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	out.InvolvedObject = in.InvolvedObject
    	out.Source = in.Source
    	in.FirstTimestamp.DeepCopyInto(&out.FirstTimestamp)
    	in.LastTimestamp.DeepCopyInto(&out.LastTimestamp)
    	in.EventTime.DeepCopyInto(&out.EventTime)
    	if in.Series != nil {
    		in, out := &in.Series, &out.Series
    		*out = new(EventSeries)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.Related != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
Back to top