Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPrintControllerRevision (0.58 sec)

  1. pkg/printers/internalversion/printers_test.go

    	}
    	for i := range rows {
    		rows[i].Object.Object = nil
    	}
    	if !reflect.DeepEqual(expectedRows, rows) {
    		t.Errorf("mismatch: %s", cmp.Diff(expectedRows, rows))
    	}
    }
    
    func TestPrintControllerRevision(t *testing.T) {
    	tests := []struct {
    		history  apps.ControllerRevision
    		expected []metav1.TableRow
    	}{
    		{
    			history: apps.ControllerRevision{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top