Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setTargetKind (0.16 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go

    	if copy {
    		obj = obj.DeepCopyObject()
    	}
    	setTargetKind(obj, kind)
    	return obj, nil
    }
    
    // setTargetKind sets the kind on an object, taking into account whether the target kind is the internal version.
    func setTargetKind(obj Object, kind schema.GroupVersionKind) {
    	if kind.Version == APIVersionInternal {
    		// internal is a special case
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 25.2K bytes
    - Viewed (0)
Back to top