Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wantConditions (0.09 sec)

  1. pkg/controller/disruption/disruption_test.go

    		})
    	}
    }
    
    func TestStalePodDisruption(t *testing.T) {
    	now := time.Now()
    	cases := map[string]struct {
    		pod            *v1.Pod
    		timePassed     time.Duration
    		wantConditions []v1.PodCondition
    	}{
    		"stale pod disruption": {
    			pod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "foo",
    					Namespace: metav1.NamespaceDefault,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top