Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for printCronJobList (0.18 sec)

  1. pkg/printers/internalversion/printers.go

    		{Name: "Selector", Type: "string", Priority: 1, Description: batchv1.JobSpec{}.SwaggerDoc()["selector"]},
    	}
    	_ = h.TableHandler(cronJobColumnDefinitions, printCronJob)
    	_ = h.TableHandler(cronJobColumnDefinitions, printCronJobList)
    
    	serviceColumnDefinitions := []metav1.TableColumnDefinition{
    		{Name: "Name", Type: "string", Format: "name", Description: metav1.ObjectMeta{}.SwaggerDoc()["name"]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers_test.go

    		{Cells: []interface{}{"cronjob1", "0/5 * * * ?", "LOCAL", "False", int64(0), "0s", "0s"}},
    		{Cells: []interface{}{"cronjob2", "4/5 1 1 1 ?", "<none>", "False", int64(0), "20m", "0s"}},
    	}
    
    	rows, err := printCronJobList(&cronJobList, printers.GenerateOptions{})
    	if err != nil {
    		t.Fatalf("Error printing job list: %#v", err)
    	}
    	for i := range rows {
    		rows[i].Object.Object = nil
    	}
    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