Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for JobList (0.12 sec)

  1. staging/src/k8s.io/api/batch/v1/generated.pb.go

    }
    
    var xxx_messageInfo_JobCondition proto.InternalMessageInfo
    
    func (m *JobList) Reset()      { *m = JobList{} }
    func (*JobList) ProtoMessage() {}
    func (*JobList) Descriptor() ([]byte, []int) {
    	return fileDescriptor_79228dc2c4001a22, []int{6}
    }
    func (m *JobList) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *JobList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 133K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top