Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for JobList (0.17 sec)

  1. staging/src/k8s.io/api/batch/v1/types.go

    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    // +k8s:prerelease-lifecycle-gen:introduced=1.2
    
    // JobList is a collection of jobs.
    type JobList struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard list metadata.
    	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  2. api/openapi-spec/v3/apis__batch__v1_openapi.json

              }
            },
            "required": [
              "type",
              "status"
            ],
            "type": "object"
          },
          "io.k8s.api.batch.v1.JobList": {
            "description": "JobList is a collection of jobs.",
            "properties": {
              "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    		if !reflect.DeepEqual(test.expected, rows) {
    			t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expected, rows))
    		}
    	}
    }
    
    func TestPrintJobList(t *testing.T) {
    	completions := int32(2)
    	jobList := batch.JobList{
    		Items: []batch.Job{
    			{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "job1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    				Spec: batch.JobSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers.go

    		row.Cells = append(row.Cells, names, images, metav1.FormatLabelSelector(obj.Spec.Selector))
    	}
    	return []metav1.TableRow{row}, nil
    }
    
    func printJobList(list *batch.JobList, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    	rows := make([]metav1.TableRow, 0, len(list.Items))
    	for i := range list.Items {
    		r, err := printJob(&list.Items[i], options)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  5. api/openapi-spec/swagger.json

              "type": "string"
            }
          },
          "required": [
            "type",
            "status"
          ],
          "type": "object"
        },
        "io.k8s.api.batch.v1.JobList": {
          "description": "JobList is a collection of jobs.",
          "properties": {
            "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
  6. pkg/generated/openapi/zz_generated.openapi.go

    		"k8s.io/api/batch/v1.JobCondition":                                                                      schema_k8sio_api_batch_v1_JobCondition(ref),
    		"k8s.io/api/batch/v1.JobList":                                                                           schema_k8sio_api_batch_v1_JobList(ref),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top