Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUpdatePodCondition (2.38 sec)

  1. pkg/api/v1/pod/util_test.go

    		assert.Equal(t, test.expectedExists, exists, "GetIndexOfContainerStatus: "+test.desc)
    		assert.Equal(t, test.expectedIndex, idx, "GetIndexOfContainerStatus: "+test.desc)
    	}
    }
    
    func TestUpdatePodCondition(t *testing.T) {
    	time := metav1.Now()
    
    	podStatus := v1.PodStatus{
    		Conditions: []v1.PodCondition{
    			{
    				Type:               v1.PodReady,
    				Status:             v1.ConditionTrue,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
Back to top