Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for lastHeartbeatTime (0.2 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    				Status:             v1.ConditionTrue,
    				LastHeartbeatTime:  metav1.NewTime(fakeNow.Add(timeToPass)),
    				LastTransitionTime: fakeNow,
    			},
    		},
    	}
    	unhealthyNodeNewStatus := v1.NodeStatus{
    		Conditions: []v1.NodeCondition{
    			{
    				Type:   v1.NodeReady,
    				Status: v1.ConditionUnknown,
    				// Node status was updated by nodecontroller timeToPass ago
    				LastHeartbeatTime:  fakeNow,
    				LastTransitionTime: fakeNow,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status_test.go

    	for _, cond := range updatedNode.Status.Conditions {
    		cond.LastHeartbeatTime = cond.LastHeartbeatTime.Rfc3339Copy()
    		cond.LastTransitionTime = cond.LastTransitionTime.Rfc3339Copy()
    	}
    
    	// Expect LastHeartbeat updated, other things unchanged.
    	for i, cond := range expectedNode.Status.Conditions {
    		expectedNode.Status.Conditions[i].LastHeartbeatTime = metav1.NewTime(cond.LastHeartbeatTime.Time.Add(time.Minute)).Rfc3339Copy()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  3. pkg/apis/core/zz_generated.deepcopy.go

    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *NodeCondition) DeepCopyInto(out *NodeCondition) {
    	*out = *in
    	in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime)
    	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *NodeCondition) DeepCopyInto(out *NodeCondition) {
    	*out = *in
    	in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime)
    	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition.
    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