Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for controllerrevisions (0.23 sec)

  1. pkg/printers/internalversion/printers_test.go

    		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{
    					Name:              "test1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers.go

    		{Name: "Controller", Type: "string", Description: "Controller of the object"},
    		{Name: "Revision", Type: "string", Description: appsv1beta1.ControllerRevision{}.SwaggerDoc()["revision"]},
    		{Name: "Age", Type: "string", Description: metav1.ObjectMeta{}.SwaggerDoc()["creationTimestamp"]},
    	}
    	_ = h.TableHandler(controllerRevisionColumnDefinition, printControllerRevision)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top