Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for allocReg (0.13 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    	return eachListItem(obj, fn, true)
    }
    
    // allocNew: Whether shallow copy is required when the elements in Object.Items are struct
    func eachListItem(obj runtime.Object, fn func(runtime.Object) error, allocNew bool) error {
    	if unstructured, ok := obj.(runtime.Unstructured); ok {
    		if allocNew {
    			return unstructured.EachListItemWithAlloc(fn)
    		}
    		return unstructured.EachListItem(fn)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top