Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PodTemplateList (0.34 sec)

  1. pkg/apis/core/zz_generated.deepcopy.go

    func (in *PodTemplateList) DeepCopy() *PodTemplateList {
    	if in == nil {
    		return nil
    	}
    	out := new(PodTemplateList)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *PodTemplateList) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *PodTemplateList) DeepCopy() *PodTemplateList {
    	if in == nil {
    		return nil
    	}
    	out := new(PodTemplateList)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *PodTemplateList) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers.go

    	row.Cells = append(row.Cells, obj.Name, names, images, labels.FormatLabels(obj.Template.Labels))
    	return []metav1.TableRow{row}, nil
    }
    
    func printPodTemplateList(list *api.PodTemplateList, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    	rows := make([]metav1.TableRow, 0, len(list.Items))
    	for i := range list.Items {
    		r, err := printPodTemplate(&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)
  4. pkg/printers/internalversion/printers_test.go

    		if !reflect.DeepEqual(test.expected, rows) {
    			t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expected, rows))
    		}
    	}
    }
    
    func TestPrintPodTemplateList(t *testing.T) {
    
    	templateList := api.PodTemplateList{
    		Items: []api.PodTemplate{
    			{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod-template-1"},
    				Template: api.PodTemplateSpec{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:   "pod-template-2",
    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